Hi,
i think I had the same "problem". Somehow or sometime I set up a default configuration for my WireGuard instances.
Every time i wanted to create a new peer using the "Peer generator" I had to change the endpoint and port to the new requirements.
Unluckily I did not find a the configuration using the GUI. So I used the SSH and searched using mc.
I found the configuration in the file /conf/config.xml stored at the XML path /opnsense/OPNsense/wireguard/server/servers . After changing the required values I rebooted OPNsense. Not sure if a reboot is required, but I was the fastest way to ensure that the changes would survive a reboot.
Worked with OPNsense 26.1.6_2.
Hope this was your problem.
Robert
i think I had the same "problem". Somehow or sometime I set up a default configuration for my WireGuard instances.
Every time i wanted to create a new peer using the "Peer generator" I had to change the endpoint and port to the new requirements.
Unluckily I did not find a the configuration using the GUI. So I used the SSH and searched using mc.
I found the configuration in the file /conf/config.xml stored at the XML path /opnsense/OPNsense/wireguard/server/servers . After changing the required values I rebooted OPNsense. Not sure if a reboot is required, but I was the fastest way to ensure that the changes would survive a reboot.
Worked with OPNsense 26.1.6_2.
Hope this was your problem.
Robert
"