Specifying the source port

Ryan Whelan rcwhelan at gmail.com
Thu May 4 20:41:22 CEST 2017

If i'm not mistaken that sets the listing port on one end (Peer 'A') of the
connection.  Peer 'B' needs to know what the listening port is set to, to
be able to setup the handshake.  So from peer 'B's perspective, the dst
port is the "listen-port' on Peer 'A'.... How do I set the src port for
peer 'B' so all traffic from B will come from a predicable source port?

I'm sorry if i'm not being clear- I very well might not be using the right


On Thu, May 4, 2017 at 2:35 PM, Jason A. Donenfeld <Jason at zx2c4.com> wrote:

> "ListenPort", " listen-port"
> On May 4, 2017 20:21, "Ryan Whelan" <rcwhelan at gmail.com> wrote:
> Hello!
> When specifying an endpoint, you have to tell wg which dst port the peer
> is listening on- is it possible to tell wg which source port to send
> traffic from?  I've looked over the documentation and if its in there, I
> managed to miss it.
> Thanks!
> ryan
> _______________________________________________
> WireGuard mailing list
> WireGuard at lists.zx2c4.com
> https://lists.zx2c4.com/mailman/listinfo/wireguard
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.zx2c4.com/pipermail/wireguard/attachments/20170504/119b4c31/attachment.html>

More information about the WireGuard mailing list