Installation of Ziproxy for iPhone requires having VPN installed on the same machine.
Ziproxy will compress all traffic, including lossy recompression of images. Heavy recompression makes pages look a bit like on OperaMini, but they load 3-4 times faster!
You can download binary I've compiled for Intel Leopard. I won't be surprised if it doesn't work anywhere else though.
…or compile & install
- Download Ziproxy in
- You'll have to compile it, so make sure you have XCode tools installed (it's on your OS X Install DVD). Fink might be handy as well.
- Decompress downloaded
tar.bz2file, open Terminal, and
cdto Ziproxy files' directory:
Hint: instead of typing path you can drag'n'drop directory to terminal.
- Compile it:
If it throws errors, you'll have to compile and install additional libraries (like libungif).
export LDFLAGS=-lresolv ./configure —with-jpeg=/sw —with-png=/sw && make -j 3 && sudo make install
If you're lucky, it will compile in a minute and ask for your admin password to install.
- Complete install.
sudo cp ziproxy.conf /etc/ sudo mkdir /var/log/ziproxy/ sudo chown nobody /var/log/ziproxy/ sudo chmod u+rwX /var/log/ziproxy/
- Edit configuration file
open -e /etc/ziproxy.conf
ProcessCSS = true.
You can bump
ImageQualityif you find images too ugly.
- Run it.
Go to Settings → General → Network → VPN → Settings and scroll down to Proxy, set Manual
- Server = same IP or hostname as Server in VPN section above
- Port = you'll find it in
ziproxy.conffile. Be creative — you can pick any port number you like between 1024 and 65535, as long as you set it in both places.
- Authentication = OFF. Unfortunately Ziproxy can't read password supplied by iPhone, that's why I suggest using non-standard port number.
To test it you can set it as proxy for your Mac's browser. If it doesn't work, check all firewalls and routers.
You can see what proxy is transferring by running in Terminal: (Control+C stops it)
tail -f /var/log/ziproxy/access.log
Next step: Privoxy