Wednesday, October 28, 2020

Re: wg(4) listen on a specific interface / address

Pierre Emeriaud <petrus.lt+openbsd@gmail.com> wrote:

> Le mar. 27 oct. 2020 à 23:46, joe@snoopy.net.nz <joe@snoopy.net.nz> a écrit :
> >
> >
> >
> > Hi Pierre,
> >
> > The error may indicate that port 53 on 127.0.0.1 is already used by another service. This appears to be confirmed by your netstat example. This is probably a dns service.
>
> Thanks Joe. This is indeed a dns daemon, several in fact. But nothing
> should prevent wireguard from using port 53 on any other IP address
> than 127.0.0.1 here. (well, nothing but the code that has been
> implemented)

I believe you are running into the restriction that we don't allow an
INADDR_ANY:port binding to be done after a ipaddr:port binding has been
done. It must be done beforehands.

No comments:

Post a Comment