Skip to content

ufw

Please check iptables.md

List applications

ufw app list

Show status

ufw status

Allow SSH from IP

ufw allow from 109.167.172.220 proto tcp to any port 22

Allow HTTP

ufw allow proto tcp from any to any port 80,443

Allow IPsec

ufw allow proto udp from any to any port 500,4500

Enable ufw

ufw enable