Change default Server ports

Guus Sliepen
Fri, 30 Dec 2016 15:43:18 -0000

On Fri, Dec 30, 2016 at 11:38:51AM +0100, Etienne Dechamps wrote:

> I believe the reason why you're experiencing this problem is because
tinc
> does not use the connection TCP port to determine which port to send UDP
> packets to. Instead, it uses the port that is *advertised* by the other
> node.

That's correct, at least for the initial PMTU probes. If it receives
packets from a peer with a different UDP source port, it will switch to
that one instead.

But, to announce a different UDP port than what tinc is actually
listening on, you can use the following trick in tinc.conf:

Port = 25
ListenAddress = * 655

--
Met vriendelijke groet / with kind regards,
     Guus Sliepen <guus at tinc-vpn.org>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: Digital signature
URL:
<http://www.tinc-vpn.org/pipermail/tinc/attachments/20161230/1a8067e5/attachment.sig>