try firewall change
This commit is contained in:
@@ -177,6 +177,8 @@
|
|||||||
iifname { "wan", "lan", "vb-*", "podman0", "wg_cloonar" } oifname { "lan", "vb-*", "podman0", "infrastructure", "multimedia", "smart", "wrwks", "wg_cloonar", "wg_epicenter", "wg_ghetto_at" } counter accept
|
iifname { "wan", "lan", "vb-*", "podman0", "wg_cloonar" } oifname { "lan", "vb-*", "podman0", "infrastructure", "multimedia", "smart", "wrwks", "wg_cloonar", "wg_epicenter", "wg_ghetto_at" } counter accept
|
||||||
iifname { "infrastructure" } oifname { "podman0", "vb-omada" } counter accept
|
iifname { "infrastructure" } oifname { "podman0", "vb-omada" } counter accept
|
||||||
|
|
||||||
|
iifname { "vb-*" } oifname { "server" } counter accept comment "from internal interfaces"
|
||||||
|
|
||||||
# Allow trusted network WAN access
|
# Allow trusted network WAN access
|
||||||
iifname {
|
iifname {
|
||||||
"lan",
|
"lan",
|
||||||
@@ -197,11 +199,15 @@
|
|||||||
type nat hook prerouting priority filter; policy accept;
|
type nat hook prerouting priority filter; policy accept;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
chain post {
|
||||||
|
iifname { "vb-*" } oifname { "server" } masquerade comment "from internal interfaces"
|
||||||
|
}
|
||||||
|
|
||||||
# Setup NAT masquerading on external interfaces
|
# Setup NAT masquerading on external interfaces
|
||||||
chain postrouting {
|
chain postrouting {
|
||||||
type nat hook postrouting priority filter; policy accept;
|
type nat hook postrouting priority filter; policy accept;
|
||||||
oifname { "wan", "wrwks", "wg_epicenter", "wg_ghetto_at" } masquerade
|
oifname { "wan", "wrwks", "wg_epicenter", "wg_ghetto_at" } masquerade
|
||||||
# iifname { "vb-*" } oifname { "server" } masquerade comment "from internal interfaces"
|
iifname { "vb-*" } oifname { "server" } masquerade comment "from internal interfaces"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
'';
|
'';
|
||||||
|
|||||||
Reference in New Issue
Block a user