try only wan masquerade
This commit is contained in:
@@ -65,7 +65,7 @@
|
|||||||
|
|
||||||
# lan and vpn to any
|
# lan and vpn to any
|
||||||
# TODO: disable wan when finished
|
# TODO: disable wan when finished
|
||||||
iifname { "wan", "lan", "wg_cloonar" } oifname { "lan", "wg_cloonar", "server", "multimedia", "smart", "wrwks", "wg_epicenter", "wg_ghetto_at" } counter accept
|
iifname { "wan", "lan", "wg_cloonar" } oifname { "lan", "server", "multimedia", "smart", "wrwks", "wg_cloonar", "wg_epicenter", "wg_ghetto_at" } counter accept
|
||||||
|
|
||||||
# Allow trusted network WAN access
|
# Allow trusted network WAN access
|
||||||
iifname {
|
iifname {
|
||||||
@@ -99,7 +99,8 @@
|
|||||||
# Setup NAT masquerading on the ppp0 interface
|
# Setup NAT masquerading on the ppp0 interface
|
||||||
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
|
||||||
|
oifname { "wan" } masquerade
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
'';
|
'';
|
||||||
|
|||||||
Reference in New Issue
Block a user