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