Change Wireguard port to UDP 53
This commit is contained in:
parent
e4b3ea1418
commit
25c570d26f
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue