Hi guys,
First of all, thanks for OpenDPI. I successfully install it on F14.
After reading the doc, I faced a problem to redirect HTTP traffic
using OpenDPI as netfilter wrapper.
The idea is to redirect all my incoming HTTP taffic to my local squid
proxy running port 3128.
The following iptables rule works perfectly:
iptables -t nat -A PREROUTING -p tcp -m tcp --dport 80 -j DNAT --to-
destination
192.168.1.55:3128
with it in place, I can run this from another machine:
curl -D - -x
192.168.1.55:80 http://www.yahoo.com/
But this OpenDPI rule doesn't work at all:
iptables -t nat -A PREROUTING -p tcp -m tcp -m opendpi --http -j DNAT
--to-destination
192.168.1.55:3128
Am I missing something?
Is there any example of using OpenDPI with iptables out there?
N.B: please bear with me as I'm new to both OpenDPI and Linux
iptables.
Thanks
/V