From 8f0a4142ad6e8233499d029c37be536ee200919d Mon Sep 17 00:00:00 2001 From: spiritlhl <103393591+spiritLHLS@users.noreply.github.com> Date: Sun, 2 Jul 2023 21:52:55 +0800 Subject: [PATCH] Update install_pve.sh --- scripts/install_pve.sh | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/scripts/install_pve.sh b/scripts/install_pve.sh index c215e19..defbdf2 100644 --- a/scripts/install_pve.sh +++ b/scripts/install_pve.sh @@ -677,6 +677,14 @@ chmod +x /etc/systemd/system/check-dns.service systemctl daemon-reload systemctl enable check-dns.service systemctl start check-dns.service +# 清除防火墙 +iptables -F +iptables -X +iptables -Z +# 接受所有流量 +iptables -P INPUT ACCEPT +iptables -P FORWARD ACCEPT +iptables -P OUTPUT ACCEPT # 打印安装后的信息 url="https://${main_ipv4}:8006/" _green "Installation complete, please open HTTPS web page $url"