]> git.ipfire.org Git - ipfire-2.x.git/blobdiff - src/initscripts/system/firewall
add IPtables chain for outgoing Tor traffic
[ipfire-2.x.git] / src / initscripts / system / firewall
index 2739a683432b12803b180367070019d83204a2f9..cb533cc94b12f2ee3c4368500bb7adbf20d8a490 100644 (file)
@@ -294,9 +294,11 @@ iptables_init() {
        iptables -N OVPNINPUT
        iptables -A INPUT -j OVPNINPUT
 
-       # Tor
+       # Tor (inbound and outbound)
        iptables -N TOR_INPUT
        iptables -A INPUT -j TOR_INPUT
+       iptables -N TOR_OUTPUT
+       iptables -A OUTPUT -j TOR_OUTPUT
        
        # Jump into the actual firewall ruleset.
        iptables -N INPUTFW