“How to use SSH tunnel to access the campus network”版本间的差异
来自cslt Wiki
(以“'''Goal:''' Access the resources in the Tsinghua campus net, e.g., IEEE database. '''Theory:''' SSH provides a proxy function that enables connection of any TCP-...”为内容创建页面) |
|||
(相同用户的2个中间修订版本未显示) | |||
第11行: | 第11行: | ||
'''How to: ''' | '''How to: ''' | ||
− | The only need is an account in a SSH server within the Tsinghua campus net. CSLT fellows please use 166.111.134.19. Following the instructions given by http://www.yuexuan.org/?p=1000, setup | + | * The only need is an account in a SSH server within the Tsinghua campus net. CSLT fellows please use 166.111.134.19. |
+ | * Following the instructions given by http://www.yuexuan.org/?p=1000, setup an SSH tunnel using putty with dynamic port, denoted by <port>, and then connect to our server | ||
+ | * If you are using cygwin or a linux client, simple ssh -D <port> 166.111.134.19 | ||
+ | * Setup the browser to use the local machine (127.0.0.1) as the socket5 proxy. Set the port as the number <port> that you choose when setting the SSH tunnel. |
2015年6月3日 (三) 16:00的最后版本
Goal:
Access the resources in the Tsinghua campus net, e.g., IEEE database.
Theory:
SSH provides a proxy function that enables connection of any TCP-based applications to be forwarded in or outside of a subnet. For more information:
http://www.yuexuan.org/?p=1000
How to:
- The only need is an account in a SSH server within the Tsinghua campus net. CSLT fellows please use 166.111.134.19.
- Following the instructions given by http://www.yuexuan.org/?p=1000, setup an SSH tunnel using putty with dynamic port, denoted by <port>, and then connect to our server
- If you are using cygwin or a linux client, simple ssh -D <port> 166.111.134.19
- Setup the browser to use the local machine (127.0.0.1) as the socket5 proxy. Set the port as the number <port> that you choose when setting the SSH tunnel.