[ Prev ] [ Index ] [ Next ]

Uncomplicated_Firewall

Created lørdag 23 september 2017


# If you, instead of setting up IPtables, rather want to be quick about it, and block everything except
# protocols inside LAN, incomming Deluges and SSH traffic, use UFW.
$ pacman -S ufw


# These commands will allow the above protocols
$ ufw default deny
$ ufw allow from 192.168.0.0/24
$ ufw allow Deluge
$ ufw allow SSH


# This command should only be run ONCE the first time you installed this package
$ ufw enable


# Then enable the service
$ systemctl enable ufw