1
0

Correct port and open firewall

This commit is contained in:
clerie 2020-12-26 10:17:31 +01:00
parent 93a35d021b
commit ea5739ae2a

View File

@ -73,12 +73,14 @@
publicKey = "k1eQINwZPRdIEhND5sKAcHMxEpz/Z+B/2ZCdLhHCG3w="; publicKey = "k1eQINwZPRdIEhND5sKAcHMxEpz/Z+B/2ZCdLhHCG3w=";
} }
]; ];
listenPort = 51020; listenPort = 51820;
allowedIPsAsRoutes = false; allowedIPsAsRoutes = false;
privateKeyFile = "/var/src/secrets/wireguard/wg-vpn"; privateKeyFile = "/var/src/secrets/wireguard/wg-vpn";
}; };
}; };
networking.firewall.allowedUDPPorts = [ 51820 ];
clerie.nginx-port-forward = { clerie.nginx-port-forward = {
enable = true; enable = true;
tcpPorts."443" = { tcpPorts."443" = {