Proxy Server Setup

The following is the instructions I used to set Squid up:

I installed squid using this page:

1. At a terminal prompt, enter the following command to install the Squid server:

sudo apt-get install squid squid-common

sudo cp /etc/squid/squid.conf /etc/squid/squid.conf.original

sudo chmod a-w /etc/squid/squid.conf.original
2.  modified the /etc/squid/squid.conf file.  here’s the diff between the original:

mozilla@ubuntu:/etc/squid$ sudo diff squid.conf squid.conf.original
< http_access allow localnet
< ## http_access allow localhost

> #http_access allow localnet
> http_access allow localhost
< http_port 8888
< ## http_port 3128

> http_port 3128
< cache_dir ufs /usr/local/squid/cachetmp 100 16 256
< logformat squid %ts.%03tu %6tr %>a %Ss/%03Hs %<st %rm %ru %un %Sh/%<A %mt

> #logformat squid %ts.%03tu %6tr %>a %Ss/%03Hs %<st %rm %ru %un %Sh/%<A %mt
< ## none
< visible_hostname borg

> # none
3. after making the changes, you’ll have to restart squid.
4. on mobile device in fennec, go to

about: config

and then change the following settings:

network.proxy.http <ip address of the proxy server>
network.proxy.http_port 8888
network.proxy.type 1


1. Thanks to Geo for helping me troubleshoot some of it.


About shizen008

Breaking things and getting in trouble for it since '74. Disclaimer: I am not responsible if I make your head explode reading this blog! The writings here are my own expression and not of any companies. I currently work on being a QA for B2G aka Firefox OS
This entry was posted in Uncategorized. Bookmark the permalink.

Leave a Reply

Please log in using one of these methods to post your comment: Logo

You are commenting using your account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )


Connecting to %s