Reply
Occasional Advisor
rp1783
Posts: 12
Registered: ‎11-21-2013
0

OpenVPN

I know you could install openvpn server on the MBL but had anyone attempted this on the My Cloud?
Frequent Advisor
JRman
Posts: 47
Registered: ‎11-05-2013
0

Re: OpenVPN

Just be careful as the WD MyCloud is already running openvpn client.....

 

This how it allow the "Cloud" access via somesort of gateway through the WD web site.

 

WDMyCloud:/usr/local/orion/openvpnclient# ps -ef | grep openvpn|grep -v grep
root 8087 1 0 20:22 ? 00:00:00 openvpn /usr/local/orion/openvpnclient/client.ovpn

 

The connection points:

 

WDMyCloud:/usr/local/orion/openvpnclient# grep remote client.ovpn
# You can have multiple remote entries
#remote 10.101.253.100 1194
;remote 127.0.0.1 1194
;remote my-server-2 1194
remote orionrelay2.wd2go.com 14069
remote orionrelay1.wd2go.com 14356
remote orionrelay3.wd2go.com 14573
remote orionrelay4.wd2go.com 14796
remote orionrelay5.wd2go.com 14263
remote orionrelay6.wd2go.com 14924
remote orionrelay7.wd2go.com 14833
remote orionrelay8.wd2go.com 14391
remote orionrelay9.wd2go.com 14457
remote orionrelay10.wd2go.com 14113
remote orionrelay11.wd2go.com 14194
remote orionrelay12.wd2go.com 14631
remote orionrelay13.wd2go.com 14572
remote orionrelay14.wd2go.com 14969
remote orionrelay15.wd2go.com 14128
remote orionrelay16.wd2go.com 14732
remote orionrelay17.wd2go.com 14278
remote orionrelay18.wd2go.com 14193
remote orionrelay19.wd2go.com 14133
remote orionrelay20.wd2go.com 14084
remote orionrelay21.wd2go.com 14023
remote orionrelay22.wd2go.com 14861
remote orionrelay23.wd2go.com 14238
remote orionrelay24.wd2go.com 14604
remote orionrelay25.wd2go.com 14309
remote orionrelay26.wd2go.com 14733
remote orionrelay27.wd2go.com 14736
remote orionrelay28.wd2go.com 14482
remote orionrelay29.wd2go.com 14202
remote orionrelay30.wd2go.com 14563
remote orionrelay31.wd2go.com 14211
remote orionrelay32.wd2go.com 14363
remote orionrelay33.wd2go.com 14184
remote orionrelay34.wd2go.com 14830
remote orionrelay35.wd2go.com 14599
remote orionrelay36.wd2go.com 14505
# Choose a random host from the remote
remote-random

Trusted Contributor
BullZeye
Posts: 151
Registered: ‎11-07-2013
0

Re: OpenVPN

That means I can get full access to the internet even when my work has few ports disabled? This is what openVPN good for? Or am I wrong?

 

If this is good for that, how can I set up, to make it work?

Trusted Contributor
sammarbella
Posts: 242
Registered: ‎11-20-2013
0

Re: OpenVPN


JRman wrote:

Just be careful as the WD MyCloud is already running openvpn client.....

 

This how it allow the "Cloud" access via somesort of gateway through the WD web site.

 

WDMyCloud:/usr/local/orion/openvpnclient# ps -ef | grep openvpn|grep -v grep
root 8087 1 0 20:22 ? 00:00:00 openvpn /usr/local/orion/openvpnclient/client.ovpn

 


JRman this is a very interesting subject!

 

Do you know how to disable it?

 

i would like to use enabled openVPN TAP server from my router to an openVPN client on android phone/tablet for WAN access to twonky in MyCloud and forget unstabled (maybe TUN?) and closed WD cloud solution.

 

 

 

Frequent Advisor
JRman
Posts: 47
Registered: ‎11-05-2013
0

Re: OpenVPN

 

If you disable "Cloud Access" in the GUI interface, that will stop the openvpn client from running.

 

My Cloud->Settings ->General ->Cloud Access-> Remote Access - Set slider to OFF

 

 

Trusted Contributor
sammarbella
Posts: 242
Registered: ‎11-20-2013
0

Re: OpenVPN

Thanks JRman

 

I mean removed from OS startup if it's a service running at boot.  

 

I asked cause I thought I could be a startup process even if cloud option was off. 

I'm a little paranoid about privacy. 

 

 

Frequent Advisor
JRman
Posts: 47
Registered: ‎11-05-2013
0

Re: OpenVPN

If you want to permanently disable, you can SSH into the WDMyCloud and remove the execute bits on the openvpn binary.

 

This way it can NEVER run even if selected as ENABLED in the GUI:

 

 chmod 444 /usr/sbin/openvpn


To restore back to orginal:

 

chmod 755 /usr/sbin/openvpn

 

NOTE: any firmware update will restore the execute bits, you must RE DO the chmod 444 after any upgrade!!!!

Trusted Contributor
sammarbella
Posts: 242
Registered: ‎11-20-2013
0

Re: OpenVPN

 

Thanks JRman. 

 

With these so clear instructions even a Linux noob like me will be able to do it!

 

 

 

 

 

Occasional Advisor
rp1783
Posts: 12
Registered: ‎11-21-2013
0

Re: OpenVPN

Isn't it possible to keep the cloud access feature as well as add another separate vpn connection using openvpn? I'm sort of a noob, but wondering if someone can do a quick guide on this if possible.

Trusted Contributor
sammarbella
Posts: 242
Registered: ‎11-20-2013
0

Re: OpenVPN

[ Edited ]

I would prefer to use  a single OpenVPN wich i could configure to specific needs like tap for broadcasting and dhcp in the same lan range than take the risk to face strange interferences from 2 services doing almost the same. 

 

For a guide there is one for MBL:

 

HOWTO-MBL-as-OpenVPN-server

 

My linux knowledge is still  very limited to discern the possible adaptation if needed to MyCloud. 

 

Maybe you can put some light on this. 

 

My current approach is to enable openvpn server in my router and disable wd ones in MyCloud. 

Forums | Ideas | News and Announcements | Register | Sign in | Help | Forum Guidelines
Copyright © 2001 - 2014 Western Digital Technologies, Inc. All rights reserved. | Trademarks | Privacy | Community Terms of Service | Site Terms of Use | Copyright | Contact WD