question2: I roam my openwrt to a new place , but the server side's endpoint does not change automatically, why? I did not write down endpoint in server side's configure file.
public key: xxxxc=
private key: (hidden)
listening port: 41089
preshared key: (hidden)
endpoint: 188.8.131.52:2185 /* this part is autoadded by system when "wg show". not write in conf file and not change when roam*/
allowed ips: 10.8.3.10/32, 2001:x:x::10/128, 2001:x:x:x:1::/80
latest handshake: 7 hours, 55 minutes, 27 seconds ago
transfer: 2.84 MiB received, 6.32 MiB sent
here I use /80 because the server has /64 block, and I hope to try dhcpv6 with /80 prefix.
Use /64 subnets in all of your networks. While you technically can use /80, the ipv6 spec dictates that networks should be at least /64. If you don't, some features of ipv6 will simply break, such as SLAAC among others. Since you have a nice /48 prefix, you should have plenty of blocks to give each subnet a dedicated /64.
I roam my openwrt to a new place , but the server side's endpoint does not change automatically, why? I did not write down endpoint in server side's configure file.
do you know why?
this is the key of second question.
Make sure both ends of the tunnel DON'T have the SaveConfig option set. In the server's config leave the endpoint empty, but fill in a listen port (as you did), and in the client's config set the IP of the server as the endpoint, and leave the listen port empty. Roaming should work automatically.