From 1dc8bdc3e3c66c31d9e8d723952222dccfb96589 Mon Sep 17 00:00:00 2001 From: leonvita91 Date: Thu, 25 Aug 2022 22:42:33 +0100 Subject: [PATCH] add new-vpn-interface-without-internet --- hosts/leon/default.nix | 2 -- 1 file changed, 2 deletions(-) diff --git a/hosts/leon/default.nix b/hosts/leon/default.nix index cac85e40..ac94dadd 100644 --- a/hosts/leon/default.nix +++ b/hosts/leon/default.nix @@ -141,8 +141,6 @@ networking.wireguard.interfaces = { #VPN Port. listenPort = 8900; - # 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 #----------------------Start-Routing---------------------------- #postSetup = '' # ${pkgs.iptables}/bin/iptables -t nat -A POSTROUTING -s 10.10.100.1/24 -o serv -j MASQUERADE