UFW - Uncomplicated Firewall
-
a few commands to understand ufw and get a few ideas for rules.
ufw status ufw allow 22 ufw allow 22/tcp ufw status verbose ufw allow from 10.0.0.192 to any port 22 ufw allow from 10.0.0.192 to 10.0.0.191 port 22 ufw status numbered ufw delete 1 ufw delete allow 22 ufw delete ufw allow from 10.0.0.192 to 10.0.0.191 port 22 ufw allow from 10.0.0.0/24 to any port 22 ufw allow from 10.0.0.0/24 ufw deny from 10.0.0.37 #### Firewalls normaly process rules in order on a first match basis ufw delete deny from 10.0.0.37 ufw insert 1 deny from 10.0.0.37 ufw deny out on enp6s0 to 8.8.8.8 ufw allow in on enp6s0 from any to 10.0.0.191 port 80,443 proto tcp