More small changes to formatting and such

This commit is contained in:
Jimbo 2024-10-15 17:10:40 -04:00
parent c3bc3a56f7
commit 25a3a7e237
6 changed files with 25 additions and 28 deletions

View file

@ -9,8 +9,6 @@
in {
firewall = {
allowPing = false;
# 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} } tcp dport { 1935, 1945 } accept comment "Accept RTMP"
@ -42,6 +40,7 @@
ip saddr ${outputs.secrets.cornIP} tcp dport { 9943, 9944 } dnat to ${outputs.ips.vm} comment "VM ALVR TCP"
ip saddr ${outputs.secrets.cornIP} udp dport { 9943, 9944 } dnat to ${outputs.ips.vm} comment "VM ALVR UDP"
}
chain POSTROUTING {
type nat hook postrouting priority 100; policy accept;
oifname "${outputs.ips.netInt}" masquerade