mirror of
https://github.com/thelittlerocket/pve.git
synced 2025-01-31 18:18:28 +08:00
Update install_pve.sh
This commit is contained in:
parent
d570e6333b
commit
8f0a4142ad
1 changed files with 8 additions and 0 deletions
|
@ -677,6 +677,14 @@ chmod +x /etc/systemd/system/check-dns.service
|
||||||
systemctl daemon-reload
|
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
|
||||||
|
iptables -X
|
||||||
|
iptables -Z
|
||||||
|
# 接受所有流量
|
||||||
|
iptables -P INPUT ACCEPT
|
||||||
|
iptables -P FORWARD ACCEPT
|
||||||
|
iptables -P OUTPUT ACCEPT
|
||||||
# 打印安装后的信息
|
# 打印安装后的信息
|
||||||
url="https://${main_ipv4}:8006/"
|
url="https://${main_ipv4}:8006/"
|
||||||
_green "Installation complete, please open HTTPS web page $url"
|
_green "Installation complete, please open HTTPS web page $url"
|
||||||
|
|
Loading…
Reference in a new issue