Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

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 10.8.0.1. When I connect from XP (over our local network) I'm given the IP of 10.8.0.6. I can ping and trace route from both ends of the tunnel.

Now, I'm lost...how 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 = 127.0.0.0/8 10.8.0.0/24

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

 
discard

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