forked from mirrors_public/oddlama_nix-config
feat: allow services from home net
This commit is contained in:
parent
37bf3d0db7
commit
23e21f4145
7 changed files with 29 additions and 13 deletions
|
@ -179,8 +179,10 @@ 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.vlans.services.cidrv4} ${globals.net.home-lan.vlans.services.cidrv6}";
|
||||
"hosts allow" = lib.concatStringsSep " " [
|
||||
globals.net.home-lan.vlans.home.cidrv4
|
||||
globals.net.home-lan.vlans.home.cidrv6
|
||||
];
|
||||
# Don't advertise inaccessible shares to users
|
||||
"access based share enum" = "yes";
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue