Skip to the content.

ssh 内网穿透

使用示例

代理远程服务器的 3306 端口到本地 3307

ssh -fNTCL '*':3307:127.0.0.1:3306 user@remoteHost

代理本地的 8888 端口到远程的 8889 端口

ssh -NTCR 127.0.0.1:8889:'*':8888 user@remoteHost