linux security

    UFW

    ufw default deny incoming
    ufw default allow outgoing
    ufw allow SSH
    ufw limit SSH
    ufw allow "WWW Full"
    ufw allow "LMS Full"
    ufw enable
    # show active:
    ufw status numbered
    Status: active
    
         To                         Action      From
         --                         ------      ----
    [ 1] 22                         ALLOW IN    Anywhere                  
    [ 2] SSH                        ALLOW IN    Anywhere                  
    [ 3] WWW Full                   ALLOW IN    Anywhere                  
    [ 4] LMS Full                   ALLOW IN    192.168.1.0/24            
    
    This page was last modified: