Add 10.* IP range to accessibleFrom & transmission RPC whitelist
This commit is contained in:
@@ -276,6 +276,7 @@ in {
|
|||||||
};
|
};
|
||||||
accessibleFrom = [
|
accessibleFrom = [
|
||||||
"192.168.1.0/24"
|
"192.168.1.0/24"
|
||||||
|
"10.0.0.0/8"
|
||||||
"127.0.0.1"
|
"127.0.0.1"
|
||||||
];
|
];
|
||||||
wireguardConfigFile = cfg.vpn.wgConf;
|
wireguardConfigFile = cfg.vpn.wgConf;
|
||||||
|
|||||||
@@ -335,7 +335,7 @@ in {
|
|||||||
rpc-port = cfg.uiPort;
|
rpc-port = cfg.uiPort;
|
||||||
rpc-whitelist-enabled = true;
|
rpc-whitelist-enabled = true;
|
||||||
rpc-whitelist = strings.concatStringsSep "," ([
|
rpc-whitelist = strings.concatStringsSep "," ([
|
||||||
"127.0.0.1,192.168.*" # Defaults
|
"127.0.0.1,192.168.*,10.*" # Defaults
|
||||||
] ++ cfg.extraAllowedIps);
|
] ++ cfg.extraAllowedIps);
|
||||||
rpc-authentication-required = false;
|
rpc-authentication-required = false;
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user