Yeah, It's possible, netfilter will change the packet as it passes through the chains (in the NAT table). Regards, Diego Lacerda. On Mon, Apr 28, 2008 at 7:11 AM, Jan Engelhardt <jengelh@xxxxxxxxxxxxxxx> wrote: > > > On Monday 2008-04-28 11:01, Karim Reda Fakhir wrote: > > >How can i do SNAT and DNAT in same time with iptables , i try to > >change Ip src and Ip dest . > > -t nat -A PREROUTING -j DNAT ... > -t nat -A POSTROUTING -j SNAT ... > no? > > > > -- > To unsubscribe from this list: send the line "unsubscribe netfilter" in > the body of a message to majordomo@xxxxxxxxxxxxxxx > More majordomo info at http://vger.kernel.org/majordomo-info.html > -- To unsubscribe from this list: send the line "unsubscribe netfilter" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html