A basic transparent HTTP proxy
Failed to load latest commit information.
README.md Add simple README Feb 14, 2012
proxy.py Don't log sent and received headers Apr 7, 2012


Transparent HTTP proxy

A basic transparent HTTP proxy that can sit between a client and HTTP servers, proxying requests from the client and rewriting the returned resource.

Much inspiration taken from sergio-proxy.

It is enabled on the gateway (in my case for a single client) by a simple iptables rule:

iptables -t nat -A PREROUTING -s $CLIENT_IP -p tcp --dport 80 -j REDIRECT --to-port 8080