Fix iptables rule

This commit is contained in:
Zuma 2025-11-06 21:22:42 +01:00
parent 2bb68820c5
commit 127fc040a5

View file

@ -190,11 +190,11 @@
extraCommands = '' extraCommands = ''
# Allow other nodes on VPN to access all ports # Allow other nodes on VPN to access all ports
iptables -A INPUT -s 19720 -j ACCEPT iptables -A INPUT -s 10.0.0.0/16 -j ACCEPT
''; '';
extraStopCommands = '' extraStopCommands = ''
iptables -D INPUT -s 19720 -j ACCEPT iptables -D INPUT -s 10.0.0.0/16 -j ACCEPT
''; '';
}; };
# Garbage collection to remove old NixOs iterations # Garbage collection to remove old NixOs iterations