Server Fault is a question and answer site for system and network administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I don't know how to access a Samba share running on a Ubuntu 10.04 server through OpenVPN 2.1.0.

I've installed & configured OpenVPN and everything works. The server end of the tunnel has the IP of When I connect from XP (over our local network) I'm given the IP of I can ping and trace route from both ends of the tunnel.

Now, I'm to access the Samba share from XP and from OS X?

share|improve this question

Probably you need to allow access to your samba server from the ip class of your vpn. You need to find (or insert) the following line in your /etc/samba/smb.conf file

interfaces =

Don't forget to add every ip class that should have access to the shares.

Then reload your samba server

sudo service smbd reload
sudo service nmbd reload
share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.