Uncomplicated Firewall. Frontend for
iptables
aiming to make configuration of a firewall easier. More information: https://wiki.ubuntu.com/UncomplicatedFirewall.
ufw enable
ufw disable
ufw status numbered
ufw allow 5432 comment "Service"
ufw allow proto tcp from 192.168.0.4 to any port 22
ufw deny 80
ufw deny proto udp from any to any port 8412:8500
ufw status numbered
command:ufw delete rule_number