Added RPC bind address and whitelist. May change some things when I have the energy.

This commit is contained in:
kat witch 2020-11-20 23:03:45 +00:00 committed by kat
parent 66ce7269cb
commit ec50b96b0a

View file

@ -24,7 +24,13 @@
networking.firewall.allowedTCPPorts = [ 445 139 9091 ]; networking.firewall.allowedTCPPorts = [ 445 139 9091 ];
networking.firewall.allowedUDPPorts = [ 137 138 ]; 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 = { services.samba = {
enable = true; enable = true;