I had this same problem I just used ddns and changed the configuration of wireguard replaced the ip address to the ddns address worked like a charm.