Add ListenPort support (source port for WireGuard socket)
ValdikSS opened this issue · 3 comments
ValdikSS commented
This program lacks support for ListenPort
option of WireGuard, which, in case of client, binds outgoing UDP socket to the supplied source port.
This is necessary to bypass NAT. Would appreciate this option.
aramperes commented
I think --endpoint-bind-addr
is what you're looking for? It sets the port of the local UDP socket for Wireguard. #34
ValdikSS commented
Indeed, sorry, I totally missed it.
The README.md does not mention this option though.