====== Tunneling for security ====== For a comprehensive guide to ssh tunneling please check out [[http://www.oreillynet.com/pub/a/wireless/2001/02/23/wep.html| Using SSH Tunneling]]. ===== Setting Up The Tunnel ===== ==== Through Putty ==== * Open up [[http://www.compsoc.nuigalway.ie/links/downloads/files/putty.exe|Putty]]. * Specify the host as 'riviera.nuigalway.ie' and the port as '22' as shown below. {{how_to:session.png|}} * In the left menu, go to Connection->SSH->Tunnels. * Create the new local tunnel as below and click 'Add': {{how_to:tunneling.png|}} * 'Click Open' and log into your Compsoc account as normal. ==== Through the Terminal ==== * Use ssh to connect to the server and specify the local port, host and hostport . For example: $ssh @riviera.nuigalway.ie -L 3022:proxy.nuigalway.ie:8080 * You will be prompted for your Compsoc password. ===== Setting Up the Browser ===== * Open up your browser ([[http://portableapps.com/apps/internet/firefox_portable|firefox portable]] will work on your U:/ drive) and go to Options->Advanced->Network->Settings if using Firefox on Windows or Edit->Preferences->Advanced->Network->Settings if you are using Firefox on Linux. * Add the manual proxy details as below: {{:how_to:manual_proxy_firefox.png|Firefox NUIG Proxy Settings}} * Load the page you are trying to browse such as http://www.google.ie/ . Viola!