From e6b9763b2b9d4b7c75b8d51f3db2639576e8ffc9 Mon Sep 17 00:00:00 2001 From: prescientmoon Date: Tue, 11 Jun 2024 11:09:24 +0200 Subject: [PATCH] expose a few more gluetun ports idfk --- hosts/nixos/lapetus/services/qbittorrent.nix | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/hosts/nixos/lapetus/services/qbittorrent.nix b/hosts/nixos/lapetus/services/qbittorrent.nix index c948f77..031da80 100644 --- a/hosts/nixos/lapetus/services/qbittorrent.nix +++ b/hosts/nixos/lapetus/services/qbittorrent.nix @@ -43,7 +43,11 @@ in "--device=/dev/net/tun" "--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 ]; environment = {