Add TPROXY support
Can TPROXY support be added?
These are a sample of rules I’m currently using:
iptables -t mangle -N DIVERT
iptables -t mangle -A DIVERT -j MARK --set-mark 1
iptables -t mangle -A DIVERT -j ACCEPT
iptables -t mangle -A PREROUTING -p tcp -m socket -j DIVERT
iptables -t mangle -A PREROUTING -p tcp --dport 80 -j TPROXY --tproxy-mark 0x1/0x1 --on-port 8080
Thanks!
(from redmine: issue id 1582, created on 2013-01-22, closed on 2013-02-08)
- Changesets:
- Revision f668c1eb by Kaarle Ritvanen on 2013-01-24T15:12:30Z:
transparent proxy module
fixes #1582