How to Login into NT with a tunneled connection

One of the most difficult tasks when using EnterNet or TunnelBuilder is to login to the Microsoft Windows Networking services over a tunnel.  This can be difficult using any VPN or distributed network solution over a router, because VPN essentially consists of a routed virtual network.  This article attempts to simplify the networking task over VPN using EnterNet.

Users can connect into an NT domain over dialup modems, PPPoE sessions, or (most commonly) a VPN session using the Point to Point Protocol (PPTP).  In all cases, the user is assigned a WINS address at connection time.  This may also be possible using the non-Microsoft VPN clients over EnterNet.

Users logging into Microsoft Networking are typically being authenticated by an NT Domain Controller.  For this you need the name of the NT Domain, a NetBIOS Name Server or WINS address to map the Windows NetBIOS names to an IP address, and a user name and password for that NT Domain.   This is typically different from your VPN server or ISP's username and password.

 

You will need a NetBIOS Name service (NBNS), either from the NT WINS service or the NTS IPserver to begin with. 

Its main purpose is to map a NetBIOS computer name, group name, or username to an IP address for routing purposes.  The WINS  address will be supplied to you when the tunnel is established.  If your IPConfig does not show a WINS address, you won't be able to connect into an NT domain.

Note: This document refers to both NBNS and WINS using the more common term of NBNS.

There is a lot of information on the Microsoft web site explaining how to access Windows networking over routers (VPN is essentially a router).  Siemensis unable to offer support for this complicated task - we recommend you check with your network administrator for information on this subject.  Nevertheless, we can offer this as a starting ground:

wpe23.jpg (15366 bytes)

screen cap

screen cap

To unbind the File and Print sharing and MS Networking client from the clear MS TCP over Ethernet, PPPoE, or dialup adapter. Click on Control Panel -> Network, then select the TCP/IP protocol running over your Ethernet adapter, which represents the clear TCP stack. Click Properties to disable the NetBIOS binding over the clear path.  Select the Bindings Tab to disable binding for each service over the MS TCP over ethernet. Click OK.

For NT, the ethernet or PPPoE adapter would look like this:

screen cap

 

For Windows 2000 systems the configuration would resemble this. You will want to disable the NetBIOS transport over the ethernet TCP from the WINS tab:

w2kpropspppoe.jpg (31245 bytes)

 

wpe25.jpg (23918 bytes)

 

NTid.jpg (21842 bytes)

The hardest problem to deal with when the browsing fails is a rogue Master Browser showing up on your network. In this case, a starting NT server comes up with no network activity and elects itself as the Master Browser, seeing that no other server can answer the requests. Later when the network is restored, the rogue server continues by itself until the next election.  This usually clears up in 10 to 30 minutes and the rest of the neighborhood should show up fine.

Logging into NT Domains from an NT or Windows 2000 without a connection

How does one Log into NT without logging out first?  Using Regedit, Add a new string value named KeepRasConnections to the following registry key:

HKLM\Software\Microsoft\Windows NT\CurrentVersion\Winlogon

Add the string value of KeepRasConnections and set it with avalue of 1.  Then logout and logon as a user on your private network. Your connection should stay active.

With all this effort, you might think that Networking over VPN is not worth the trouble. It certainly isn't as simple as installing a web or FTP server on your private network for exchanging files, and the Windows networking packets of course consumes considerable bandwidth in the data traffic. It also takes some expertise in understanding additional protocols and routers.

You will need to weigh these disadvantages against the advantages of the user friendliness of providing Windows Networking to your remote users.  As software upgrades and high-speed access become more common, we believe that Windows Networking will become more important to users.  Hopefully this article will be able to save you some time in setting up a secure, reliable network.