Change Wireguard port to 1194
This commit is contained in:
parent
e1e33ec6e9
commit
c2ff03241d
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue