Domain instead of ip in Wireguard
https://lemmy.world/post/22113565
=> More informations about this toot | More toots from Dust0741@lemmy.world
Just an A record, you just need the domain query to resolve to your IP.
=> More informations about this toot | More toots from Decipher0771@lemmy.ca
Thank you. It really was that simple
=> More informations about this toot | More toots from Dust0741@lemmy.world
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 github.com/MajesticTechie/CloudflareDynamicDNS
=> More informations about this toot | More toots from majestictechie@lemmy.fosshost.com
Note that most wireguard clients wont re-resolve when the ends entry and they will keep silently a failed tunnel so you would have to do some measure to periodically restart the tunnel.
=> More informations about this toot | More toots from eskuero@lemmy.fromshado.ws
It is that easy, like you said. And with Cloudflare and Caddy you can get TLS for your internal VPN hosts. I love that.
=> More informations about this toot | More toots from state_electrician@discuss.tchncs.de
Yup! This is what I do! Love it so much
=> More informations about this toot | More toots from Dust0741@lemmy.world
LetsEncrypt is a good option if you want to set it up yourself. More work than cloudflare though.
=> More informations about this toot | More toots from Ajen@sh.itjust.works
I am using Let’s Encrypt. Cloudflare is used for DNS validation.
=> More informations about this toot | More toots from state_electrician@discuss.tchncs.de This content has been proxied by September (3851b).Proxy Information
text/gemini