openvpn and samba, can't browse shares

Need help configuring your VPN? Just post here and you'll get that help.

Moderators: TinCanTech, TinCanTech, TinCanTech, TinCanTech, TinCanTech, TinCanTech

Forum rules
Please use the [oconf] BB tag for openvpn Configurations. See viewtopic.php?f=30&t=21589 for an example.
Post Reply
tingon
OpenVpn Newbie
Posts: 2
Joined: Sun Oct 25, 2009 11:20 am

openvpn and samba, can't browse shares

Post by tingon » Sun Oct 25, 2009 11:30 am

Hi all i'm new here, i hope someone can help me..

i've openvpn installed and working on ipcop (zerina module)
i can connect to vpn, ping all ip of the lan i've a samba server ip 192.168.0.170 (ubuntu 9.04)
i can ftp to it, but i can't access at the shares from winxp, but i can reach the shares correctly from my MacOsx

tnx in advance

Douglas
Forum Team
Posts: 285
Joined: Wed Aug 27, 2008 2:41 am

Re: openvpn and samba, can't browse shares

Post by Douglas » Mon Oct 26, 2009 2:12 am

tingon wrote:Hi all i'm new here, i hope someone can help me..

i've openvpn installed and working on ipcop (zerina module)
i can connect to vpn, ping all ip of the lan i've a samba server ip 192.168.0.170 (ubuntu 9.04)
i can ftp to it, but i can't access at the shares from winxp, but i can reach the shares correctly from my MacOsx

tnx in advance
That sounds more like a Windows problem then a OpenVPN problem, but I'll let the experts here get back to you on it.

tingon
OpenVpn Newbie
Posts: 2
Joined: Sun Oct 25, 2009 11:20 am

Re: openvpn and samba, can't browse shares

Post by tingon » Mon Oct 26, 2009 11:45 am

i make more tests and i find that

with IP "\\192.168.0.170\shared_folder" works correctly
but don't work with \\domain_name\shared_folder

at least is enough for my needs....

so i think is something on samba configuration

thanks

User avatar
ecrist
Forum Team
Posts: 237
Joined: Wed Nov 26, 2008 10:33 pm
Location: Northern Minnesota, USA
Contact:

Re: openvpn and samba, can't browse shares

Post by ecrist » Tue Oct 27, 2009 11:39 pm

You will want to explore setting up a WINS server. Samba has the ability to do this, properly configured.
OpenVPN Community Administrator
IRC: #openvpn, #openvpn-devel
Co-Author of Mastering OpenVPN
Author of Troubleshooting OpenVPN

george
Forum Team
Posts: 117
Joined: Tue Jun 09, 2009 4:25 pm
Location: St. Louis, MO USA

Re: openvpn and samba, can't browse shares

Post by george » Mon Jan 11, 2010 3:18 pm

We have multiple samba, and windows shares in our environment, and the only issues we've came across since deploying OpenVPN have to do with either the UNC path used to access the share, or the client computer's ability to route to the share.

The UNC issue is fixed by using the FQDN of the server in the UNC path, ie. \\server.domainname.com\sharename when accessing shares from client computers, the client routing problem was fixed by pushing routes for our other subnets to clients that require access to shares on other subnets, (the issue was originally caused by sloppy research).

Hope this sheds some light.

Post Reply