Change Wireguard port to UDP 53

This commit is contained in:
coolneng 2020-09-28 16:51:54 +02:00
parent e4b3ea1418
commit 25c570d26f
Signed by: coolneng
GPG Key ID: 9893DA236405AF57
1 changed files with 2 additions and 2 deletions

View File

@ -37,7 +37,7 @@ in {
443 443
]; ];
allowedUDPPorts = [ allowedUDPPorts = [
1194 # Wireguard 53 # Wireguard
]; ];
autoLoadConntrackHelpers = true; autoLoadConntrackHelpers = true;
connectionTrackingModules = [ "sane" ]; connectionTrackingModules = [ "sane" ];
@ -60,7 +60,7 @@ in {
networking.wireguard.interfaces = { networking.wireguard.interfaces = {
wg0 = { wg0 = {
ips = [ "10.8.0.1/24" ]; ips = [ "10.8.0.1/24" ];
listenPort = 1194; listenPort = 53;
privateKeyFile = "/home/coolneng/.wg/keys/privatekey"; privateKeyFile = "/home/coolneng/.wg/keys/privatekey";
peers = [ peers = [
# Panacea # Panacea