add firewall rules

This commit is contained in:
baiobelfer 2025-03-19 09:09:16 +01:00
parent 1235ef5507
commit a35ef051dd

5
firewwall/__ Normal file
View File

@ -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