Remove redundant IP storage

This commit is contained in:
Jimbo 2024-09-30 23:15:15 -04:00
parent e97169c246
commit 01362f145f
3 changed files with 1 additions and 2 deletions

View file

@ -69,5 +69,4 @@
jimIP2 = "";
lunaIP = "";
cornIP = "";
vertIP = "";
}

Binary file not shown.

View file

@ -12,7 +12,7 @@
# Add extra input rules using nftables
extraInputRules = ''
ip saddr { ${outputs.ips.localSpan}.0/24, ${outputs.ips.wgSpan}.0/24 } tcp dport 2049 accept comment "Accept NFS"
ip saddr { ${outputs.ips.pc}, ${outputs.secrets.lunaIP}, ${outputs.secrets.cornIP}, ${outputs.secrets.vertIP} } tcp dport { 1935, 1945 } accept comment "Accept RTMP"
ip saddr { ${outputs.ips.pc}, ${outputs.secrets.lunaIP}, ${outputs.secrets.cornIP} } tcp dport { 1935, 1945 } accept comment "Accept RTMP"
ip saddr ${outputs.ips.wgSpan}.3 tcp dport ${mailPorts} accept comment "Accept mail"
'';
};