From ec50b96b0a5466ae9e1a64b02b38d9986c4f75ae Mon Sep 17 00:00:00 2001 From: kat witch Date: Fri, 20 Nov 2020 23:03:45 +0000 Subject: [PATCH] Added RPC bind address and whitelist. May change some things when I have the energy. --- configuration/hosts/samhain/configuration.nix | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/configuration/hosts/samhain/configuration.nix b/configuration/hosts/samhain/configuration.nix index 5564ac9d..4d35fad6 100644 --- a/configuration/hosts/samhain/configuration.nix +++ b/configuration/hosts/samhain/configuration.nix @@ -24,7 +24,13 @@ networking.firewall.allowedTCPPorts = [ 445 139 9091 ]; networking.firewall.allowedUDPPorts = [ 137 138 ]; - services.transmission.enable = true; + services.transmission = { + enable = true; + settings = { + rpc-bind-address = "0.0.0.0"; + rpc-whitelist = "127.0.0.1,192.168.1.*"; + }; + }; services.samba = { enable = true;