“How to use SSH tunnel to access the campus network”版本间的差异

来自cslt Wiki
跳转至: 导航搜索
第11行: 第11行:
 
'''How to: '''
 
'''How to: '''
  
The only need is an account in a SSH server within the Tsinghua campus net.  
+
* The only need is an account in a SSH server within the Tsinghua campus net. CSLT fellows please use 166.111.134.19.  
CSLT fellows please use 166.111.134.19. Following the instructions given by http://www.yuexuan.org/?p=1000,  
+
* Following the instructions given by http://www.yuexuan.org/?p=1000, setup an SSH tunnel using putty with dynamic port, and then connect to our server  
setup a tunnel using putty and connect to our server, and then setup the browser to use the local machine (127.0.0.1) as the socket5 proxy,
+
* Setup the browser to use the local machine (127.0.0.1) as the socket5 proxy. Set the port as the number that you choose when setting the SSH tunnel.
you can access the resources that are only available at Tsinghua.
+

2015年6月3日 (三) 15:58的版本

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, and then connect to our server
  • Setup the browser to use the local machine (127.0.0.1) as the socket5 proxy. Set the port as the number that you choose when setting the SSH tunnel.