Access outside from behind firewall using socks5

来自cslt Wiki
跳转至: 导航搜索

host-A: computer that can access freely host-B: computer behind firewall

All the following are in host-B:

1. create ssh tunnel with dynamic proxy: ssh -D <port> host-A

2. create tsocks config file: ~/.tsocks.conf

server = 127.0.0.1 server_port = <port>

3. export TSOCKS_CONF_FILE=~/.tsocks.conf

4. tsocks yum install