I've recently setup OpenVPN for remote connection to our CentOS 6 file server.
Server Static IP: 10.0.0.66 Remote OpenVPN IP: 10.8.0.1
However when using the OpenVPN connection I am unable to access the Samba share which would normally be accessed using 10.0.0.66 from inside the local network.
I have made the following adjustments to the smb.conf file according to the OpenVPN Website
[global] unix charset = UTF-8 dos charset = CP932 workgroup = WORKGROUP server string = Samba Server Version %v # include 10.8.0.0/24 for OpenVPN hosts allow = 10.0.0.0/100 10.8.0.0/24 127.0.0.1 interfaces = 10.0.0.0/100 10.8.0.0/24 log file = /var/log/samba/log.%m max log size = 50 security = share passdb backend = tdbsam [Share] path = /samba/share01 writable = yes browsable = yes guest ok = yes guest only = yes create mode = 0777 directory mode = 0777
Then I try to access the Samba share using 10.8.0.1 although it doesn't seem to have worked, Is there something I am missing?
The issue has been resolved
I made some slight changes to the smb.conf file, the one above is the latest. The other issue was how the share was being accessed.
When mapping the network location I had to specify the share I wanted to connect to
Then it brought it up just fine.
Thanks to everyone for their help