From c2edd633cf20a648daf1747b44f3dce86e803d6f Mon Sep 17 00:00:00 2001 From: Jimbo Date: Thu, 12 Sep 2024 23:15:40 -0400 Subject: [PATCH] Finally figure out this damn thing --- nixos/server/firewall.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/nixos/server/firewall.nix b/nixos/server/firewall.nix index f7a3478..7ea651c 100644 --- a/nixos/server/firewall.nix +++ b/nixos/server/firewall.nix @@ -44,7 +44,7 @@ chain POSTROUTING { type nat hook postrouting priority 100; policy accept; oifname "${ips.netInt}" masquerade - ip saddr ${ips.wgSpan}.0/24 oifname "${ips.netInt}" masquerade comment "WireGuard" + iifname "${ips.netInt}" oifname "${ips.wgInt}" masquerade comment "Traffic from public to WireGuard" } ''; };