So I've been trying to turn my raspberry to a VPN server using PiVPN, WireGuard and DuckDNS. I've had some success as after configuring Wireguard on my iPhone the connection works. However, the same configuration does not work on my Windows PC and I haven't a clue why... Here's how the tunnel config files looks:
[Interface]
PrivateKey = uPcHJQ5JP60tn5gZiuJHEOsMrbsxyBIeZ/FZG4cziVk=
Address = 10.370.129.3/24
DNS = 1.1.1.1, 1.0.0.1
[Peer]
PublicKey = XHQHgjmRb5huQL0Xy+KwnqTgpspREZXNhDGqk9I8uWQ=
PresharedKey = Jfcmr9nYPC7T+AUCSLZjHgoSpa4TG4mFt+OthmHhnEE=
AllowedIPs = 0.0.0.0/0
Endpoint = XXX.duckdns.org:51820