Remote Connection to my home assistant using wireguard and duckdns

Hi guys,

I’m relatively new to HomeAssistant and sadly I can’t get my remote Access to work. I’ve tryed to use WireGuard VPN + DuckDNS, but it keep telling me that handschake is not completed on my phone logs. I’m getting really frustrated and I spend hours searching the web for a different tutorials on how to do it properly, but whatever I tried I can’t get it to work…

I didn’t change a lot in the config. I just had to change the dns to use my AdGuard as dns.
My wireguard config looks like this:

  - name: hassio
    allowed_ips: []
    client_allowed_ips: []

My DuckDNS config:

token: mytoken
aliases: []
  accept_terms: true
  algo: secp384r1
  certfile: fullchain.pem
  keyfile: privkey.pem
seconds: 300

I’ve added this to my configuration.yaml

  ssl_certificate: /ssl/fullchain.pem
  ssl_key: /ssl/privkey.pem

Also I defined this as my external address

I’m using a FritzBox 6660 Cable and configured the portforward on port 51820 for my homeassistant

And also I activated dyndns in my FritzBox using the instruction on the duckdns site.
I really need help with this topic and I greatly appreciate every one of you!

Your wireguard addresses are surely not right: they should be public (internet) ones.

If you’re stuck with wireguard, use Tailscale, which also built above wireguard but with zero-configuration.

Zerotier might be a good bet.