ssh 内网穿透
服务器ssh 配置 vi /etc/ssh/sshd_config
GatewayPorts yes
客户端
ssh -Nf -R 2222:127.0.0.1:22 root@123.123.123.123
将127.0.0.1机器的22端口 映射到123.123.123.123机器的2222端口
服务器ssh 配置 vi /etc/ssh/sshd_config
GatewayPorts yes
客户端
ssh -Nf -R 2222:127.0.0.1:22 root@123.123.123.123
将127.0.0.1机器的22端口 映射到123.123.123.123机器的2222端口