siropmoss
Dabbler
- Joined
- Jan 31, 2021
- Messages
- 30
How can i do it?If your router is imcapable of doing that, you will have to redirect port 8282 from your WAN address to your FreeNAS ...
How can i do it?If your router is imcapable of doing that, you will have to redirect port 8282 from your WAN address to your FreeNAS ...
i´ll tryAsk your router manual, the router manufacturer, the router community forum ... none of this is a FreeNAS issue.
You said you redirected port 80 and 443. But your Nextcloud is not running on these ports. So do what you already did but for port 8282, I guess ...
So indeed, it does do something--it gives you an error message. That would have been helpful to know a week ago. That error doesn't rule out DNS as the cause of the problem, but it doesn't very clearly indicate it either--there are many other things that could cause that error.Connection timed out/ couldn´t access this page. That is what it shows.
...but if he's getting "connection timed out", there are likely other issues as well. I don't think the full GUI will load with only those ports (which is just as well; it shouldn't be exposed to the Internet), but he'd see some of it.You said you redirected port 80 and 443
Default gateway on the NAS missing?but if he's getting "connection timed out", there are likely other issues as well.
Nextcloud and FreeNAS itself are two completely different things. Nextcloud, if you take reasonable steps to secure it (like not using the plugin, using TLS, using strong passwords, etc.), is pretty secure, and can reasonably safely be exposed to the Internet--it's designed for that. The FreeNAS GUI and sharing protocols aren't.I guess exposing my nextcloud and my freenas to the Internet is not the best option.
I have used the tool, and my DDNS point to my router public ipSo indeed, it does do something--it gives you an error message. That would have been helpful to know a week ago. That error doesn't rule out DNS as the cause of the problem, but it doesn't very clearly indicate it either--there are many other things that could cause that error.
Does your DDNS name point to the correct IP address? Use the tool I linked above to check.
Then in that case, DNS is not your problem--the DDNS service may or may not be working as intended, but it isn't your immediate problem. Having finally determined that, the likely candidate is your router configuration. I'm not at all familiar with the capabilities of your device, and the web searching I'm doing isn't finding much in the way of documentation for it. You might be better off putting it in bridge mode, and putting a more-capable router behind it.I have used the tool, and my DDNS point to my router public ip
I will try it. Thank youWhat I personally think you should do is ditch the plugin and its messy use of NAT (which, AFAICT, makes it impossible to implement TLS there), and use my script instead:
Scripted installation of Nextcloud 28 in iocage jail
Status: This script will run with TrueNAS CORE 13. It's possible, but untested, that it will work with FreeNAS 12. Earlier versions are not supported. There are a number of guides on the forum to install Nextcloud, but they all rely on a lot of...www.truenas.com
Then Nextcloud will have its own IP address, distinct from the FreeNAS box. Forward ports 80 and 443 to that IP address. As a bonus, it will handle TLS certificates for you too.
If you don't want to do that (perhaps because you already have data in the Nextcloud plugin), set up a reverse proxy that will handle TLS termination for you. I have a guide for that as well:
Reverse Proxy using Caddy (with optional automatic TLS)
Many users install a variety of web applications in jails on their FreeNAS servers, and often those applications run on non-standard ports like 6789, 8181, 7878, etc. These port numbers are far from intuitive, and the applications often either...www.truenas.com
Then forward 80/443 to that jail's IP address. If you'd rather use a different reverse proxy software instead, there are other guides in the Resources section using Nginx and perhaps other software as well.