I am running this now with the following 

These are the only 2 entires you need for this to work.

iptables -t nat -A PREROUTING -i eth0 -p tcp -d $EXT_IP --dport 3389 -j
DNAT --to-destination $DST_ADDY
iptables -A FORWARD -i eth0 -o eth1 -p tcp -d $DST_ADDY --dport 3389 -j
ACCEPT

Regards
James

> -----Original Message-----
> From: [EMAIL PROTECTED] 
> [mailto:[EMAIL PROTECTED]] On Behalf Of ian highsun
> Sent: Monday, April 08, 2002 12:48 PM
> To: [EMAIL PROTECTED]
> Subject: terminal services connection
> 
> 
> Hi all,
> I am trying to connect a terminal service client via internet 
> and iptables firewall. My setup is 
>    
> inet-----|linux|---|hub|---|win2k server terminal services|
> i have tried a nat rule of "iptables -t nat -A PREROUTING -i 
> ippp0 -p tcp --dport 3389 -j DNAT --to-destination 
> win2kserver" and a forward rule for port 3389 but my client 
> cant connect. Can anyone offer any urls or advice on 
> connecting terminal service clients through iptables. Thanks 
> in advance. Ian
> -- 
> 
> _______________________________________________
> Sign-up for your own FREE Personalized E-mail at Mail.com 
http://www.mail.com/?sr=signup






Reply via email to