services: transmission: use openFirewall setting
This commit is contained in:
parent
84b82a019b
commit
46df5d0642
|
@ -49,6 +49,9 @@ in
|
|||
rpc-whitelist-enabled = true;
|
||||
rpc-whitelist = "127.0.0.1";
|
||||
};
|
||||
|
||||
# automatically allow transmission.settings.peer-port
|
||||
openFirewall = true;
|
||||
};
|
||||
|
||||
services.nginx.virtualHosts."${webuiDomain}" = {
|
||||
|
@ -57,10 +60,5 @@ in
|
|||
|
||||
locations."/".proxyPass = "http://127.0.0.1:${toString transmissionRpcPort}";
|
||||
};
|
||||
|
||||
networking.firewall = {
|
||||
allowedTCPPorts = [ transmissionPeerPort ];
|
||||
allowedUDPPorts = [ transmissionPeerPort ];
|
||||
};
|
||||
};
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue