Link to home
Start Free TrialLog in
Avatar of steviedeehook
steviedeehookFlag for South Africa

asked on

shared folders not accessible over openvpn

Hi,
My Linux system admin set up openvpn on our ipcop gateway so that we can connect to the lan from home and work.
when I connect, I can ssh and ping and remote desktop and VNC and ceck the cameras, and surf the intranet, but I can not see shared folder, not on windows hosts, or SMB shares on linux hosts.
if I start > run > \\servername ot IP >Enter I get "No network provider accepted the given network path"
Please help.
Steven
Avatar of devnull22
devnull22

It might be possible that your admin set up security on the shares, and forgot to add the range of ips from openVPN.

Ex: I have a similar set-up at work, and while our network starts with 10.1.17.0/24, openVPN gives a 10.1.18.0/24 network. If I setup the server shares to use scurity only to the 10.1.17.0/24 network, I won't be able to access it from openVPN.

But that's assuming a lot of things. How is your setup at work? Do the file servers you are trying to reach run on windows, or Linux? is it a machine that is behind the firewall, the same as other services you can access? Is there  firewall running preventing access by ip classes? etc...

I hope I can help pinpoint you to a resolution of this problem, but we need more details to help!
Avatar of steviedeehook

ASKER

Hi,
Openvpn is on an unusual range - I think 10.1.18.0/24  but there ir routing between that and our LAN range 192.168.10.0
On all servers I can access any of the services except smb or nfs.
ie. on our VOIP server (192.168.10.2) I can SSH, ping and SCP - but not SMB
on our file server (192.168.10.4) I can remote desktop, VNC, ping, but not access shared folders
It is the same with all the servers on the LAN, I can do anything like I would if I was in the office, except access the shares.
the windows hosts were set up and maintained by me, the Lunix hosts are set up and maintained by him (and sometimes me when he can't fix something in time)
it's like that port is blocked somehow - if that is an option with openvpn?
Steven
maybe because port 445 is ipcop's interface?
Steven
ASKER CERTIFIED SOLUTION
Avatar of larsga
larsga
Flag of Norway image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
It does sound like a port necessary for SMB is blocked. I do as larsga suggested and try to scan the ports used for SMB (139, 445 usually, but 135 and 137 sometimes, in rare cases) to make sure it reachable by TCP.

Maybe something like this: http://lantricks.com/lanspy/
As I see you use Windows at home (start -> run in your message) try running this at work, and at home and compare, that will l let you and the network guy figure out if SMB is blocked. After that, aside from checking out your Firewall (conf for openvpn, and the output of iptables -L as root on ipcop) I'm afraid I can't do more. =)
Firewall on the local PC - AVG firewall didn't really know how to handle the TAP network adaptor, so I just disabled it and it worked, AVG support is investigating.