]> git.ipfire.org Git - people/ms/ipfire-2.x.git/commitdiff
firewall: Split OpenVPN INPUT chains for RW & N2N
authorMichael Tremer <michael.tremer@ipfire.org>
Thu, 21 Mar 2024 15:51:39 +0000 (16:51 +0100)
committerMichael Tremer <michael.tremer@ipfire.org>
Mon, 2 Jun 2025 19:45:52 +0000 (19:45 +0000)
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
src/initscripts/system/firewall

index 0d5bb0061514428aa2a428e89a223f2acabeb9ca..1e58c497fa88c5b6e4cc7660494732dbaabd6169 100644 (file)
@@ -332,9 +332,13 @@ iptables_init() {
        iptables -N WGINPUT
        iptables -A INPUT -j WGINPUT
 
-       # OpenVPN
-       iptables -N OVPNINPUT
-       iptables -A INPUT -j OVPNINPUT
+       # OpenVPN Roadwarrior
+       iptables -N OVPNINPUTRW
+       iptables -A INPUT -j OVPNINPUTRW
+
+       # OpenVPN N2N
+       iptables -N OVPNINPUTN2N
+       iptables -A INPUT -j OVPNINPUTN2N
 
        # Tor (outbound)
        iptables -N TOR_OUTPUT