Setup Nextcloud on Freenas 11.3
On 3/1/2020 at 10:18 PM, Jarsky said:
It seems you've configured it just fine. In order to use it external you need to use your external IP address.
You can get that by going to https://www.google.com/search?q=what+is+my+ip
You'll also need to setup port forwarding in your router for port 80 and 443 TCP, to your NextCloud jails IP address.
Most common Port Forwarding guides can be found here: https://portforward.com/router.htm
Once you've confirmed that all works, if you have a Dynamic IP (one that changes every now and then) then you could setup a DynamicDNS to make it easier. DuckDNS is a good free one, and someone has already done a tutorial on setting it up on FreeNAS.
This post got it working but only one part. thank you for the help @Jarsky
1. " It seems you've configured it just fine. In order to use it external you need to use your external IP address.
You can get that by going to https://www.google.com/search?q=what+is+my+ip "
This post didn't do much as i easily got my IP from the provided link. But i didn't know what to do with it. once i had my external IP address, what do i do next? How do i point it to nextcloud or vice versa? can i add it to freenas? I simply didn't know what to do with the external IP. Obviously I greatly appreciate the help and support, but i needed more info and guidance with this particular solution.
2. " You'll also need to setup port forwarding in your router for port 80 and 443 TCP, to your NextCloud jails IP address.
Most common Port Forwarding guides can be found here: https://portforward.com/router.htm "
Next was this opening of the ports which had already been done. There was plenty of info out on the web about that. Plus I had a good general knowledge that that needs to be done. Thank you. I know this info would help others so it is verymuch helpful on this forum. Thank you.
3. " Once you've confirmed that all works, if you have a Dynamic IP (one that changes every now and then) then you could setup a DynamicDNS to make it easier. DuckDNS is a good free one, and someone has already done a tutorial on setting it up on FreeNAS. "
This was the post that got the ball rolling in the right direction. This setup was very easy, following instructions at the provided link. Once i finished with the instructions from the link I used the web address and ip that was setup during the DuckDNS add domain step. (example.duckdns.org and a numbered public IP address generated during that step) After that I had to complete a few more steps and finally... DONE!!
I am able to access my nextcloud server from any location and any network including my cell network away from home. My setup isn't complete yet though. I still need to properly secure it as i can only access it through "HTTP" and NOT "HTTPS" But that will be another thread as i'm sure its complicated and ill have to learn more about certificates or whatever is used to secure it.
I will be posting one more time to this thread with my full setup instructions and procedure when i can get it written out with screenshots to help others get their own cloud server up and running.
Again, thank you to all the info you guys provided and help that i def needed, being new to the server world.