Page 1 of 1

Cannot access OMV5 Network Shares over Internet in Windows 10 Laptop with OpenVPN

Posted: Sat Oct 24, 2020 3:04 am
by dcm1337
I have successfully connected to my OMV5 server with OpenVPN over the internet with my Laptop running Windows 10. My home router has port forwarding to my OMV5 server with port 1194 on.

However, I expected to see my server pop up in the "Network and Sharing" center like it does when I am at home on my home network. Unfortunately it does not appear and I cannot access my Network Shares from across the internet.

What could I be doing wrong? I have heard it might have something to do with Windows Firewall, but I don't know what steps to take exactly.

Also, I am having trouble copying the OpenVPN configuration file in my OMV5 server locating in /etc/openvpn/openvpn.conf

I will post it when I can. But I do have the following command:

push "redirect-gateway defl bypass-dhcp"

One person said adding this fixes the issue, but it is already added to the .conf file. Any ideas for a solution?

Re: Cannot access OMV5 Network Shares over Internet in Windows 10 Laptop with OpenVPN

Posted: Sat Oct 24, 2020 2:01 pm
by TinCanTech
Try using:

Code: Select all

net use x: \\server.ip.add.ress\share-name

Re: Cannot access OMV5 Network Shares over Internet in Windows 10 Laptop with OpenVPN

Posted: Sat Oct 24, 2020 4:02 pm
by dcm1337
TinCanTech wrote:
Sat Oct 24, 2020 2:01 pm
Try using:

Code: Select all

net use x: \\server.ip.add.ress\share-name
Thanks for the suggestions. I ran this in the WIndows 10 command prompt:

net use x:\\public.ip.address:1194\share-name

It gives "System error 53 has occurred. The network path was not found." I believe I was using the correct share name. Any ideas what could be causing that error?

Re: Cannot access OMV5 Network Shares over Internet in Windows 10 Laptop with OpenVPN

Posted: Sun Oct 25, 2020 11:59 pm
by dcm1337
Bumping this for assistance. Thanks.

Re: Cannot access OMV5 Network Shares over Internet in Windows 10 Laptop with OpenVPN

Posted: Mon Oct 26, 2020 10:51 pm
by TinCanTech
dcm1337 wrote:
Sat Oct 24, 2020 4:02 pm
net use x:\\public.ip.address:1194\share-name

It gives "System error 53 has occurred. The network path was not found."
That is not the advice given.

Code: Select all

net use x: \\vpn.ip.address\share-name

Re: Cannot access OMV5 Network Shares over Internet in Windows 10 Laptop with OpenVPN

Posted: Tue Oct 27, 2020 2:04 am
by dcm1337
TinCanTech wrote:
Mon Oct 26, 2020 10:51 pm
dcm1337 wrote:
Sat Oct 24, 2020 4:02 pm
net use x:\\public.ip.address:1194\share-name

It gives "System error 53 has occurred. The network path was not found."
That is not the advice given.

Code: Select all

net use x: \\vpn.ip.address\share-name
I just tried using that command with the VPN address. Still no luck.

I will just go ahead and state the VPN address. It is 10.8.0.2. In the OpenVPN window it is shown below the log area, where it says "assigned IP". I also tried using 10.8.0.0. Both of these give me the same "The network path was not found" error.

I also tried typing the share name in different ways, if it was case sensitive. I will just go ahead and say what it is too. It is the default share name of openmediavault. It is just "OPENMEDIAVAULT", but I also tried OpenMediaVault etc.

I did do this within my private network, but can try outside the network too. Any idea what is going on?

Re: Cannot access OMV5 Network Shares over Internet in Windows 10 Laptop with OpenVPN

Posted: Tue Oct 27, 2020 2:15 am
by TinCanTech
tincanteksup <at> gmail dot com

Fees apply.

Re: Cannot access OMV5 Network Shares over Internet in Windows 10 Laptop with OpenVPN

Posted: Tue Oct 27, 2020 3:50 pm
by dcm1337
TinCanTech wrote:
Tue Oct 27, 2020 2:15 am
tincanteksup <at> gmail dot com

Fees apply.
Thanks for the offer I may send you a message. But one last question for anyone else: I actually did not have "NFS" enabled on my OMV5 menu. Well, I just enabled NFS shares and added a share. Maybe that is what was wrong - I will try to connect via VPN from outside my network and update the results.

Re: Cannot access OMV5 Network Shares over Internet in Windows 10 Laptop with OpenVPN

Posted: Sat Oct 31, 2020 12:56 am
by dcm1337
dcm1337 wrote:
Tue Oct 27, 2020 3:50 pm
TinCanTech wrote:
Tue Oct 27, 2020 2:15 am
tincanteksup <at> gmail dot com

Fees apply.
Thanks for the offer I may send you a message. But one last question for anyone else: I actually did not have "NFS" enabled on my OMV5 menu. Well, I just enabled NFS shares and added a share. Maybe that is what was wrong - I will try to connect via VPN from outside my network and update the results.
I just tried with NFS turned on in my OMV5. Unfortunately I get the same "System error 53 occurred. The network path was not found". I am at a loss for answers. Any ideas?