You are not logged in.

#1 2011-09-25 16:27:29

mpz
Member
Registered: 2010-10-14
Posts: 54

[SOLVED] Samba fail when in VPN

I'm trying to use smbnetfs to automount our corporate samba shares when I'm VPNed in via VPNC. I have been unable to gain access to samba shares when physically outside of the network. If I plug in my laptop to corporate switch, shares are mounted. When I VPN in from the outside, nothing. Can someone shed some light on this? Only thing I can think of is I get a local IP assigned (192.168.80.0 subnet) when I plug in physically to the network and maybe that is causing samba to refuse connection? But when I VPN in I connect to the gateway so I should be seen as local. Not sure what to do next.

Thanks for the help.

Last edited by mpz (2011-09-29 18:16:14)

Offline

#2 2011-09-27 19:17:25

mpz
Member
Registered: 2010-10-14
Posts: 54

Re: [SOLVED] Samba fail when in VPN

Anyone has tips on how to debug? Smbnetfs thinks everything is normal (according to log), I have a world writable mount point. Again, it mounts when I'm on the network just not when using a VPN.

Thanks.

Offline

#3 2011-09-29 16:52:27

Dizzy1
Member
Registered: 2011-04-16
Posts: 13

Re: [SOLVED] Samba fail when in VPN

have you tried mounting the shares maually via ip?

Offline

#4 2011-09-29 18:15:42

mpz
Member
Registered: 2010-10-14
Posts: 54

Re: [SOLVED] Samba fail when in VPN

As a test, I installed gvfs-smb package for Nautilus and after reboot was able to mount my share. At that point, it was clear it was doable so after some reading, mount -t cifs //<ip>/<share> did the trick smile

Edit: Still does not auto-mount with smbnetfs but at least I have access to my environment

Last edited by mpz (2011-09-29 19:01:19)

Offline

Board footer

Powered by FluxBB