]> git.ipfire.org Git - ipfire-2.x.git/commitdiff
firewall: Create a chain that permits outbound traffic for local services
authorMichael Tremer <michael.tremer@ipfire.org>
Mon, 23 Mar 2026 10:22:18 +0000 (10:22 +0000)
committerMichael Tremer <michael.tremer@ipfire.org>
Mon, 23 Mar 2026 10:22:18 +0000 (10:22 +0000)
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
src/initscripts/system/firewall

index 45b4bd56af048a60877f4ecd738455a547c03b39..7cfae8aad1ab7728ffd3db6b439d900821aa1ef1 100644 (file)
@@ -340,6 +340,10 @@ iptables_init() {
        iptables -N OVPNINPUTN2N
        iptables -A INPUT -j OVPNINPUTN2N
 
+       # Local Services
+       iptables -N LOCAL_OUTPUT
+       iptables -A OUTPUT -j LOCAL_OUTPUT
+
        # Tor (outbound)
        iptables -N TOR_OUTPUT
        iptables -A OUTPUT -j TOR_OUTPUT