Set up hydra VPN
This commit is contained in:
parent
5b5c0c174b
commit
1bcfcb26b8
2 changed files with 32 additions and 0 deletions
|
@ -81,4 +81,21 @@ in
|
|||
size = 32768;
|
||||
}
|
||||
];
|
||||
|
||||
|
||||
networking.wireguard.interfaces."hydra" = {
|
||||
ips = [ "fcde:ad::1/64" ];
|
||||
listenPort = 51235;
|
||||
|
||||
privateKeyFile = "/var/lib/wireguard/hydra";
|
||||
|
||||
peers = [
|
||||
{
|
||||
publicKey = "KzL+PKlv4LktIqqTqC9Esw8dkSZN2qSn/vq76UHbOlY=";
|
||||
allowedIPs = [ "fcde:ad::2/128" ];
|
||||
endpoint = "surgat.dadada.li:51235";
|
||||
persistentKeepalive = 25;
|
||||
}
|
||||
];
|
||||
};
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue