forked from mirrors_public/oddlama_nix-config
feat: finish vlan setup
This commit is contained in:
parent
d0448757bf
commit
297d19fa0c
16 changed files with 115 additions and 100 deletions
|
@ -148,9 +148,9 @@ in
|
|||
};
|
||||
|
||||
globals.monitoring.tcp.samba = {
|
||||
host = globals.net.home-lan.hosts.sire-samba.ipv4;
|
||||
host = globals.net.home-lan.vlans.services.hosts.sire-samba.ipv4;
|
||||
port = 445;
|
||||
network = "home-lan";
|
||||
network = "home-lan.vlans.services";
|
||||
};
|
||||
|
||||
services.samba = {
|
||||
|
@ -179,7 +179,8 @@ in
|
|||
# Deny access to all hosts by default.
|
||||
"hosts deny" = "0.0.0.0/0";
|
||||
# Allow access to local network and TODO: wireguard
|
||||
"hosts allow" = "${globals.net.home-lan.cidrv4} ${globals.net.home-lan.cidrv6}";
|
||||
"hosts allow" =
|
||||
"${globals.net.home-lan.vlans.services.cidrv4} ${globals.net.home-lan.vlans.services.cidrv6}";
|
||||
# Don't advertise inaccessible shares to users
|
||||
"access based share enum" = "yes";
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue