Add 10.* IP range to accessibleFrom & transmission RPC whitelist

This commit is contained in:
Joe Diragi
2024-03-23 22:33:58 -04:00
committed by Joe Diragi
parent adca89a908
commit 2fddddb810
2 changed files with 2 additions and 1 deletions
+1
View File
@@ -276,6 +276,7 @@ in {
};
accessibleFrom = [
"192.168.1.0/24"
"10.0.0.0/8"
"127.0.0.1"
];
wireguardConfigFile = cfg.vpn.wgConf;
+1 -1
View File
@@ -335,7 +335,7 @@ in {
rpc-port = cfg.uiPort;
rpc-whitelist-enabled = true;
rpc-whitelist = strings.concatStringsSep "," ([
"127.0.0.1,192.168.*" # Defaults
"127.0.0.1,192.168.*,10.*" # Defaults
] ++ cfg.extraAllowedIps);
rpc-authentication-required = false;