diff options
author | Kjetil Orbekk <kj@orbekk.com> | 2022-05-31 06:07:43 -0400 |
---|---|---|
committer | Kjetil Orbekk <kj@orbekk.com> | 2022-05-31 06:07:43 -0400 |
commit | 088518a080a8c839cb3daae26cc6aee4ef37a797 (patch) | |
tree | 7fff605ed29edca27d42cd679ee87efd5acc6407 /config | |
parent | 69eae73fda6266ab8ede6c5442c0749f93690e70 (diff) |
Update vpn config
Diffstat (limited to 'config')
-rw-r--r-- | config/vpn-client.nix | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/config/vpn-client.nix b/config/vpn-client.nix index 5c10239..9b493e8 100644 --- a/config/vpn-client.nix +++ b/config/vpn-client.nix @@ -7,16 +7,16 @@ in interfaces = { wg0 = { ips = [ "10.35.190.2/23" ]; - privateKeyFile = "/opt/secret/wireguard/wg0.key"; - listenPort = port; - allowedIPsAsRoutes = false; - peers = [ - { - publicKey = "KT4sWKnlvPebJh0pYhGpiZksn4cCwKreB6fQCJV49F8="; - endpoint = "dragon.orbekk.com:${toString port}"; - allowedIPs = ["0.0.0.0/0" "::/0"]; - } - ]; + privateKeyFile = "/opt/secret/wireguard/wg0.key"; + listenPort = port; + allowedIPsAsRoutes = false; + peers = [ + { + publicKey = "KT4sWKnlvPebJh0pYhGpiZksn4cCwKreB6fQCJV49F8="; + endpoint = "dragon.orbekk.com:${toString port}"; + allowedIPs = ["0.0.0.0/0" "::/0"]; + } + ]; }; }; }; |