How can I secure connection to nextcloud?

Guides and tutorials for various stuff. Posted by DietPi users.
User avatar
Joulinar
Posts: 2287
Joined: Sat Nov 16, 2019 12:49 am

Re: How can I secure connection to nextcloud?

Post by Joulinar »

If you already have a NoIP DDNS, you could use that one (if it's pointing to your home internet access)
Pls let us know if a solution is working. This could help others if they hit by similar situation. Your DietPi Team
JohnDoeFR
Posts: 29
Joined: Tue Sep 22, 2020 6:04 pm

Re: How can I secure connection to nextcloud?

Post by JohnDoeFR »

Yes it is, but the VPN is running on the Dietpi, and keep returning me error when I want to make the certificate
User avatar
Joulinar
Posts: 2287
Joined: Sat Nov 16, 2019 12:49 am

Re: How can I secure connection to nextcloud?

Post by Joulinar »

ah yeah that's the challenge. There is no option to stop the VPN for a moment and create the cert?
Pls let us know if a solution is working. This could help others if they hit by similar situation. Your DietPi Team
JohnDoeFR
Posts: 29
Joined: Tue Sep 22, 2020 6:04 pm

Re: How can I secure connection to nextcloud?

Post by JohnDoeFR »

Didn't think about it -_-
Going to try right now
User avatar
Joulinar
Posts: 2287
Joined: Sat Nov 16, 2019 12:49 am

Re: How can I secure connection to nextcloud?

Post by Joulinar »

Maybe you would need to trigger NoIP client again to have the correct IP assigned. Better to crosscheck on NoIP Website that :)
Pls let us know if a solution is working. This could help others if they hit by similar situation. Your DietPi Team
JohnDoeFR
Posts: 29
Joined: Tue Sep 22, 2020 6:04 pm

Re: How can I secure connection to nextcloud?

Post by JohnDoeFR »

It doesn't work neither, maybe port opening ? DDNS update ?
User avatar
Joulinar
Posts: 2287
Joined: Sat Nov 16, 2019 12:49 am

Re: How can I secure connection to nextcloud?

Post by Joulinar »

yes, you would need to have port 80/443 TCP open. And check that DDNS is correctly updated.
Pls let us know if a solution is working. This could help others if they hit by similar situation. Your DietPi Team
JohnDoeFR
Posts: 29
Joined: Tue Sep 22, 2020 6:04 pm

Re: How can I secure connection to nextcloud?

Post by JohnDoeFR »

I've rerun the NO-IP, but concerning the port opening, on my router it's fine or there is something to do on the rasp ?
JohnDoeFR
Posts: 29
Joined: Tue Sep 22, 2020 6:04 pm

Re: How can I secure connection to nextcloud?

Post by JohnDoeFR »

OK so with port forwarding I can connect VIA the DDNS to the nextcloud, that's cool, BUT, I can't edit the certificate :

Code: Select all

[FAILURE] Certbot failed with error code (1), please check its terminal output. Aborting...
User avatar
Joulinar
Posts: 2287
Joined: Sat Nov 16, 2019 12:49 am

Re: How can I secure connection to nextcloud?

Post by Joulinar »

you just need to ensure that port 80/443 TCP are forwarded from your router to your DietPi device.

Edit: what is the exact error message?
Pls let us know if a solution is working. This could help others if they hit by similar situation. Your DietPi Team
Post Reply