diff --git a/magpie/configuration.nix b/magpie/configuration.nix index a7c47a5..3b3b48d 100644 --- a/magpie/configuration.nix +++ b/magpie/configuration.nix @@ -366,13 +366,13 @@ # This allows the wireguard server to route your traffic to the internet and hence be like a VPN # For this to work you have to set the dnsserver IP of your router (or dnsserver of choice) in your clients - postSetup = '' - ${pkgs.nftables}/bin/nft add rule ip nat POSTROUTING oifname "eth0" ip saddr 10.100.0.0/24 counter masquerade - ''; + #postSetup = '' + # ${pkgs.nftables}/bin/nft add rule ip nat POSTROUTING oifname "eth0" ip saddr 10.100.0.0/24 counter masquerade + #''; # This undoes the above command, TODO fix command below to be more specific - postShutdown = '' - ${pkgs.nftables}/bin/nft flush table ip nat - ''; + #postShutdown = '' + # ${pkgs.nftables}/bin/nft flush table ip nat + #''; privateKeyFile = config.sops.secrets."wg_privkey".path; peers = [