Remote Access

Nextcloud is an open source, self-hosted file sync and share and communication app platform. Access & sync your files, contacts, calendars & communicate and collaborate across your devices. You decide what happens with your data, where it is and who can access it!

Moderator: Lillian.W@AST

aka
Posts: 29
youtube meble na wymiar Warszawa
Joined: Mon Sep 12, 2016 12:19 pm

Remote Access

Post by aka »

Installed NEXT CLOUD. How Can I access it from internet ? what's the address ?

Arthur
MikeG.6.5
Posts: 917
Joined: Fri May 15, 2015 1:56 am

Re: Remote Access

Post by MikeG.6.5 »

Nextcloud uses your NAS's built in web server. Generally this means you are going to use ports 80 or 443 to access it. So on the LAN, it's going to be something like https://NAS.IP.goes.here:443/nextcloud

To access it remotely you need to forward the port on your router and and either have a static IP assigned by your ISP, or use a DDNS service. Luckily Asustor provides you with one, so if you set it up in the ADM Web App -> Settings -> Manually Connect and create or use your existing ID there to make a permanent DDNS connection with your NAS. (Don't forget to forward the ports on your router. Without this it WON'T WORK!)

Then the address should be something like: https://yourasustoridhere.myasustor.com:443/nextcloud. You will need to edit this to get your own user ID there. Leave the myasustor.com part, though. That's important. It's like the city, state and country codes on snail mail. It tells the DNS servers where to start looking for your user ID.

HTH

EDIT: OK, just installed this myself as a test. You DO need to forward ports as I said above, ports 80 and 443 if those are your default web ports. After this you can access it via your ddns name NP. You will NOT need to put ports in the address line, though. Nextcloud figures it out itself. If you want to use different ports for security, then you may need to include them as the examples I have above. (Some folks may change the default ports from 80 to 32080 and 443 to 15443 for example.)
DrMartinus
Posts: 34
Joined: Thu Jun 29, 2017 5:07 pm

Re: Remote Access

Post by DrMartinus »

Hi,

it's a long time since someone wrote into this thread, but I habe problems with the remote access, even though I followed instructions. It may have to do with setting up nextcloud properly. I just got my Asustor A1004T. If I call

Code: Select all

https://my.nas.url:443/nextcloud
, I get at best
The page that you requested was not found.
Nextcloud tells me I should tighten up security, which I want to do, but it seems to involve editing some config files, and I have no idea how to get there on the NAS. The file explorer allows access only to a few folders, it seems, and not to the system (even when logged in as admin). A text editor seems not available.
As said, I am new to this, but I have already spent many hours on researching and maybe I just get confused.
I'll be grateful for any help.

Martin
Asustor AS6104T
User avatar
orion
Posts: 3485
Joined: Wed May 29, 2013 11:09 am

Re: Remote Access

Post by orion »

DrMartinus wrote:Hi,

it's a long time since someone wrote into this thread, but I habe problems with the remote access, even though I followed instructions. It may have to do with setting up nextcloud properly. I just got my Asustor A1004T. If I call

Code: Select all

https://my.nas.url:443/nextcloud
, I get at best
The page that you requested was not found.
Nextcloud tells me I should tighten up security, which I want to do, but it seems to involve editing some config files, and I have no idea how to get there on the NAS. The file explorer allows access only to a few folders, it seems, and not to the system (even when logged in as admin). A text editor seems not available.
As said, I am new to this, but I have already spent many hours on researching and maybe I just get confused.
I'll be grateful for any help.

Martin
You should enable SSH service under ADM web page -> Services -> Terminal. Then simply use ssh tool to connect to NAS with root account (password is the same as admin). The directory of nextcloud is "/volume1/Web/nextcloud"
sksbir
Posts: 395
Joined: Tue Aug 25, 2015 9:23 pm

Re: Remote Access

Post by sksbir »

hi

sorry but this is a bit confused : The page that you requested was not found./Nextcloud tells me I should tighten up security
Either you have "page not found", or some page generated by nextcloud...
DrMartinus
Posts: 34
Joined: Thu Jun 29, 2017 5:07 pm

Re: Remote Access

Post by DrMartinus »

