From e6473b373b4b83174f580baf605fd020c2185506 Mon Sep 17 00:00:00 2001 From: necro-nemesis Date: Sun, 15 Sep 2019 18:21:01 -0400 Subject: [PATCH] change function. --- installers/common.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/installers/common.sh b/installers/common.sh index 7202387..4e9be66 100755 --- a/installers/common.sh +++ b/installers/common.sh @@ -200,7 +200,7 @@ function network_tables() { install_log "Use iptables" tablerouteA='iptables -t nat -A POSTROUTING -s 10.3.141.0\/24 -o lokitun0 -j MASQUERADE #RASPAP' tablerouteB='iptables -t nat -A POSTROUTING -j MASQUERADE #RASPAP' - fi + else install_log "Use nftables" sudo apt-get -y install nftables tablerouteA='nft add rule ip nat POSTROUTING oifname "lokitun0" ip saddr 10.3.141.0\/24 counter masquerade #RASPAP'