Results 1 to 7 of 7
-
29th Sep 2011, 09:00 AM #1
Setup Squid as a HTTP proxy to browse blocked web sites!
Have you ever worried about your government,workplace,school or ISP limitations for web sites? Are you behind Great firewall of china? are you worried about browsing speeds with overloaded or slow web proxy services?
HTTP proxies are the best solution for you. And with squid cache you can make a nice HTTP proxy for your personal or family use.
In my case I have tried SSH SOCKS5 method for access blocked sites but I feel it too slow because connection is encrypted but its so secure than HTTP proxy.
But I don?t need much security like SOCKS5 offer So I have decided to setup squid as a proxy server for my personal use. And felt that its delivering blazing fast speed as same as I?m browsing without proxies.
So now all my firefox traffic is going through HTTP Squid proxy running on UK 512MB XEN box that I had spare and I don?t thinking about going back to normal no proxy mode because speed is same as no proxy.
So here is my guide to setup squid as a proxy server on ubuntu or debian for you!
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)
Steps-
Install squid on your ubuntu or debian server, issue this command over SSH
Code: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.
Code:nano /etc/squid/squid.conf
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 allhttp_access allow localnet
Here is the squid.conf file after adding that 2 lines
So that?s it on server side. Restart squid to load our configuration.
Code:restart squid
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=>Manua l 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?
Thats it!
Note that
- 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.
Bharat Reviewed by Bharat on . Setup Squid as a HTTP proxy to browse blocked web sites! Have you ever worried about your government,workplace,school or ISP limitations for web sites? Are you behind Great firewall of china? are you worried about browsing speeds with overloaded or slow web proxy services? HTTP proxies are the best solution for you. And with squid cache you can make a nice HTTP proxy for your personal or family use. In my case I have tried SSH SOCKS5 method for access blocked sites but I feel it too slow because connection is encrypted but its so secure than Rating: 5
-
5th Oct 2011, 08:19 PM #2Banned
when i put:-
Code:start squid
Code:start: Job failed to start
-
5th Oct 2011, 08:55 PM #3BannedWebsite's:
CuraShare.Net CuraShare.Me CuraShare.Infosudo /etc/init.d/squid start
sudo /etc/init.d/squid restart
If it doesn't check the logs
-
5th Oct 2011, 11:22 PM #4MemberWebsite's:
imdber.org justpaste.meAny guide for CentOS?
I did
Code:yum install squid -y nano /etc/squid/squid.conf and inserted the 2 lines
-
8th Oct 2011, 07:19 AM #5
-
8th Oct 2011, 12:48 PM #6MemberWebsite's:
imdber.org justpaste.me^Would be looking forward to that
-
8th Oct 2011, 01:03 PM #7Banned
thanks very good post... I will try this.
Sponsored Links
Thread Information
Users Browsing this Thread
There are currently 1 users browsing this thread. (0 members and 1 guests)
Similar Threads
-
Config Squid Proxy Server?
By leafleech live in forum Server ManagementReplies: 3Last Post: 12th Nov 2011, 03:48 PM -
[VPS] VPS or Dedicated Server With Minimum of 50 IP's for Squid Proxy Server
By somughosh2009 in forum ArchiveReplies: 5Last Post: 2nd Nov 2011, 03:42 AM -
Proxy blocked
By FancyPants in forum Technical Help Desk SupportReplies: 1Last Post: 4th Jun 2010, 09:14 AM -
http proxy
By ivan1666 in forum Webmaster DiscussionReplies: 1Last Post: 14th Feb 2010, 01:03 PM -
Anonymizers - Anonymous Web Browsing VIA HTTP/CGI Proxy
By Cuzabis in forum Useful SitesReplies: 3Last Post: 23rd Mar 2008, 07:35 PM
themaLeecher - leech and manage...
Version 4.94 released. Open older version (or...