[OpenVPN home] [Date Prev] [Date Index] [Date Next]
[OpenVPN mailing lists] [Thread Prev] [Thread Index] [Thread Next]
Google
 
Web openvpn.net

Re: [Openvpn-users] Tun configuration in Windows - WINS


  • Subject: Re: [Openvpn-users] Tun configuration in Windows - WINS
  • From: John Locke <mail@xxxxxxxxxxxx>
  • Date: Thu, 29 Apr 2004 05:19:40 -0700

Hello,

I recently switched to using routed tun devices everywhere, and had this
same problem of browsing across subnets from Windows machines. Just got
this working, mostly.

My WINS server is a Samba server on the Office side. Turns out in
addition to making it a WINS server, I had to make it a domain master
for the workgroup for it to work correctly. In smb.conf on the server:

wins support = true
domain master = yes

Then on the clients, browsing worked briefly. After a timeout, the main
browse list disappeared, replaced by only the client. To get it to
stick, I had to turn on NetBIOS over TCP/IP via WINS:

--dhcp-option NBT 2

Now clients see all other computers in the Workgroup, but not
themselves.

Cheers,
-- 
John Locke
Open Source solutions for small business problems
http://freelock.com

On Wed, 2004-04-28 at 13:36, James Yonan wrote:
> Julio,
> 
> Try the current 1.6 release candidate, and then use the "--dhcp-option WINS
> [addr]" option.  Do an ipconfig /all to make sure the TAP-Win32 adapter has
> the WINS address set.
> 
> James  
> 
> Julio Maidanik <juliomaidanik@xxxxxxxxxxx> said:
> 
> > Hi,
> > I have a Windows roadwarrior, which connects to Internet through a dial-up
> > connection.
> > An an office LAN connected through Linux server. Also on the LAN I have a
> > Samba server which is providing WINS for the LAN.
> > 
> > I connect fine, but I cannot browse the LAN from the roadwarrior.
> > I am using OpenVPN version 1.5.0, and I am using the
> > ip-win32 manual
> > option in my config file.
> > 
> > I have defined the WINS server in the Tap-adapter network connection, but I
> > don't see any traffic to it.
> > When I do a Search for a host on the LAN, I see DNS requests going out, but
> > not WINS.
> > 
> > It seems that the WINS from the Tap-adapter is not being used.
> > Shall I use
> > ip-win32 ipapi
> > instead?
> > 
> > Thanks
> > 
> > Julio
> >