Cannot mount a CIFS network share over VPN

Posted by Aron Rotteveel on Ask Ubuntu See other posts from Ask Ubuntu or by Aron Rotteveel
Published on 2011-01-11T17:22:42Z Indexed on 2011/02/20 7:33 UTC
Read the original article Hit count: 350

Filed under:
|
|
|
|

I have setup u VPN connection to our Windows 2008 server at the office and it seems to work fine.

For some reason, however, I still am not able to access the network shares over a VPN connection using my standard fstab entries. When I am physically connected to the network, it works fine, but now when trying this over VPN I get the following error:

mount error(110): Connection timed out
Refer to the mount.cifs(8) manual page (e.g. man mount.cifs)

My /etc/fstab looks like this:

//server2008/share    /mnt/share    cifs    iocharset=utf8,credentials=/home/aron/.smbcredentials,uid=1000  0       0

As said, it works fine when physically connected, but over VPN it just wont work.

Any help is appreciated.

EDIT:

It seems the Windows firewall is making things harder on me. When I turn it off, I get a bit further, although I still get the following error message:

Unable to find suitable address.

The strange thing is that I have file sharing added as an exception to the firewall. Port 137-139 and port 445 are open, which should suffice, shouldn't it?

EDIT Jan 20th:

Still not working. When I have the firewall turned on, it times out. When I turn it off, I get the not suitable address error. Turning the firewall off is not an option, by the way.

© Ask Ubuntu or respective owner

Related posts about 10.10

Related posts about Windows