Computing.Net > Forums > Linux > Terminal Service Client connection

Computer Problems? Computing.Net has over 1,000,000 posts about all things technology related! Over 90% answered within 24 hours! Click here to start participating now! Also, be sure to check out the New User Guide.

Terminal Service Client connection

Reply to Message Icon

Name: ian
Date: April 7, 2002 at 21:53:17 Pacific
Comment:

I need to connect a client machine over the internet to my terminal server. Setup below

|client|-----|internet|----|linux iptables filter|----|hub|----|win2k terminal server|

can someone help me with the relevent rules for iptables to get this to work. I have the following rules in place but cant get the client machine to connect. "iptables -t nat -A PREROUTING -i ippp0 -p tcp --dport 3389 -j DNAT --to-destination 10.0.0.4" and a forward rule. I hope someone can help me. Thanks in advance. Ian



Sponsored Link
Ads by Google

Response Number 1
Name: Trav
Date: May 2, 2002 at 16:45:33 Pacific
Reply:

Ian,

this is my rule that works for me,

iptables -t nat -A PREROUTING -i ppp0 -p tcp -d $EXTIP --dport 3389 -j DNAT --to-destination 192.168.0.100:3389

let me know how it goes or if you have any other questions.

trav.


0

Response Number 2
Name: Bill
Date: May 22, 2002 at 01:07:54 Pacific
Reply:

The line that trav has sugggested will work, but if the remote client has a static IP (or you know that it will be assigned a range of specific IPs), it might be more secure to limit access to machines with just one or a small range of addresses:

iptables -t nat -A PREROUTING -i ppp0 -p tcp -s $TRUSTEDIP -d $EXTIP --dport 3389 -j DNAT --to-destination 192.168.0.100:3389

...where 'TRUSTEDIP' is the address of the remote machine allowed in (eg: TRUSTEDIP="203.34.12.67").

Cheers,

Bill


0

Sponsored Link
Ads by Google
Reply to Message Icon

Related Posts

See More


lilo and NTLDR grub.config



Post Locked

This post is quite old and has been locked from receiving new replies. Please create a new posting instead.


Go to Linux Forum Home


Sponsored links

Ads by Google


Results for: Terminal Service Client connection

Terminal Services Client Printer re www.computing.net/answers/linux/terminal-services-client-printer-re/30074.html

terminal services equivalent?? www.computing.net/answers/linux/terminal-services-equivalent/21535.html

Linux & MS Access www.computing.net/answers/linux/linux-amp-ms-access/5092.html