NextCloud Questions before installing

Hello Yall,

I plan to use next cloud, and i know people recommend doing letsencrypt and SSL and such. but i have a couple things here

  1. I want my NextCloud to be local only, but be able to access on outside world via VPN into my network. Is this best option for me?
  2. I could do the SSL route and setup a no-ip situation, but my problem is no matter what i do inside my network if i try to goto the no-ip address it auto goes to my ISPs Gateway (Xfinity) Very annoying…
    Any Feedback appreciated.

doable, but if you want a vpn there are better ways to share files – better than a php application running on top of a webserver. (nfs, smb…)

have you set up your router for port-forwarding? if you don’t have an external node, you’ll have to do this for a vpn, too.

  1. i already have a VPN setup on a different server, so its been existing

  2. i have setup port forwarding and all that, but anytime i access port 80 regardless of port forwarding it auto goes to my modem =( even though remote access is shut off on the modem/router combo which irritates me.

If nat hairpinning works, don’t worry about port 80. Port 443 is the important one. (and if you setup hsts your browser won’t even try port 80 anymore)

It will work both ways, your choice. Maybe you want to check if you want http2, but that’s it, mostly.

Since it’s only available locally within your own network; forget SSL/no-ip. You could just tell Nextcloud its address is not a hostname, but a local IP within your own local network. So you then access Nextcloud via something like http://192.168.1.123.
And when you VPN into your own network you just use the same http://192.168.1.123.

I know this works because I have done this once as well, before I arranged a good reverse proxy setup over here :slight_smile:

ty for the feedback

In the case of #2, the proper solution is to have split horizon DNS at your home so while on your network the name resolves to the local IP address. If you don’t have a DNS server available, you could always set up bind on your Nextcloud box and use it for your home DNS.