Changes between Version 1 and Version 2 of NspwUprouse/Agenda/ufw


Ignore:
Timestamp:
Sep 6, 2021, 8:15:17 PM (3 years ago)
Author:
admin
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • NspwUprouse/Agenda/ufw

    v1 v2  
    9494Now add the following rules. Note that you have to give them in the given sequence.
    9595{{{
    96 #ufw allow proto tcp from < IP of Your host machine >/32 to any port 22
     96#ufw allow proto tcp from < IPv4 of Your host machine >/32 to any port 22
    9797Rule added
     98#ufw allow proto tcp from < IPv6 of Your host machine >/128 to any port 22
     99Rule added (v6)
    98100}}}
    99101This rule is explained as you are allowing all TCP packets coming from your host machine to port 22(SSH port)
     
    114116--                         ------      ----
    115117OpenSSH                    DENY        Anywhere
    116 22/tcp                     ALLOW       <Your host IP address>/32
     11822/tcp                     ALLOW       <Your host IP address>
    117119OpenSSH (v6)               DENY       Anywhere (v6)
     12022/tcp                     ALLOW       <Your host IPv6 address>
    118121}}}
    119122