# Noob Question about AIO security

**URL:** <https://help.nextcloud.com/t/noob-question-about-aio-security/188712>\
**Category:** ℹ️ Support\
**Tags:** aio\
**Created:** [April 22, 2024, 12:00am UTC](https://help.nextcloud.com/t/noob-question-about-aio-security/188712 "2024-04-22T00:00:27Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![limejello404](https://help.nextcloud.com/letter_avatar/limejello404/32/6_22734026db12803ebb3e059622ac3534.png) [@limejello404](https://help.nextcloud.com/u/limejello404)\
**Post date:** [April 22, 2024, 12:00am UTC](https://help.nextcloud.com/t/noob-question-about-aio-security/188712/1 "2024-04-22T00:00:27Z")

</div>

Hello! I am new to Nextcloud and this sort of IT/Server stuff. I was initially looking at running Nextcloud AIO in a Docker container on Windows using Cloudflare Tunnels as my security measure. However, upon some brief research about what Nextcloud AIO is, it seems like that may be unnecessary…? I do want my server accessible globally by a domain, but I want to make sure I expose my network as safely as possible. Can I simply use a service like DuckDNS, forward the required ports on my router, and call it good? Is that safe, or should I use an external proxy like NGINX?

Thanks in advance!

---

<div class="post-metadata">

**Author:** ![dugite-code](https://help.nextcloud.com/user_avatar/help.nextcloud.com/dugite-code/32/6434_2.png) [@dugite-code](https://help.nextcloud.com/u/dugite-code)\
**Post date:** [April 22, 2024, 3:59am UTC](https://help.nextcloud.com/t/noob-question-about-aio-security/188712/2 "2024-04-22T03:59:02Z")

</div>

> it seems like that may be unnecessary…?

Yes, no, maybe. Security is tricky and it depends on the effort you want to employ. Boils down to “how long is a piece of string”

Opening a port on your firewall comes with a lot of risks. You are granting access to the world a subset of your home network. Typically at a minimum you should:

- Deploy a DMZ, isolating your externally accessible server from the rest of your network.
- Setup monitoring to detect unusual activity.
- Have an update schedule/auto-updates to avoid security issues.
- Other attack surface mitigations like geo-blocking. I personally like geo-blocking for small deployments as it’s quite simple and surprisingly effective.

That said **I would always recommend using a VPN. Especially for a “Noob”**

VPN’s like wireguard, or a more user friendly option like Tailscale are a **VERY** good option for beginners. Mainly because it’s extreamly secure, easy to setup, doesn’t introduce many complications and if you use something like Tailscale doesn’t require any manual firewall shenanigans.

You mentioned cloudflare tunnels, they are a nice option and allow ad-hoc access domain based access where as VPN requires application setup. Each comes with some downsides and upsides such as complications regarding access setup and limitations due to architectural choices some applications use. VPN’S tent to be the more robust, secure and simple option IMHO.

> Is that safe, or should I use an external proxy like NGINX?

It’s not necessary to have a external proxy, the AIO package has a containerized proxy that is up-to-date and well configured. You won’t provide additional security benefits, at least out of the box.

---

<div class="post-metadata">

**Author:** ![Kerasit](https://help.nextcloud.com/user_avatar/help.nextcloud.com/kerasit/32/78080_2.png) [@Kerasit](https://help.nextcloud.com/u/Kerasit)\
**Post date:** [April 22, 2024, 5:14am UTC](https://help.nextcloud.com/t/noob-question-about-aio-security/188712/3 "2024-04-22T05:14:15Z")

</div>

Security is a matter of the entire path and infrastructure, not the final “destination” only.

---

<div class="post-metadata">

**Author:** ![wwe](https://help.nextcloud.com/user_avatar/help.nextcloud.com/wwe/32/72963_2.png) [@wwe](https://help.nextcloud.com/u/wwe)\
**Post date:** [April 22, 2024, 9:54am UTC](https://help.nextcloud.com/t/noob-question-about-aio-security/188712/4 "2024-04-22T09:54:14Z")

</div>

hi @limejello404 welocme to the forum 🤝

Please review this post to understand most important security measures of Nextcloud system [How to maintain, check and improve the security of your Nextcloud installation?](https://help.nextcloud.com/t/how-to-maintain-check-and-improve-the-security-of-your-nextcloud-installation/152060)

---

<div class="post-metadata">

**Author:** ![wwe](https://help.nextcloud.com/user_avatar/help.nextcloud.com/wwe/32/72963_2.png) [@wwe](https://help.nextcloud.com/u/wwe)\
**Post date:** [January 16, 2025, 8:28am UTC](https://help.nextcloud.com/t/noob-question-about-aio-security/188712/5 "2025-01-16T08:28:05Z")

</div>


