A basic transparent HTTP proxy
Python JavaScript CoffeeScript
Switch branches/tags
Nothing to show
Clone or download
Pull request Compare This branch is 26 commits ahead of erijo:master.
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
images
scripts
test_server
walkthrough
watermark
.gitignore
README.md
proxy.py

README.md

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