Port used for meta-connection and data transfer

Bright Zhao startryst at gmail.com
Sun Jan 19 04:00:49 CET 2020


Hi,

I see there’re two configuration in tinc:


In main configuration:
BindToAddress = <address> [<port>]

In host configuration:
Port = <port>

So, let’s say on svr1
/etc/tinc/test/tinc.conf:
BindToAddress = ip_addr p1
BindToAddress = ip_addr p2

/etc/tinc/test/hosts/svr1:
Port = p1

On the client side c1
/etc/tinc/test/tinc.conf:
ConnectTo = svr1

/etc/tinc/test/hosts/svr1:
Port = p2


So, in the above case, the c1 will establish meta-connection to svr1 on p2, but the udp traffic runs on p1?

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.tinc-vpn.org/pipermail/tinc/attachments/20200119/74a83c56/attachment.html>


More information about the tinc mailing list