1
Fork 0

Maybe openvpn will work....

This commit is contained in:
prescientmoon 2024-06-01 01:19:12 +02:00
parent 834bb7dfc1
commit 82fca70a6e
Signed by: prescientmoon
SSH key fingerprint: SHA256:UUF9JT2s8Xfyv76b8ZuVL7XrmimH4o49p4b+iexbVH4
3 changed files with 6 additions and 5 deletions
hosts/nixos/lapetus/services

View file

@ -26,6 +26,7 @@ in
extraOptions = [ "--network=container:gluetun" ];
dependsOn = [ "gluetun" ];
volumes = [ "${dataDir}:/downloads" "${configDir}:/config" ];
ports = [ "${toString port}:${toString port}" ];
environment = {
WEBUI_PORT = toString port;
@ -42,10 +43,9 @@ in
"--device=/dev/net/tun"
];
ports = [ "${toString port}:${toString port}" ];
environmentFiles = [ config.sops.secrets.vpn_env.path ];
environment = {
VPN_TYPE = "wireguard";
VPN_TYPE = "openvpn";
VPN_SERVICE_PROVIDER = "mullvad";
KILL_SWITCH = "on"; # Turns off internet access if the VPN connection drops
};