Archive for September, 2009

Using route and iptables to proxy traffic

Posted by andy September 10th, 2009

As part of an experiment at work, I wanted to intercept all traffic on port 80 that was headed to a certain IP address. To handle the traffic, I built a python script using BaseHTTPServer based around this sample code and ran it on .202 - one of my CentOS 5.2 boxes.
Next step was to [...]