• tkw8@lemm.ee
      link
      fedilink
      English
      arrow-up
      9
      ·
      2 days ago

      The box on which the dns server runs will need a static internal IP address.

    • Nawor3565@lemmy.blahaj.zone
      link
      fedilink
      English
      arrow-up
      7
      arrow-down
      1
      ·
      2 days ago

      If you’re only going to use it from within your own LAN, then no, you don’t need a static public address

    • reluctant_squidd@lemmy.ca
      link
      fedilink
      English
      arrow-up
      4
      ·
      1 day ago

      What I suggest/have done:

      1. Rent a cheap VPS in a non-five eyes country that comes with a static ipv4.

      2. SSH on random port with certificate auth only. No root, no password auth.

      3. setup WireGuard server with random port.

      4. firewall block all incoming except ssh and WireGuard port at first.

      5. set home server to connect via wireguard as sole client to VPS.

      6. individually add any ports you want to go to the home server from the internet as NAT forwarded ports. Basically WWW -> VPS -> Home.

      7. have a separate WireGuard VPN for outgoing from the home server.

      8. profit?

      But it’s crazy complicated. At least it was for me. Not for the faint hearted imo.