Hi everyone!

I’m looking into self-hosting, and I currently have dynamic DNS set up to point to my home IP.

My question: is it worth getting a dedicated IP through a VPN?

I’m pretty technically savvy, but when it comes to networking I lack practical experience. My thought is that pointing my domain to a dedicated IP and routing that traffic to my home IP would be safer - especially if I only allow traffic on certain ports from that IP. Just curious if that idea holds up in practice, or if it’s not worth the effort.

  • @peregus
    link
    English
    35 months ago

    Why do firewall rules need to resolve FQDNs?

    • @VelociCatTurd
      link
      English
      15 months ago

      To resolve whatever hostname you’ve setup for ddns

      • @peregus
        link
        English
        15 months ago

        Sorry, but I still don’t understand, what’s the need for that?

        • @VelociCatTurd
          link
          English
          15 months ago

          Because you’re not going to setup any rules pointed to a dynamic public IP address. Otherwise you’re going to be finding a way to change the rule every time the ip changes.

          The ddns automatically updates an A record with your public IP address any time it changes, so yeah the rules would use the fqdn for that A record.

          • @peregus
            link
            English
            15 months ago

            What’s the need of the public IP in the firewall rules?

            • @VelociCatTurd
              link
              English
              15 months ago

              If OP needs a firewall rule to do any number of things that a firewall does.

              • @peregus
                link
                English
                15 months ago

                I’m curious to know in which case is useful to know the public IP in a firewall rule because I’ve never used it.

                • @VelociCatTurd
                  link
                  English
                  15 months ago

                  An access rule for instance. To say to allow all traffic or specific types of traffic from a public IP address. This could be if you wanted to allow access to some media server from your friends house or something.

                  • @peregus
                    link
                    English
                    15 months ago

                    To allow access from a friend you need his public IP, not yours.