Ver Fonte

fix: 修正安全代理端口转发配置,确保正确转发到安全代理

zhch158_admin há 2 meses atrás
pai
commit
d8377a2347
1 ficheiros alterados com 1 adições e 1 exclusões
  1. 1 1
      zhch/secure_tunnel.py

+ 1 - 1
zhch/secure_tunnel.py

@@ -188,7 +188,7 @@ class SecureTunnel:
             '-o', 'ServerAliveInterval=30',
             '-o', 'ServerAliveCountMax=3',
             '-L', f"{config['local_forward_port']}:localhost:{config['remote_service_port']}",
-            '-R', f"7280:localhost:{config['secure_proxy_port']}",  # 转发到安全代理
+            '-R', f"7281:localhost:{config['secure_proxy_port']}",  # 转发到安全代理
             '-N',
             f"{config['remote_user']}@{config['remote_host']}"
         ]