From 8cabbf223d6db2f9b41d140ae1d762f4bfa9be72 Mon Sep 17 00:00:00 2001 From: spiritLHLS <103393591+spiritLHLS@users.noreply.github.com> Date: Mon, 10 Apr 2023 14:28:03 +0800 Subject: [PATCH] Update build_nat_network.sh --- build_nat_network.sh | 1 - 1 file changed, 1 deletion(-) diff --git a/build_nat_network.sh b/build_nat_network.sh index cd0b0c9..25d45e1 100644 --- a/build_nat_network.sh +++ b/build_nat_network.sh @@ -59,7 +59,6 @@ if ! command -v iptables &> /dev/null; then green "iptables 未安装,正在安装..." apt-get install -y iptables fi -iptables -t nat -A POSTROUTING -o eth0 -j SNAT --to ${IPV4} # 重启配置 service networking restart