How to use your web server as a proxy

If you have a unix web server ( ex. Ubuntu ), you can use it as a proxy for surfing internet.

Here is the process ,

Ubuntu/Mac :

  • Open Terminal and type
    ssh -4 -D 3128 user@yourwebserver.com
  • Web server shell will popup. If it says “unable to bind spcified port, change the port number( i.e 3128 ) to something else.
  • After that in your firefox/internet explorer  proxy settings, use

    SOCKS5 Proxy :  127.0.0.1 with
    Port :  3128 ( or your specified one, while connection )

Windows

  • For windows, you need to download ssh client software “putty” or Install any bash/shell for using ssh command to connect to the server
  • After Connecting with server using putty/bash follow the same process above mentioned for ubuntu/mac os

 

Software Links :

2 thoughts on “How to use your web server as a proxy

Leave a comment