Page 1 of 1

File path with Office 2007 and openvpn / Samba server

Posted: Fri Sep 17, 2010 2:37 pm
by neilmcgrory
We have had our openvpn connection up and running nicely for a while now but a minor frustration still persists. I have had a look around the web but couldn't find anybody else who was has the same issue.

This applies to files (mainly word and excel 2007) that are created by users off-site over the openvpn connection. These files are saved a Ubuntu based Samba server. When local users try to open these files, office tries to open using the 10.x.x.x routed openvpn server address rather than the local samba server 192.168.x.x address. As the file cannot be opened using the openvpn server address we have been hitting escape and the file opens.

Has anybody else had a similar issue and know of a fix?

Thanks in advance.

Re: File path with Office 2007 and openvpn / Samba server

Posted: Tue Oct 05, 2010 3:18 am
by george
We don't run samba on our OpenVPN server, but it sounds like the VPN config is sound. You might try adding the interfaces = param and hosts allow = param to your smb.conf and see if that would fix it.

Assuming your OpenPVN server VPN IP is 10.0.0.254, and our VPN clients get an address from 10.0.0.0/24 the entries would look like:

Code: Select all

interfaces = 192.168.x.x(LAN IP of samba server), 10.0.0.254(VPN server IP)
hosts allow = 192.168.x., 10.