ufw only allow traffic to port 80 from 2 IP addresses code example Example: allow ip through ufw sudo ufw allow from 15.15.15.0/24 to any port 22