mirror of
https://github.com/thelittlerocket/pve.git
synced 2025-02-01 02:29:01 +08:00
Update install_pve.sh
This commit is contained in:
parent
5a94ebcb6c
commit
40fa921918
1 changed files with 1 additions and 7 deletions
|
@ -678,13 +678,7 @@ systemctl daemon-reload
|
||||||
systemctl enable check-dns.service
|
systemctl enable check-dns.service
|
||||||
systemctl start check-dns.service
|
systemctl start check-dns.service
|
||||||
# 清除防火墙
|
# 清除防火墙
|
||||||
iptables -F
|
install_package ufw
|
||||||
iptables -X
|
|
||||||
iptables -Z
|
|
||||||
# 接受所有流量
|
|
||||||
iptables -P INPUT ACCEPT
|
|
||||||
iptables -P FORWARD ACCEPT
|
|
||||||
iptables -P OUTPUT ACCEPT
|
|
||||||
ufw disable
|
ufw disable
|
||||||
# 打印安装后的信息
|
# 打印安装后的信息
|
||||||
url="https://${main_ipv4}:8006/"
|
url="https://${main_ipv4}:8006/"
|
||||||
|
|
Loading…
Reference in a new issue