Quantcast
Channel: tiq's tech-blog » anonymous
Viewing all articles
Browse latest Browse all 11

how to set up ziproxy with authentication, compression and latency reduction

$
0
0

Ziproxy is extremely handy for greatly reducing your page loading times. It compresses websites by 50 to 75%, which in return also saves a lot of bandwidth. Great if you have limited data allowance and your DSL switches to modem speed, once you have reached the quota.

Here is my set up on Linux Debian 6 minimal, x86:

apt-get update
apt-get upgrade
apt-get install nano

.. to update your system and to install the nano text editor. Of course you can use any editor you want.

Install ziproxy:

apt-get install ziproxy

Switch to the configuration folder and backup the existing config:

cd /etc/ziproxy/
mv ziproxy.conf ziproxy.conf1

Then create a new one:

nano ziproxy.conf

.. and add the desired configuration. Here the config that I use:

Port = 8080

PasswdFile="/etc/ziproxy/http.passwd"

AllowMethodCONNECT = true

UseContentLength = false

ImageQuality = {30,25,25,20}

URLDeny = "/etc/ziproxy/deny.list"

This gets you about the fastest possible speed. Images are compressed and in the deny.list you can deposit the URLs of ad servers to eliminate ads. The server also requires authentication and acts as a HTTPS proxy, hence supports socksifiers like the program “Proxifier”. It also seems to be anonymous, meaning it does not send headers with your IP address in it.

the http.passwd file should already exist. Delete the 2 previous entries and insert your user+password like this:

user:password
user2:password2

By the way, you need to restart ziproxy for changes to take effect. This would only work for me with:

/etc/init.d/ziproxy stop
/etc/init.d/ziproxy start

..and not simply with “restart”.

Because there do not seem to be any ad server host lists in the format that ziproxy wants, here is my deny.list, feel free to say thanks. ;)

click me
password:

http://tech.tiq.cc

Viewing all articles
Browse latest Browse all 11

Trending Articles