From 20302b5598f4881c6de13478521bf78b663f5b75 Mon Sep 17 00:00:00 2001 From: Michael Tremer Date: Thu, 21 Mar 2024 16:51:39 +0100 Subject: [PATCH] firewall: Split OpenVPN INPUT chains for RW & N2N Signed-off-by: Michael Tremer --- src/initscripts/system/firewall | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/src/initscripts/system/firewall b/src/initscripts/system/firewall index 0d5bb0061..1e58c497f 100644 --- a/src/initscripts/system/firewall +++ b/src/initscripts/system/firewall @@ -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 -- 2.39.5