From fe6fac64e990c5de23ffac5c717532ecd409a969 Mon Sep 17 00:00:00 2001 From: eooce <142894633+eooce@users.noreply.github.com> Date: Mon, 8 Jan 2024 01:16:00 +0800 Subject: [PATCH] Update ssh_tool.sh --- ssh_tool.sh | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/ssh_tool.sh b/ssh_tool.sh index d5c268ba..bc2f2dc3 100644 --- a/ssh_tool.sh +++ b/ssh_tool.sh @@ -4811,8 +4811,10 @@ EOF # 提示输入订阅端口 read -p "请输入节点订阅端口: " port + sudo ufw allow $port/tcp ipv4=$(curl -s4 ifconfig.co) - echo "你的节点订阅链接为:http://$ipv4:$port" + echo "你的节点订阅链接为:http://$ipv4:$port" + # 提示输入节点名称 read -p "请输入节点名称: " name