mirror of
https://github.com/foo-dogsquared/nixos-config.git
synced 2025-04-16 12:19:10 +00:00
hosts/plover: fix Wireguard firewall settings
This commit is contained in:
parent
482e90efaa
commit
36e2a817ae
@ -36,7 +36,7 @@ in
|
||||
|
||||
chain postrouting {
|
||||
type nat hook postrouting priority srcnat; policy accept;
|
||||
iifname ${wireguardIFName} snat to ip ${interfaces.lan.IPv4.address} comment "Make packets from Wireguard interface appear as coming from the LAN interface"
|
||||
iifname ${wireguardIFName} snat to ${interfaces.lan.IPv4.address} comment "Make packets from Wireguard interface appear as coming from the LAN interface"
|
||||
}
|
||||
}
|
||||
'';
|
||||
|
Loading…
Reference in New Issue
Block a user