Update IPs again
This commit is contained in:
parent
38e027581e
commit
1ca7770cf8
2 changed files with 1 additions and 2 deletions
|
@ -2,7 +2,7 @@
|
|||
{
|
||||
networking = {
|
||||
firewall.extraInputRules = ''
|
||||
ip saddr { ${config.ips.localSpan}.0/24, 10.100.0.0/24 } tcp dport 2049 accept comment "Accept NFS"
|
||||
ip saddr { 10.1.0.0/24, 10.2.0.0/24, 10.100.0.0/24 } tcp dport 2049 accept comment "Accept NFS"
|
||||
ip saddr { ${config.ips.pc}, ${config.secrets.ips.luna}, ${config.secrets.ips.corn} } tcp dport { 1935, 1945 } accept comment "Accept RTMP"
|
||||
'';
|
||||
|
||||
|
|
|
@ -5,7 +5,6 @@
|
|||
};
|
||||
|
||||
config.ips = rec {
|
||||
localSpan = "10.1.0";
|
||||
server = "10.2.0.1";
|
||||
pc = "10.2.0.100";
|
||||
vm = "10.2.0.101";
|
||||
|
|
Loading…
Add table
Reference in a new issue