update firewall & ports

This commit is contained in:
Leon Vita 2022-08-28 00:43:10 +01:00
parent a456d25708
commit 42987faacd
1 changed files with 3 additions and 3 deletions

View File

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