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-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.