I added the rule yesterday and today I have to remove it. In order to do that I run "ufw status" and get:
********************
$ sudo ufw status
Status: active
To Action From
-- ------ ----
10.10.10.10 8080 REJECT Anywhere
********************
After that I start to think how to build command line to delete that rule and it takes a couple of minute.
If we able to use "ufw list" command we just run "ufw list" and get:
ufw reject out to 10.10.10.10 port 8080
... and add "delete" to the line
ufw delete reject out to 10.10.10.10 port 8080
... DONE!
Yes, sure I can.
I added the rule yesterday and today I have to remove it. In order to do that I run "ufw status" and get: ******* ******
*******
$ sudo ufw status
Status: active
To Action From ******* ******
-- ------ ----
10.10.10.10 8080 REJECT Anywhere
*******
After that I start to think how to build command line to delete that rule and it takes a couple of minute.
If we able to use "ufw list" command we just run "ufw list" and get:
ufw reject out to 10.10.10.10 port 8080
... and add "delete" to the line
ufw delete reject out to 10.10.10.10 port 8080
... DONE!