Net-firewall/ufw

From CosmicMod
Jump to: navigation, search

KERNEL ip v4 settings [*] Networking support --->

       Networking options  --->
           [*] Network packet filtering framework (Netfilter)  --->
               Core Netfilter Configuration  --->
                   <M>   NetBIOS name service protocol support

IP version 6 is not required, however it is highly recommended.

KERNEL ip v6 settings [*] Networking support --->

       Networking options  --->
           [*] Network packet filtering framework (Netfilter)  --->
               IPv6: Netfilter Configuration  --->
                   <M>   "rt" Routing header match support
                   <M>   "HL" hoplimit target support

ufw allow ssh

rc-update add ufw default

rc-service ufw start

ufw default deny

ufw allow from 192.168.0.0/24

ufw enable