fix(remote): FRP 端口改为 2222,SSH 保留 22

VPS 布局: SSH=22, FRP=2222
解决之前 SSH 和 FRP 端口冲突导致的连接问题
This commit is contained in:
dongsheng123132
2026-03-19 13:24:18 +08:00
parent 7103ea5e88
commit 244bfacbbc
2 changed files with 2 additions and 2 deletions

View File

@@ -160,7 +160,7 @@ $SESSION_ID = (Get-Date -Format "HHmm")
$frpcConfig = @" $frpcConfig = @"
serverAddr = "101.32.254.221" serverAddr = "101.32.254.221"
serverPort = 22 serverPort = 2222
auth.method = "token" auth.method = "token"
auth.token = "uclaw-remote-2026" auth.token = "uclaw-remote-2026"

View File

@@ -241,7 +241,7 @@ SESSION_ID=$(date +%s | tail -c 5)
cat > "$FRP_DIR/frpc.toml" << EOF cat > "$FRP_DIR/frpc.toml" << EOF
serverAddr = "101.32.254.221" serverAddr = "101.32.254.221"
serverPort = 22 serverPort = 2222
auth.method = "token" auth.method = "token"
auth.token = "uclaw-remote-2026" auth.token = "uclaw-remote-2026"