Hi All:
I have solved my DNAT problems. It was pilot error. The way my system was
set up,
There was a different exit path for outbound packets. Duh! I straightened it
out and things are working
as advertised. Thank you for all the help and suggestions from the group.
The moral of the story is
to make sure the network system is set up properly and there is only one
path in and out.

Regards,

Stu......





-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]]On Behalf Of Jack Bowling
Sent: April 7, 2002 10:50 PM
To: [EMAIL PROTECTED]; [EMAIL PROTECTED]
Subject: Re: terminal services connection

** 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