feat: testing protonVPN

This commit is contained in:
Nick 2025-11-26 18:05:09 -06:00
parent d680e327d8
commit fb113fd8c7
2 changed files with 8 additions and 9 deletions

View file

@ -11,7 +11,7 @@ let
host = instances.torrent.domains.url0;
dns0 = instances.web.dns.provider0;
dns0Path = "dns/${dns0}";
torrentPort = 2049;
torrentPort = 51820;
in
{
microvm.vms.${serviceCfg.name} = {
@ -23,15 +23,14 @@ in
wg-quick.interfaces = {
wg0 = {
address = [
"172.22.116.126/32"
"fd00:4956:504e:ffff::ac16:747e/128"
"10.2.0.2/32"
];
dns = [ "172.16.0.1" ];
dns = [ "10.2.0.1" ];
privateKeyFile = "/run/secrets/wireguard-pass";
peers = [
{
publicKey = "hku9gjamhoii8OvxZgx+TdUDIkOAQYFu39qbav2AyUQ=";
endpoint = "89.187.181.116:${builtins.toString torrentPort}";
publicKey = "SFesR+3u5/vyQGeaCSREjs4m2WznwFlWAQ9CE3QSnRg=";
endpoint = "104.254.95.98:${builtins.toString torrentPort}";
allowedIPs = [
"0.0.0.0/0"
"::/0"