Page 1 of 1

How does myqnapcloud connect?

Posted: Tue Feb 11, 2020 5:29 pm
by ztevie
Ok, I'm confused...
My nas is set up with openvpn, no upnp... the only ports I've port forwarded in the router is for the vpn 1194 and another port 31800 for a unifi controller qpkg. Nothing else, not even ports for http and https.
Still, on my phone from the outside world without starting the VPN client, via myqnapcloud.com and the apps in the phone I can connect to the nas and see everything? How does myqnapcloud bypass my router and get access to the nas?
Also, if I would remove the nas from myqnapcloud or even unregister my cloud account, would I be able to use the mobile apps just thru vpn to get access?

Re: How does myqnapcloud connect?

Posted: Tue Feb 11, 2020 5:52 pm
by Moogle Stiltzkin
by any chance do you have cloudlink enabled i wonder?
https://www.qnap.com/solution/cloudlink/en/

also is there some reason you require using myqnapcloud?

Re: How does myqnapcloud connect?

Posted: Tue Feb 11, 2020 6:17 pm
by ztevie
Moogle Stiltzkin wrote: Tue Feb 11, 2020 5:52 pm by any chance do you have cloudlink enabled i wonder?
https://www.qnap.com/solution/cloudlink/en/

also is there some reason you require using myqnapcloud?
Yes cloudlink is enabled. Really no reason to use myqnapcloud or cloudlink, except I wonder if I can use the qnap android apps without it? Like qfile, qmanager, qphoto etc... If I can use them just through vpn all the better.

Re: How does myqnapcloud connect?

Posted: Tue Feb 11, 2020 6:53 pm
by Moogle Stiltzkin
yeah disable myqnapcloud and cloudlink.,...

cloud link especially bypasses requiring port forward. this is why i asked whether you had it enabled... this could explain why,,, :S

Re: How does myqnapcloud connect?

Posted: Tue Feb 11, 2020 7:07 pm
by ztevie
Ok, I'll try it.... Though I suspect the mobile apps won't work if I remove them both. Should be enough to unlock the nas from myqnapcloud and disable cloudlink? Then try with vpn again...

Re: How does myqnapcloud connect?

Posted: Tue Feb 11, 2020 8:17 pm
by Moogle Stiltzkin
qnap has an android app for qvpn
https://play.google.com/store/apps/deta ... obile.qvpn

i'm not 100% sure, but either u use that or openvpn android app, then connect your smartphone to your qnap remotely.

then using your qnap apps e.g. qfile, you then browse for your QNAP NAS, and it SHOULD detect your NAS.

Like... if your nas lan ip is 192.168.1.100, then enter that and it should work assuming you entered the correct login credentials.

VPN basically makes it work as if it were on the same lan.

If you setup the vpn client on your router, to connect to your qnap server remotely, then you use your android smartphone on the same lan network, i think that the qnap will also still be detected, since everything on your lan should be able to see the vlan in that setup perhaps? :'

Re: How does myqnapcloud connect?

Posted: Tue Feb 11, 2020 9:32 pm
by ztevie
Yeah, that qvpn app is for qbelt I think... I'll try with openvpn first since I already has it up and running...

Re: How does myqnapcloud connect?

Posted: Wed Feb 12, 2020 1:38 am
by ztevie
Ok, for other users lost as me I can happily report that the mobile apps via vpn works fine without using cloudlink/myqnapcloud.
I deactivated my myqnapcloud and cloudlink. Then I switched off the wifi and turned on my vpn client on the phone. In each of the qnap apps I set preferred method of connecting to the nas local network ip. Voila, it connects fine...
The only thing that stopped working was in Qmanager where push messages to my phone is no longer working. Seems that function needs myqnapcloud....

EDIT: The Unifi Controller also works fine thru VPN, so I can now close all ports in the router towards the NAS. Well, except the openvpn port, but thatis closed anyway for outsiders .. So all good here, safe as possibly can be.
Last thing to do is to edit the vpn configuration file for the client side, replacing the out-to-the-www ip with a ddns. Then have the router update the ip for that ddns. Just in case the ISP suddenly change my ip...