nodeC节点上有一个HTTP服务器,监听在80端口
nodeA节点可以访问nodeB,nodeB可以访问节点nodeC,但nodeA无法直接访问nodeC.
[root@nodeB ~]# ssh -N -f -o GatewayPorts=yes -L *:8808:192.168.0.3:80 root@192.168.0.3
[root@nodeB ~]# curl http://localhost:8808/zabbix
Moved Permanently
The document has moved here.