From 8389fc4ebbf500f87497f077599db4fb772a4df7 Mon Sep 17 00:00:00 2001 From: necro-nemesis Date: Fri, 27 Sep 2019 19:20:32 -0400 Subject: [PATCH] change order of purging iptables. --- installers/common.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/installers/common.sh b/installers/common.sh index cdd94f6..7071094 100755 --- a/installers/common.sh +++ b/installers/common.sh @@ -215,13 +215,13 @@ function network_tables() { else install_log "Use nftables" sudo apt-get -y install nftables - sudo apt-get -y purge iptables #nft flush ruleset #nft add table nat #nft add chain nat postrouting { type nat hook postrouting priority 100 \; } #nft add rule ip nat postrouting oifname "lokitun0" ip saddr 10.3.141.0/24 counter masquerade #nft add rule ip nat postrouting counter masquerade #nft -s list ruleset > /etc/nftables.conf + sudo apt-get -y purge iptables sudo systemctl enable nftables.service fi }