ufw

Comment 2 for bug 513387

Revision history for this message
Emmanuel Bailleul (emmanuel-bailleul) wrote :

OK. For example : on an existing installation (built from source) :

1. Disable firewall :
   #ufw disable
2. Flush all iptables rules :
   #/lib/ufw/ufw-init flush-all
3. Enable firewall :
   #ufw enable
4. Check INPUT chain :
   #iptables -L INPUT -n

Chain INPUT (policy DROP)
target prot opt source destination
ufw-before-logging-input all -- 0.0.0.0/0 0.0.0.0/0
ufw-before-input all -- 0.0.0.0/0 0.0.0.0/0
ufw-after-input all -- 0.0.0.0/0 0.0.0.0/0
ufw-reject-input all -- 0.0.0.0/0 0.0.0.0/0
ufw-track-input all -- 0.0.0.0/0 0.0.0.0/0