We help IT Professionals succeed at work.

shared folders not accessible over openvpn

1,016 Views
Last Modified: 2013-12-02
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
Comment
Watch Question

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!

Author

Commented:
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

Author

Commented:
maybe because port 445 is ipcop's interface?
Steven
Commented:
This one is on us!
(Get your first solution completely free - no credit card required)
UNLOCK SOLUTION
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. =)

Author

Commented:
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.

Gain unlimited access to on-demand training courses with an Experts Exchange subscription.

Get Access
Why Experts Exchange?

Experts Exchange always has the answer, or at the least points me in the correct direction! It is like having another employee that is extremely experienced.

Jim Murphy
Programmer at Smart IT Solutions

When asked, what has been your best career decision?

Deciding to stick with EE.

Mohamed Asif
Technical Department Head

Being involved with EE helped me to grow personally and professionally.

Carl Webster
CTP, Sr Infrastructure Consultant
Empower Your Career
Did You Know?

We've partnered with two important charities to provide clean water and computer science education to those who need it most. READ MORE

Ask ANY Question

Connect with Certified Experts to gain insight and support on specific technology challenges including:

  • Troubleshooting
  • Research
  • Professional Opinions
Unlock the solution to this question.
Join our community and discover your potential

Experts Exchange is the only place where you can interact directly with leading experts in the technology field. Become a member today and access the collective knowledge of thousands of technology experts.

*This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.

OR

Please enter a first name

Please enter a last name

8+ characters (letters, numbers, and a symbol)

By clicking, you agree to the Terms of Use and Privacy Policy.