Ubuntu

Ubuntu – ufw

ufw allow from a specified ip on all pots:

ufw allow from IPADDRESS

ufw list all rules with numbers:

$ sudo ufw status numbered
Status: active

     To                         Action      From
     --                         ------      ----
[ 1] Apache Full                ALLOW IN    Anywhere                  
[ 2] OpenSSH                    ALLOW IN    Anywhere                  
[ 3] Apache Full (v6)           ALLOW IN    Anywhere (v6)             
[ 4] OpenSSH (v6)               ALLOW IN    Anywhere (v6)

ufw delete rule:

$ sudo ufw delete 3
Deleting:
 allow 'Apache Full'
Proceed with operation (y|n)? y
Rule deleted (v6)
6 thoughts on “Ubuntu – ufw

Leave a Reply

Your email address will not be published.