Infini-DESKTOP: setup with pyro datacenter VPN
TODO: Generalize
This commit is contained in:
parent
88cf6a401b
commit
1bb3120126
1 changed files with 14 additions and 0 deletions
|
@ -83,4 +83,18 @@
|
|||
|
||||
servers = { };
|
||||
};
|
||||
|
||||
networking.firewall.allowedUDPPorts = [ 51820 ];
|
||||
|
||||
networking.wg-quick.interfaces.wg0 = {
|
||||
address = [ "10.10.0.3/32" ];
|
||||
listenPort = 51820;
|
||||
privateKeyFile = "/home/infinidoge/tmp/bb-vpn.key";
|
||||
peers = [{
|
||||
publicKey = "SYpnrGvxx8l4w9c7KVRVW6GyNDr/iK+maPPMw/Ua7XY=";
|
||||
allowedIPs = [ "10.9.0.0/24" ];
|
||||
endpoint = "66.23.193.252:55555";
|
||||
persistentKeepalive = 25;
|
||||
}];
|
||||
};
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue