Change Wireguard port to 1194

This commit is contained in:
coolneng 2020-03-05 09:01:54 +01:00
parent e1e33ec6e9
commit c2ff03241d
Signed by: coolneng
GPG Key ID: 9893DA236405AF57
1 changed files with 2 additions and 2 deletions

View File

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