+----------------+ +-------------+ +---------------+ | PC |---> |SSH Server | ---> |Target Server | | 192.168.100.2 | | 192.168.0.5 | | 192.168.0.10 | | Port 3388 | | | | Port 3389 | +----------------+ +-------------+ +---------------+
+----------------+ +-------------+ +---------------+ | PC |---> |SSH Server | ---> |Target Server | | 192.168.100.2 | | 192.168.0.5 | | 192.168.0.10 | | | | Port 3388 | | Port 3389 | +----------------+ +-------------+ +---------------+
+----------------+ +-------------+ +---------------+ | PC |---> |SSH Server | ---> |Target Server | | 192.168.100.2 | | 192.168.0.5 | | | | port 10000 | | | | | +----------------+ +-------------+ +---------------+
PC # ssh -D 10000 user@192.168.0.5 # http_proxy=socks5://127.0.0.1:40000 yum install <package_name>