From 643ae6cce39e37a787b9ee15c39f956ef2097edc Mon Sep 17 00:00:00 2001 From: Adithya Nair Date: Wed, 17 Jul 2024 11:05:14 +0530 Subject: [PATCH] layne: configure rpc-host-whitelist for transmission --- hosts/layne/services/apps/transmission.nix | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/hosts/layne/services/apps/transmission.nix b/hosts/layne/services/apps/transmission.nix index 8993fb0..bf0536f 100644 --- a/hosts/layne/services/apps/transmission.nix +++ b/hosts/layne/services/apps/transmission.nix @@ -3,7 +3,7 @@ caddy = { virtualHosts."transmission.labs.adtya.xyz" = { extraConfig = '' - reverse_proxy 10.10.10.14:9091 + reverse_proxy 127.0.0.1:9091 tls /persist/secrets/caddy/certs/transmission.crt /persist/secrets/caddy/certs/transmission.key ''; }; @@ -20,13 +20,12 @@ "--no-portmap" "--dht" "--lpd" - "--allowed" - "127.0.0.1,10.10.10.*" ]; settings = { peer-port = 51515; - rpc-bind-address = "10.10.10.14"; + rpc-bind-address = "127.0.0.1"; rpc-port = 9091; + rpc-host-whitelist = "transmission.labs.adtya.xyz"; watch-dir-enabled = true; }; };