Nextcloud AIO behind CGNAT

  • hello world,


    I am having 0 background in IT but have been trying to step into the home server game and learning on the fly.


    So I followed the installation guides and got my whole OMV setup such that I was able to run Nextcloud AIO with Nginx Proxy Manager. I used Duckdns for the domain and port forwarding on my router.


    The whole setup worked and I was able to access the internet-exposed AIO. That was only for a day, as my IPv4 changed overnight. I learned about CGNAT and the current situation is this:

    - ISP has CGNAT (my IPv4 changes everynight)

    - ISP provides PPPoE Internet access credntials

    - ISP also provides an IPv6

    - Router is Fritzbox 7490, natively supports OpenVPN and Wireguard

    - I also have a ProtonVPN paid account


    I scoured the internet and came across Tailscale, Headscale, Traefik, Wireguard, etc.


    Can someone please help me find a simple and straightforward solution for the CGNAT problem. I dont want update the IPv4 on DuckDNS everynight.


    Thanks & Cheers!!

    (this is my firstpost on an internet forum so please bear with me ;) )

  • chente

    Approved the thread.
    • Official Post

    I get the feeling that you are confusing dynamic IP with CGNAT. They are two very different things.

    If your ISP really has your network behind CGNAT you will never be able to access your network from outside without Tailscale or something similar.

    If the problem is a dynamic IP (as 99% of us have) it is easily solved, for example with a task scheduled in the OMV GUI. https://wiki.omv-extras.org/do…pdate_with_duckdns_on_omv If you're not comfortable with that, there is a linuxserver container that does the same job, I can't remember the name.

  • wow! Thanks a lot for that update. You are probably right! I forgot to mention one small fact earlier. My router supports DyDNS for DuckDNS: (https://en.avm.de/service/know…mic-DNS-in-the-FRITZ-Box/)


    So I had updated the router with the correct details. After doing it I saw that DuckDNS was getting updated after some intervals with some IP (probably the public IP) that was not my router IP (which I originally gave to DuckDNS).


    But with the update my AIO was going down. It came back up when I reupdated DuckDNS with my router IP. But I think I was checking AIO from my Wifi and not mobile data as mentioned on the OMV FAQ. If that does not work I will try the scheduled task, and post an update here.


    Edit:

    Btw can I check somehow if its Dynamic IP or CGNAT?

    • Official Post

    If it's changing every night, in all likelihood.. it's just dynamic..


    You have two solutions that are relatively easy.


    1. You can use duckdns and use the duckdns script to update your IP regularly.


    2. If you've purchased a domain to use... you can route that domain through a free cloudflare account, and then use a script to update your cloudflare IP at a scheduled interval.


  • You are not alone, here you will find many answers to your questions.

Participate now!

Don’t have an account yet? Register yourself now and be a part of our community!