Kitz Forum

Computers & Hardware => Networking => Topic started by: grahamb on January 03, 2022, 01:38:37 AM

Title: NextcloudPi
Post by: grahamb on January 03, 2022, 01:38:37 AM
It's taken me a while but I've finally decided to put my Raspberry Pi 4 to good use and managed to successfully set up a NextcloudPi instance, using the image on the ownyourbits website. Everything seems to be working fine, including being able to access it from outside my network, via the FreeDNS domain I set up.

The only problem I have is that to access my cloud from outside my network, I let the settings in NextcloudPi set up the port forwarding automatically on my ZyXEL VMG8924-B10A. For this to happen, I had to enable UPnP but if I then disable it, as recommended, the ports are closed and I am unable to access the cloud from outside my network.

Having delved into the router settings, I find that Nextcloud automatically sets up the port forwarding under the UPnP tab in Home Networking and not in the Port Forwarding tab in NAT. This is wrong, isn't it (?) so should I delete whatever is in the UPnP tab and manually set up port forwarding? If this is the case, I'd appreciate some guidance in setting up the port forwarding as I'm not 100% sure what I should do. Ta. :)
Title: Re: NextcloudPi
Post by: Reformed on January 03, 2022, 09:20:50 AM
Both work fine, the port forwarding screen is for the port forwards / static NAT you have configured manually and they decided to put the UPnP-configured NAT in a different tab.

If you've been running without UPNP and are happy to build the port forwarding manually, as long as there are fixed ports, might as well do that again.

Appreciate that some aren't fans of UPNP due to some past issues. I'm too lazy to build forwarding manually and that's the only reason I have.

TL;DR as long as the ports needed are fixed it's your call. If they aren't UPNP required.
Title: Re: NextcloudPi
Post by: grahamb on January 04, 2022, 06:30:28 PM
Thanks for replying.  :) My hand ended up being forced anyway, as I suffered a power cut at home (due to forgetting that my electricity meter needed topping up), and so decided to have a go at doing it manually and see if I broke anything.

I didn't break anything...  :thumbs: