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.
File path with Office 2007 and openvpn / Samba server
Moderators: TinCanTech, TinCanTech, TinCanTech, TinCanTech, TinCanTech, TinCanTech
Forum rules
Please visit (and READ) the OpenVPN HowTo http://openvpn.net/howto prior to asking any questions in here!
Please visit (and READ) the OpenVPN HowTo http://openvpn.net/howto prior to asking any questions in here!
-
- OpenVpn Newbie
- Posts: 1
- Joined: Fri Sep 17, 2010 2:26 pm
-
- Forum Team
- Posts: 117
- Joined: Tue Jun 09, 2009 4:25 pm
- Location: St. Louis, MO USA
Re: File path with Office 2007 and openvpn / Samba server
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:
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.