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

Re: [Openvpn-users] Newbie question: Samba with OpenVPN and DNS names


  • Subject: Re: [Openvpn-users] Newbie question: Samba with OpenVPN and DNS names
  • From: Francis Kung <francis@xxxxxx>
  • Date: Wed, 10 Jan 2007 18:42:57 -0500

Hi,

>     I can
>     connect to Samba on the Linux server with \\10.x.x.1\sharename, but
>     I cannot reach the server using \\servername\sharename.

This actually sounds to me like WINS-based hostname resolution is not 
working.  Normally, \\servername is resolved into an IP address using a 
broadcast-response system, but that does not work if you use tunneling 
(since you now have two subnets).

There are a few options to solve this:
a) use a WINS server (you can set openVPN to push this to all VPN 
clients, and have your DHCP server push this to local machines)

b) add a record to your DNS servers for your Samba server (similar to 
setting up a WINS server, but a bit more work to maintain)

c) use bridging instead of tunneling (I haven't tried broadcast 
wins-over-bridging personally so I don't know if it works, but I think it 
should)

Hope this helps,
Francis
______________________
OpenVPN mailing lists
https://lists.sourceforge.net/lists/listinfo/openvpn-users