I don't find this confusing, but I will explain a little more: When I call up Nextcloud from within the local nextwork (http://IP-address/nextcloud) and go to the administration page, I get the advise to tighten up security. I don't have the exact wording (for the local access, I use a small netbook which is a bit hard for me to handle, as my eyesight isn't that good and the script is small; so I use preferably my desktop PC, but that's connected to a different network and needs the remote access). When I try to connect to the page with the remote URL, I get the "page not found" message. I have forwarded the ports to the NAS, so this shouldn't be a problem. And it seems that I connect to the NAS, because the page with the error message comes from the NAS (therefore: port forwarding works).
Asustor AS6104T
sksbir
Posts: 395
Joined: Tue Aug 25, 2015 9:23 pm

Re: Remote Access

Post by sksbir »

You have two problems here.
1/ "page not found" while trying to access your server from outside your local network: The most obvious source of problem is human error : has you are using two different computers to test either from local network or from outside, you had to manually type in the URL.
For example : http://<IPaddress>/nexcloud is OK and http://<remoteURL>/Nextcloud gives you "page not found". Of course, this is normal ( because of big N )
see ? either Nextcloud, or netxcloud, ... or anything else instead of nextcloud, or https instead of http... human is often the weak point.

If not, then you have to check if <remoteURL> is really pointing to your NAS : what about testing http://<IPaddress> and http://<remoteURL> ? you should get the default page from Asustor web server ( the one with the big green check has shown here : https://www.justegeek.fr/tuto-serveur-w ... s-asustor/ )
Did you forward 80/tcp ? are you sure your router is not generating it's own webpage on default web port ? ( eg : administration page ).

2/ nextcloud and security : did you add your URL and your IP has trusted domains ? ( https://help.nextcloud.com/t/adding-a-n ... -domain/26 )
t1mb00
Posts: 1
Joined: Thu Aug 31, 2017 2:41 am

Re: Remote Access

Post by t1mb00 »

I also have the same issue that on my own network I can hit the myasustor URL or the specific ip address and hit nextcloud however when external to my LAN the connection never resolves for either. I know the port is open at the router based on a scan "open port checker". Also interesting is that when I use AIData app on my android phone this works but only when the Asustor NAS has allow all for the firewall - which doesn't seem right. Not sure if these issues are ADM3.0 related or not, only looked at any of this since ADM3.0 update. all seems odd.
DrMartinus
Posts: 34
Joined: Thu Jun 29, 2017 5:07 pm

Re: Remote Access

Post by DrMartinus »

Hi folks,
sorry, I'm back again with the same problem. I had a knee surgery which put me down for a while, then I decided to swap the AS1004T with a AS6104T because I needed better performance for what I want to use it for.
After the swap, I am entirely unable to access the webserver from the external network. If I call the DDNS-URL, I get "no access" from Firefox. If I call the IP-Adress from the local network (PC is attached via cable with the router) and add "/nextcloud", I get at best the "Oops! The page you requested was not found." page from Asustor (when I use the port for the ADM - and then I can understand this reaction).
I admit that I am a bit confused about port forwarding. I have port 8001 through which I have secure access to the ADM with no problem, both from remote DDNS-URL and from IP-address, and I have set port 80 for the web browser and set 443 for secure access for the web browser, yet I get only the firefox response (via DDNS-URL) that the server is not accessible. The same happens when I try to connect to Photo Gallery, and it happens both when trying to use local IP-address or remote DDNS-address.
I'm pretty certain that the mistake is at my end, but I need help to losen the knot in my brain... :-)

I hope I could make myself clear. Any help will be appreciated!
Asustor AS6104T
DrMartinus
Posts: 34
Joined: Thu Jun 29, 2017 5:07 pm

Re: Remote Access

Post by DrMartinus »

Since there is no reply (yet), I add a little more information:

I tried turning the webserver off and on, no difference. I cannot access any website by just entering the IP address of the NAS within the local network. I now wonder, if this is due to the fact that I just took out the HDDs from the previous Asustor-NAS and put them into the new one. In several howto's it said that this would be the way, but maybe something went wrong there. Should I reset the system? If so, what should I backup?
I was surprised also that no USB drive is being recognised by the NAS. That may be relevant when it comes to the backup... I'm at a loss and would be happy if anyone can help me.
Asustor AS6104T
Post Reply

Return to “Nextcloud”