From 42987faacd9a061c9f3d1601043c1166e9af1e05 Mon Sep 17 00:00:00 2001 From: leonvita91 Date: Sun, 28 Aug 2022 00:43:10 +0100 Subject: [PATCH] update firewall & ports --- hosts/leon/default.nix | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/hosts/leon/default.nix b/hosts/leon/default.nix index 7118e597..7da24cdc 100644 --- a/hosts/leon/default.nix +++ b/hosts/leon/default.nix @@ -134,7 +134,7 @@ in networking.firewall = { allowedTCPPorts = [ 5000 22 53 80 8080 ]; - allowedUDPPorts = [ 5000 22 53 80 8080 19800]; + allowedUDPPorts = [ 5000 22 53 80 8080 18900 19900 ]; }; @@ -157,7 +157,7 @@ in ips = [ "10.10.11.1/24" ]; #VPN Port. - listenPort = 19800; + listenPort = 18900; # 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 @@ -201,7 +201,7 @@ networking.wireguard.interfaces = { ips = [ "10.10.100.1/24" ]; #VPN Port. - listenPort = 19800; + listenPort = 19900; # Path to the private key file. # -- 2.42.0