fix(remote): FRP 端口改为 2222,SSH 保留 22
VPS 布局: SSH=22, FRP=2222 解决之前 SSH 和 FRP 端口冲突导致的连接问题
This commit is contained in:
@@ -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"
|
||||||
|
|
||||||
|
|||||||
@@ -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"
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user