]> git.llucax.com Git - software/pymin.git/blobdiff - pymin/services/firewall/templates/iptables.sh
Move Device and Address to services.util and add ppp peer IPs.
[software/pymin.git] / pymin / services / firewall / templates / iptables.sh
index bb67d9a58b0b8993a12761f6e2815f0a1113ae56..80f4a323995ffe7eb9331a0e35bfed4b5e1656ce 100644 (file)
@@ -15,6 +15,10 @@ def optional(switch, value):
 
 /usr/sbin/iptables -t filter -F
 
+/usr/sbin/iptables -t filter -P INPUT ACCEPT
+/usr/sbin/iptables -t filter -P OUTPUT ACCEPT
+/usr/sbin/iptables -t filter -P FORWARD ACCEPT
+
 % for (index, rule) in enumerate(rules):
 /usr/sbin/iptables -t filter \
     -I ${rule.chain|s} ${index+1|s} \