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 must log in or register to comment.
Just an A record, you just need the domain query to resolve to your IP.
Thank you. It really was that simple
It is that easy, like you said. And with Cloudflare and Caddy you can get TLS for your internal VPN hosts. I love that.
Yup! This is what I do! Love it so much
LetsEncrypt is a good option if you want to set it up yourself. More work than cloudflare though.
I am using Let’s Encrypt. Cloudflare is used for DNS validation.