Question Locked

VPN Endpoint router

0 helpful
11 replies
Closed to new repliesThis discussion is closed. It stays readable, but it takes no new replies.

I have searched with no luck so here's the question...
I have a very small workgroup xp pro and win 2003 server.I needed access remotely to the office so I installed a dlink DIR-330 for the endpoint vpn. I can establish a connection but I am not able to use my software client to access the company database. I can only see the shared drives if I use the ip address. Can anyone point me in the right direction please.
TIA

11 replies

by cg it

don't know abut the Dlink DIR 330...

why not use remote desktop rather than VPN to the Dlink [I assume you are VPN to the Dlink because it's an "VPN endpoint".

by rschwab

With remote desktop can multiple remote users have access to the same server?

Yes I am using it as a VPN endpoint.

by cg it

you access your desktop and run programs from the context of that desktop, not the remote computer.

VPN endpoint routers typically means that the VPN connection is established with the router. So to gain access to local resources you need a DHCP relay agent if you run DHCP servers on the network or a static pool of addresses on the local subnet to assign to remote clients.

by dumphrey

is not being accessed by the client. Its using your local machine/isp dns instead of corporate dns and therefor not finding database serevr by name, as I bet the client is set up. You can test this by adding an entry in you c:\windows\System32\drivers\etc\hosts file for the database server with notepad.

If this "fixes" the issue, look at the VPN config on the router for dns information. It must have dhcp set up as well I would guess. It should have set up for default dns, dhcp, domain name, etc. It also my have a place to enter some of this on the vpn client end of the stick. Also, make sure no firewalls on your local machine are blocking the vpn streams.

by rschwab

The client does look for the server name. Thanks...I'll give that a try. Does the hosts file on the clients notebook get the change?? I have the windows firewall off while testing.

by dumphrey

add the changes on the client end. I have to do this to access our servers by dns name, for some reason, when the VPN connects, its not actually letting go of the DNS stored in the primary adapter in favor of the DNS in the VPN adapter. Modding the host file fixes it every time (as long as the home network is not on the same subnet as work...)

by robo_dev

Assuming that the correct ports are being forwarded on the VPN.

Windows domain authentication uses Kerberos. Kerberos, per the RFC, uses UDP to perform authentication. UDP packets get out-of-sequence over a VPN connection and are dropped, which causes authentication to fail and domain browsing not to work.

Any Windows clients must be configured to use TCP protocol instead (simple registry hack).

http://support.microsoft.com/kb/244474

Also, SQL server needs port 1433 to be open over the connection. Use the command-line OSQL utility "OSQL -L" to verify that your app can see the db server at port 1433.

http://www.databasejournal.com/features/mssql/article.php/3403331

by rschwab

I unndersatand. Thanks... Can multiple clients access the same sever using remote desktop??

by cg it

Remote Desktop to W2003 Server is using terminal services and W2003 terminal services is administration mode. Administration mode only allows 2 concurrent connections.

However, users shouldn't log on to servers via remote desktop to run applications or to access shared resources.

Users can use remote desktop to their workstation, not the server and access resources on the network including shares stored on a server. Virtually do anything they would if sitting in front of their workstation at work.

by rschwab

Thanks everyone. I'm a newbe at some of this, so thanks for the help. I'll try these things when I get some time and respond.

This discussion is closed to new replies.