Merge pull request #23 from TheNightmanCodeth/classA-ip-webUI-fix

Add class A IPs to `accessibleFrom`
This commit is contained in:
Rasmus Kirk
2024-03-24 20:34:50 +00:00
committed by GitHub
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;