From a35ef051dd6a643a9f80f8eb1b7bf55d942729ec Mon Sep 17 00:00:00 2001 From: baiobelfer Date: Wed, 19 Mar 2025 09:09:16 +0100 Subject: [PATCH] add firewall rules --- firewwall/__ | 5 +++++ 1 file changed, 5 insertions(+) create mode 100644 firewwall/__ diff --git a/firewwall/__ b/firewwall/__ new file mode 100644 index 0000000..d53fff3 --- /dev/null +++ b/firewwall/__ @@ -0,0 +1,5 @@ +# Allow forwarding from incusbr0 to wlo1 +sudo iptables -A FORWARD -i incusbr0 -o wlo1 -j ACCEPT + +# Allow forwarding from wlo1 to incusbr0 for related and established connections +sudo iptables -A FORWARD -i wlo1 -o incusbr0 -m state --state RELATED,ESTABLISHED -j ACCEPT