23

Like the title says, I want to replace the IP address in a wireguard .conf file to be a domain instead.

I own a domain through cloudflare, so say I wanted to use vpn.example.org

What DNS record and info do I need to put into Cloudflare? (I am aware I'll need to update it if my ip changes)

you are viewing a single comment's thread
view the rest of the comments
[-] Dust0741@lemmy.world 10 points 14 hours ago

Thank you. It really was that simple

[-] majestictechie@lemmy.fosshost.com 1 points 9 hours ago

I do this on my home network which has a Dynamic IP. I wrote a script which I cron to check and update it if it changes https://github.com/MajesticTechie/CloudflareDynamicDNS

[-] SaltySalamander@fedia.io 1 points 4 hours ago

I do this with the dynamic dns plugin in OPNsense. It really is set-it-and-forget-it.

this post was submitted on 17 Nov 2024
23 points (89.7% liked)

Selfhosted

40198 readers
596 users here now

A place to share alternatives to popular online services that can be self-hosted without giving up privacy or locking you into a service you don't control.

Rules:

  1. Be civil: we're here to support and learn from one another. Insults won't be tolerated. Flame wars are frowned upon.

  2. No spam posting.

  3. Posts have to be centered around self-hosting. There are other communities for discussing hardware or home computing. If it's not obvious why your post topic revolves around selfhosting, please include details to make it clear.

  4. Don't duplicate the full text of your blog or github here. Just post the link for folks to click.

  5. Submission headline should match the article title (don’t cherry-pick information from the title to fit your agenda).

  6. No trolling.

Resources:

Any issues on the community? Report it using the report flag.

Questions? DM the mods!

founded 1 year ago
MODERATORS