** Reply to message from Stewart Thomspon <[EMAIL PROTECTED]> on Sun, 07
Apr 2002 21:36:57 -0700


> Hi Ian:
> 
>       I am having the same problems with DNAT and forwarding. So, if you find a
> solution I would like to hear about it.
> I am using Redhat 7.2 Kernel 2.4.9-31 iptables 2.4.9-31 with the following
> lines in my firewall script. These are the first rules
> and all the remaining rules follow them.
> 
> iptables -t nat -A PREROUTING -i EXTIF -s $ANYWHERE \
>          -p tcp -d $EXTIP --dport 23 -j DNAT --to $TELNET


Stew - Perhaps it is just syntax. Try "--to-destination $TELNET" instead of the
short version and see if it works.

jb

-- 
Jack Bowling
mailto: [EMAIL PROTECTED]

Reply via email to