Correct port and open firewall
This commit is contained in:
parent
93a35d021b
commit
ea5739ae2a
@ -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" = {
|
||||||
|
Loading…
Reference in New Issue
Block a user