Change mail-1 wireguard port as it is already used for STS setup
This commit is contained in:
parent
a30fd6d361
commit
f67a75b07d
|
@ -1,4 +1,4 @@
|
|||
{ ... }:
|
||||
{ hosts, ... }:
|
||||
{
|
||||
boot.loader.grub = {
|
||||
enable = true;
|
||||
|
@ -47,7 +47,7 @@
|
|||
name = "valkyrie";
|
||||
publicKey = "ik480irMZtGBs1AFpf1KGzDBekjdziD3ck7XK8r1WXQ=";
|
||||
presharedKeyFile = "/secrets/wireguard-valkyrie-mail-1-mail-1-psk.secret";
|
||||
endpoint = "212.53.203.19:51821";
|
||||
endpoint = "212.53.203.19:51822";
|
||||
allowedIPs = [ "0.0.0.0/0" ];
|
||||
persistentKeepalive = 25;
|
||||
}
|
||||
|
|
|
@ -8,7 +8,7 @@
|
|||
firewall = {
|
||||
enable = true;
|
||||
allowedTCPPorts = [ 80 443 ];
|
||||
allowedUDPPorts = [ 51820 51821 51827 51828 ];
|
||||
allowedUDPPorts = [ 51820 51821 51822 51827 51828 ];
|
||||
};
|
||||
wireguard = {
|
||||
enable = true;
|
||||
|
@ -46,7 +46,7 @@
|
|||
};
|
||||
# mail-1 VPN
|
||||
wg1 = {
|
||||
listenPort = 51821;
|
||||
listenPort = 51822;
|
||||
ips = [
|
||||
"172.16.50.1/24"
|
||||
];
|
||||
|
|
Loading…
Reference in a new issue