fix: nas handling
This commit is contained in:
@@ -49,7 +49,7 @@
|
|||||||
|
|
||||||
./modules/firefox-sync.nix
|
./modules/firefox-sync.nix
|
||||||
./modules/fivefilters.nix
|
./modules/fivefilters.nix
|
||||||
./modules/pyload
|
# ./modules/pyload
|
||||||
|
|
||||||
# home assistant
|
# home assistant
|
||||||
./modules/home-assistant
|
./modules/home-assistant
|
||||||
|
|||||||
@@ -73,6 +73,7 @@
|
|||||||
"02:00:00:00:00:04,${config.networkPrefix}.97.6,matrix"
|
"02:00:00:00:00:04,${config.networkPrefix}.97.6,matrix"
|
||||||
"ea:db:d4:c1:18:ba,${config.networkPrefix}.97.50,git"
|
"ea:db:d4:c1:18:ba,${config.networkPrefix}.97.50,git"
|
||||||
"c2:4f:64:dd:13:0c,${config.networkPrefix}.97.20,home-assistant"
|
"c2:4f:64:dd:13:0c,${config.networkPrefix}.97.20,home-assistant"
|
||||||
|
"6c:1f:f7:8e:a9:86,${config.networkPrefix}.97.11,nas"
|
||||||
"1a:c4:04:6e:29:02,${config.networkPrefix}.101.25,deconz"
|
"1a:c4:04:6e:29:02,${config.networkPrefix}.101.25,deconz"
|
||||||
|
|
||||||
"c4:a7:2b:c7:ea:30,${config.networkPrefix}.99.10,metz"
|
"c4:a7:2b:c7:ea:30,${config.networkPrefix}.99.10,metz"
|
||||||
|
|||||||
@@ -41,6 +41,7 @@
|
|||||||
# Restrict to internal LAN only
|
# Restrict to internal LAN only
|
||||||
extraConfig = ''
|
extraConfig = ''
|
||||||
allow ${config.networkPrefix}.96.0/24;
|
allow ${config.networkPrefix}.96.0/24;
|
||||||
|
allow ${config.networkPrefix}.97.0/24;
|
||||||
allow ${config.networkPrefix}.98.0/24;
|
allow ${config.networkPrefix}.98.0/24;
|
||||||
deny all;
|
deny all;
|
||||||
'';
|
'';
|
||||||
@@ -59,6 +60,7 @@
|
|||||||
# Restrict to internal LAN only
|
# Restrict to internal LAN only
|
||||||
extraConfig = ''
|
extraConfig = ''
|
||||||
allow ${config.networkPrefix}.96.0/24;
|
allow ${config.networkPrefix}.96.0/24;
|
||||||
|
allow ${config.networkPrefix}.97.0/24;
|
||||||
allow ${config.networkPrefix}.98.0/24;
|
allow ${config.networkPrefix}.98.0/24;
|
||||||
allow ${config.networkPrefix}.99.0/24;
|
allow ${config.networkPrefix}.99.0/24;
|
||||||
deny all;
|
deny all;
|
||||||
|
|||||||
Reference in New Issue
Block a user