On Thursday 13 November 2003 11:58, Con Kolivas wrote: > On Thu, 13 Nov 2003 22:40, John Allen wrote: > > On Thursday 13 November 2003 01:50, [EMAIL PROTECTED] wrote: > > > Hello > > > > > > I recently discovered that iptables 1.2.8 nat command does not work > > > fully in 9.2 on i586 > > > > > > Something like this: > > > > Tried the following with stocck 9.2
Actually I have upgraded to 2.4.22-21mdk, didn't go higher than that as there are a myriad of known problems with -22, -23 > > > > /sbin/iptables -t nat -A PREROUTING -i eth0 -d 10.0.0.2 -p tcp -m tcp > > --dport 80 -j REDIRECT --to-port 3128 OK > > > > /sbin/iptables -t nat -A PREROUTING -i eth0 -d 10.0.0.2 -p tcp -m tcp > > --dport 80 -j DNAT --to-destination 192.120.145.123:80 OK > > > > > iptables -t nat -A PREROUTING -i eth0 -d xx.xx.xx.xx -p tcp -m tcp > > > --dport 23 -j DNAT --to-destination yy.yy.yy.yy:23 > -- John Allen, Email: mailto:[EMAIL PROTECTED] MandrakeClub Silver Member.