1
Fork 0

expose a few more gluetun ports idfk

This commit is contained in:
prescientmoon 2024-06-11 11:09:24 +02:00
parent 6b4bf19f5c
commit e6b9763b2b
Signed by: prescientmoon
SSH key fingerprint: SHA256:UUF9JT2s8Xfyv76b8ZuVL7XrmimH4o49p4b+iexbVH4

View file

@ -43,7 +43,11 @@ in
"--device=/dev/net/tun" "--device=/dev/net/tun"
"--sysctl=net.ipv4.conf.all.forwarding=1" "--sysctl=net.ipv4.conf.all.forwarding=1"
]; ];
ports = [ "${toString port}:${toString port}" ]; ports = [
"${toString port}:${toString port}"
"6881:6881"
"6881:6881/udp"
];
environmentFiles = [ config.sops.secrets.vpn_env.path ]; environmentFiles = [ config.sops.secrets.vpn_env.path ];
environment = { environment = {