[tproxy] Fail to REDIRECT (of nat table)

wckwon wckwon at torinet.co.kr
Tue Oct 11 08:37:48 CEST 2005


Thanks for your answer.

 

As soon as receiving your reply, I tried those and results are below.

 

OS version : linux-2.6.12.6 with cttproxy-2.6.10-2.0.1.tar.gz

 

    test                   status

========================================================

bridging - on           (not working)

bridging - off          (not working)

using TPROXY rule

instead of REDIRECT     (not working, halting system)

 

 

REDIRECT Rule without Bridging : 

    iptables -t nat -A PREROUTING -i eth1 -d 192.168.0.107 -p tcp --dport
9999 -j REDIRECT --to-port 9216 TPROXY target Rule : 

    iptables -m physdev -t tproxy -A PREROUTING --physdev-in eth1 -d A.B.C.D
tcp --dport 80 -j TPROXY --on-port 2101

 

My poor daemon couldn't read any data in any contditions.  )-;

 

 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.balabit.hu/pipermail/tproxy/attachments/20051011/43f1aede/attachment.htm


More information about the tproxy mailing list