User Tools

Site Tools


networking:firewall:ufw

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
networking:firewall:ufw [2022/07/28 13:42]
gcooper
networking:firewall:ufw [2022/07/28 13:44]
gcooper
Line 19: Line 19:
 ufw --force enable ufw --force enable
  
-ufw status+ufw status numbered
 </file> </file>
  
Line 60: Line 60:
 -A DOCKER-USER -i eth0 --match multiport -p tcp --dports 80,443,22115:22119 -j ACCEPT -A DOCKER-USER -i eth0 --match multiport -p tcp --dports 80,443,22115:22119 -j ACCEPT
 -A DOCKER-USER -i eth0 --match multiport -p udp --dports 22116 -j ACCEPT -A DOCKER-USER -i eth0 --match multiport -p udp --dports 22116 -j ACCEPT
--A DOCKER-USER -i eth0 --match multiport -p tcp --dports 81,9443 --source 192.168.1.0/24,10.0.0.0/24,192.168.20.0/24 -j ACCEPT+-A DOCKER-USER -i eth0 --match multiport -p tcp --dports 81,9443 --source 192.168.1.0/24,10.0.0.0/24 -j ACCEPT
 -A DOCKER-USER -i eth0 -m conntrack --ctstate NEW -j LOG --log-prefix "DOCKER-USER_DROP " -A DOCKER-USER -i eth0 -m conntrack --ctstate NEW -j LOG --log-prefix "DOCKER-USER_DROP "
 -A DOCKER-USER -i eth0 -m conntrack --ctstate NEW -j DROP -A DOCKER-USER -i eth0 -m conntrack --ctstate NEW -j DROP
networking/firewall/ufw.txt · Last modified: 2022/07/28 13:44 by gcooper