add new-vpn-interface-without-internet

This commit is contained in:
Leon Vita 2022-08-25 22:42:33 +01:00
parent b93a0d2a73
commit 1dc8bdc3e3
1 changed files with 0 additions and 2 deletions

View File

@ -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