Allow nfs on local and vlan networks
This commit is contained in:
parent
912fe5d454
commit
7019fb5679
1 changed files with 1 additions and 1 deletions
|
@ -4,6 +4,6 @@
|
|||
|
||||
config = lib.mkIf config.services.nfs.server.enable {
|
||||
services.nfs.server.exports = "/storage *(rw,sync,no_subtree_check)";
|
||||
networking.firewall.extraInputRules = "ip saddr { 11.0.0.0/8, ${config.secrets.ips.bun} } tcp dport 2049 accept";
|
||||
networking.firewall.extraInputRules = "ip saddr { 10.0.0.0/8, 11.0.0.0/8, ${config.secrets.ips.bun} } tcp dport 2049 accept";
|
||||
};
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue