Issue with web-interface Wireguard endpoints

Started by DEGABB, October 21, 2021, 12:28:35 AM

Previous topic - Next topic
October 21, 2021, 12:28:35 AM Last Edit: October 21, 2021, 12:31:06 AM by DEGABB
Hello!
I found the problem with the Wireguard web interface.
OPNsense web-interface (v21.7.3_3-amd64) allows enter endpoint address without port.
So if you did it your Wireguard server will not work.
I was looking for the problem for so much time. Then I was trying to restart the wireguard service from CLI.
That is what I saw  :o:

Unable to find port of endpoint: `188.168.138.101:'
Configuration parsing error

So I think the web interface should ask you to fill the "endpoint port" field if you entered the endpoint address.

Sorry for my English.