From bd40e586a2a776d00b9d81b0d19be648b89a16f0 Mon Sep 17 00:00:00 2001 From: glen Date: Sun, 9 May 2021 07:56:35 -0400 Subject: [PATCH] last test --- installers/common.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/installers/common.sh b/installers/common.sh index d6b4ec9..6e340f5 100644 --- a/installers/common.sh +++ b/installers/common.sh @@ -145,7 +145,7 @@ function configure_exit() { sed -i 's#\#ifaddr=#ifaddr=172.16.0.1/16#g' /var/lib/lokinet/lokinet.ini sed -i 's#\#paths=6#paths=8#g' /var/lib/lokinet/lokinet.ini sed -i 's#\#net.ipv4.ip_forward=1#net.ipv4.ip_forward = 1#g' /etc/sysctl.conf - if grep "172.16.0.1" /etc/iptables/rules.v4 > /dev/null; then + if grep 172.16.0.1 /etc/iptables/rules.v4 > /dev/null; then echo -n "iptables entry already exists" else iptables -t nat -A POSTROUTING -s 172.16.0.1/16 -o eth0 -j MASQUERADE