mirror of
https://github.com/thelittlerocket/pve.git
synced 2025-02-01 10:38:22 +08:00
Update build_nat_network.sh
This commit is contained in:
parent
768ad8360a
commit
8cabbf223d
1 changed files with 0 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue