diff --git a/hosts/dumpyourvms/networking.nix b/hosts/dumpyourvms/networking.nix index f1739d41..14962556 100644 --- a/hosts/dumpyourvms/networking.nix +++ b/hosts/dumpyourvms/networking.nix @@ -8,13 +8,13 @@ wireguard.enable = true; wg-quick.interfaces = { wg0 = { - address = [ "5.0.0.6/32" ]; + address = [ "10.8.8.6/32" ]; privateKeyFile = "/etc/wireguard/wg0.privatekey"; peers = [ { publicKey = "l0DJLicCrcrixNP6zAWTXNSEaNM2jML253BXEZ1KpiU="; - allowedIPs = [ "5.0.0.16/32" "10.0.0.0/24" "10.88.88.0/24" ]; + allowedIPs = [ "10.8.8.16/32" "10.0.0.0/24" "10.88.88.0/24" ]; endpoint = "85.88.23.16:51820"; persistentKeepalive = 25; } @@ -48,5 +48,19 @@ } ]; }; + wg3 = { + address = [ "10.11.11.2/32" ]; + privateKeyFile = "/etc/wireguard/wg3.privatekey"; + + peers = [ + { + publicKey = "7RRgfZSneqAtAHBeI6+aaYLqz9e1jikg/lIK8mhW928="; + presharedKeyFile = "/etc/wireguard/wg3.presharedkey"; + allowedIPs = [ "10.11.11.1/32" "192.168.1.0/24" "10.0.1.0/24" ]; + endpoint = "94.186.235.148:51820"; + persistentKeepalive = 16; + } + ]; + }; }; }