Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

TSAC error out behind NAT setup

Status
Not open for further replies.

dimitric

MIS
Oct 8, 2001
18
CA
Greetings,

I have a home AD setup with a netgear rt314 router. It has port 3389 open and I can connect to my Terminal Services server (192.168.0.99) through NT on a myname.dyndns.org account that my router sets up. I can use the client software fine, but if I try to use the TSAC web client, when I hit 'connect' I get the window frame but I get a vbscript error. I've debugged it and it either errors with error code 520 if I use netbios name or error code 516 when using the IP address.

I've looked these up, 520 means can't find computer ..so I use IP address and get 516 which means can't create socket. I've tried using FQDN and all that jazz..but no luck.

I'm thinking , can you even use TSAC behind NAT with port forwarding??
 
can you use the TS client software from a remote location, using the fqdn yourname.dyndns.org ?

Peter Van Eeckhoutte
peter.ve@pandora.be

 
yep I can run the client from anywhere in the world...as port 3389 is open on my router. Thats's what boggles me??
 
hmmm
did you modify the sample website that is included in the TSAC package from microsoft ?

just to make sure :
on the remote computer,
can you create a hosts file,
include a name (any name, for example : TSSERVER) and map it to the current IP address of your server
then try to connect to TSSERVER in your tsac web client and see what happens (just to make sure that your web client is working well)
Peter Van Eeckhoutte
peter.ve@pandora.be

 
Hey Peter,

Yeah I made a mapping in my host file and I still get the same error (520).

The web client is working, as I can use it to connect to other terminal servers.

The only thing I modifed in the sample pages was the error codes. I used code provided by MS (this was only after I initally tried it out and it didn't work)

I don't think its the webcode..I'm still baffled. Thanks for your help/interest btw. Any other sugguestions?

-Dimitri
 
Oh and I think I mentioned it before, but I can use the TSAC fine when on a local intranet machine (192.168.0.xxx subnet.) The only problems are when I try to connect via the my router.
 
is your router doing NAT ? (I've seen the TSAC client acting weird before when using NAT) Peter Van Eeckhoutte
peter.ve@pandora.be

Did this post help ? Click below to let me know ;-)
 
Yep its doing NAT indeed. I'm routing from a public, dhcp assigned xDSL ip to my private ip range of 192.168.xxx.xxx.

I guess that's the problem ..I'd probably have to put the server on a DMZ which is a bad idea. I guess I'll stick to using the client software.

-dimitri
 
putting it into a DMZ is not necessarily a bad idea
as long as you install a firewall which can handle anti-spoofing, it should work fine... Peter Van Eeckhoutte
peter.ve@pandora.be

Did this post help ? Click below to let me know ;-)
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top