SSL proxy

From LQWiki
Jump to navigation Jump to search

Let's say your university has a campus network, and some websites are only available from within that network. Unfortunately you don't live on the campus, but you'd like to browse those sites.

While you could start up the browser and tunnel it through the SSL connection, that would be very slow and painful. Instead what you want to do is just forward all your browsers connections, through the ssl pipe so that they appear on the campus network. This is done using SSL tunneling to the campus proxy. The command to establish the tunnel is:

ssh username@sslserver.university.edu -L 8080:wwwproxy.university.edu:80

Then you need to change your local browsers proxy setting to using the host:localhost and the port 8080.