Got a spare server? Save some 3G traffic with privoxy and ziproxy!


Hoodoo

Member
Joined
Jul 11, 2011
Messages
350
Age
39
Location
Moscow, Russia
If you happen to have a server somewhere, you can set up a chain of two porxy servers to use with your Pandora when on 3G.


It works like this:


h_1324971447_9760291_1d3c4f7b23.png



Install privoxy and ziproxy and configure them like this:


Ziproxy:



Code:
Port = YOURPORTHERE

Address = "0.0.0.0"

NextProxy = "127.0.0.1"

NextPort = 8118

AccessLogFileName = "/var/log/ziproxy/access.log"

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

UseContentLength = false

Compressible = {

    	"shockwave", "msword", "msexcel", "mspowerpoint", "rtf", "postscript",

    	"java", "javascript", "staroffice", "vnd.", "futuresplash",

    	"asp", "class", "font", "truetype-font", "php", "cgi", "executable",

    	"shellscript", "perl", "python", "awk", "dvi", "css",

    	"xhtml+xml", "rss+xml", "xml", "pdf", "tar"

}

ImageQuality = {20,15,15,15}

ModifySuffixes = false



Privoxy:



Code:
user-manual /usr/share/doc/privoxy/user-manual

confdir /etc/privoxy

logdir /var/log/privoxy

actionsfile standard.action  # Internal purpose, recommended

actionsfile global.action	# Global default setting for all sites

actionsfile default.action   # Main actions file

actionsfile user.action  	# User customizations

filterfile default.filter

logfile logfile

listen-address 127.0.0.1:8118

toggle  1

enable-remote-toggle  0

enable-remote-http-toggle  0

enable-edit-actions 0

enforce-blocks 0

buffer-limit 4096

forwarded-connect-retries  0

accept-intercepted-requests 1

allow-cgi-request-crunching 0


Write your login and password to /etc/ziproxy/http.password (yes, plaintext sucks, I know) and you're done with servers.


Of all Pandora browsers I tried only Luakit works with this proxy combo properly: Chromium I don't know how to make behave, Firefox would crash way too often and Midori would not prompt for password.


In Luakit, you type


:proxy


a


proxyname address:port


And you can turn it on and off with :proxy command when needed.


For Debаin Lenny this would not work, because ziproxy 2.something is pretty strange - it would not chain and it is configured to run as root by default. In Squeeze it works fine.
 
Last edited by a moderator:
Back
Top