[tproxy] tproxy 4.1 NAT question

Ritter, Nicholas Nicholas.Ritter at americantv.com
Tue Jul 22 18:49:30 CEST 2008


Am I assuming correctly that the the iptables nat rule IS needed as show
in the beginning of item 1 unter "How to start using it?" in the readme
or is that simple a reference of how it was done before? To clarify,
does the 
 
iptables -t mangle -A PREROUTING -p tcp --dport 80 -j TPROXY --on-port
<proxyport>  \
              --tproxy-mark 0x1/0x1

replace the 
 
iptables -t nat -A PREROUTING -j DNAT --to-dest <localip> --to-port
<proxyport>

 
Thanks,
 
Nick
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.balabit.hu/pipermail/tproxy/attachments/20080722/8598c0ad/attachment.htm 


More information about the tproxy mailing list