Remove bridged network setup

This commit is contained in:
Sonny Bakker 2024-03-08 08:05:49 +01:00
parent 1d4bb97fcf
commit 7a57636bdb
8 changed files with 65 additions and 135 deletions

View file

@ -27,9 +27,6 @@ table inet filter {
# syncthing
ip saddr 10.0.0.1 tcp dport 22000 accept
# allow dhcp requests for bridged connections
iifname "vmbr0" udp dport { 53, 67 } accept
}
chain forward {
@ -38,9 +35,6 @@ table inet filter {
ct state { established, related } accept;
mark 1 accept
iifname "vmbr0" oifname "wlan0" accept
iifname "wlan0" oifname "vmbr0" accept
}
}
@ -49,18 +43,3 @@ table ip filter {
mark set 1
}
}
table ip nat {
chain prerouting {
type nat hook prerouting priority 0; policy accept;
# iifname "wlan0" tcp dport { http } dnat to 10.4.0.243
}
chain postrouting {
type nat hook postrouting priority 0; policy accept;
oifname "wlan0" masquerade
}
}