I have tried many proxy methods such as D switch on SSH,web based proxies,VPN and all the methods are slow than average browsing because encryption etc.
But I have tried setting up squid to test and I have experienced it gives that same speed like without any proxy. ( also you need to have a good VPS or dedi to get the speed)
And now I dont need to consider going back to no proxy because squid delivers content to my PC as fast as no proxy.
So here is my guide to setup squid on ubuntu or debian vps for you. You can even run it on 64MB RAM VPS but needs good connection to get no-proxy speeds from it!
What you will need-
* A VPS or dedicated server with minimum ram of 64MB (64MB of ram will be enough because squid doesn’t eat much ram)
* Debian or Ubuntu installed on your server
* NANO text editor installed on your server ( run “apt-get install nano” to install it if you dont have it already)
Install squid on your ubuntu or debian server, issue this command over SSH
apt-get install squid
Then squid is successfully installed and you need to setup squid to access internet because its currently set only for localhost
squid’s config file is huge so we need to find some lines using nano on squid config file.
Issue this commands to open squid config file with NANO text editor.
squid config Setup Squid as a HTTP proxy to browse blocked web sites!
On there we need to add 2 lines to configure this for our personal use.
You can add then on top of the page. those 2 lines are
http_access allow all
http_access allow localnet
Here is the squid.conf file after adding that 2 lines
squid modified conf Setup Squid as a HTTP proxy to browse blocked web sites!
So that’s it on server side. Restart squid to load our configuration.
Like I said previously on this guide I’m not focused on setting up security for squid like adding ACL (Access Control Lists) to prevent other users using your proxy etc.
But this is 1000 times better than setting up a php web based proxy to browse the web.
While server side setup complete we need to setup our web browsers to use our proxy. I think you are probably using firefox to browse the web so here is the configuration for firefox for other programs you can use the same.
On firefox navigate to Tools=>Options=>Advanced=>Network=>Settings=>Manual Proxy Configuration
On that page enter your IP address that squid is installed and port as 3128 because we didn’t changed the default squid port. Also click the checkbox “Use this proxy server for all protocols”
firefox settings Setup Squid as a HTTP proxy to browse blocked web sites!
Thats it! icon smile Setup Squid as a HTTP proxy to browse blocked web sites!
* We didn’t setup Access Control Lists so any one who knows your squid server ip address and port can use your proxy.
* When choosing a server for setting up squid for your use try to get a server which gives lowest ping times for your location which will help you to browse more fast.
Here is the link for original post! - http://www.ruchirablog.com/setup-squ...ked-web-sites/