As Telkom Speedy internet connection getting worse day by day and didnâ€™t show any sign of getting better. I remember an article I read some time ago about using remote server as a proxy server.
On my previous blog post â€œSpeedy Slow Internet Connectionâ€ Iâ€™m using my universityâ€™s server to connect to RevTIâ€™s server which is located in United States or international network. So Iâ€™m thinking to use my universityâ€™s server as a proxy to connect to international websites via SSH tunneling.
Here is how I setup a SSH tunneling using Putty:
1. First you need Putty to make SSH connection, you can download Putty here.
2. Run Putty and insert the server hostname you want to connect to on Host Name field.
3. On left menu, scroll down and click on â€œTunnelsâ€. Add new port by filling the port number on â€œSource Portâ€ field. Leave the â€œDestinationâ€ field empty and select â€œDynamicâ€ and â€œAutoâ€ radio button.
I insert 8383 for the “Source Port” number, when you click “Add” button you will see “D8383” on “Forwarder Ports” lists
4. Go back to â€œSessionâ€ menu and press â€œSaveâ€ button to save the session settings
5. Click on â€œOpenâ€ button to open the connection to the server, you will be asked for supplying username and password to login.
6. Next step is to configure your browser â€“ FireFox in my case â€“ so it will connect trough SSH tunneling we make on previous steps. Go to menu â€œTools > Options > Advancedâ€ select â€œNetworkâ€ tab and click on â€œSettingsâ€ button.
7. Select â€œManual proxy configuration:â€ and on â€œSOCKS Hostâ€ field insert â€œ127.0.0.1â€ which means localhost or pointing to your own computer. On port field insert the number you supply on step 3 â€œSource Portâ€ and then select â€œSOCKS v5â€ radio button and click OK button.
8. Finish, now you are browsing through SSH tunneling via your selected server or computer.
Itâ€™s not always a server, you can use your home computer also (if you have 24 hours internet connection at your home). This trick could be useful if you are using public connection such as HotSpot on malls because your data transfers are secured via SSH as mentioned in this blog.