Nirmal Thacker
2018-Apr-24 20:00 UTC
Point-to-Point persistent connection on Tinc 1.1pre14
Hi I'd like to build a Point-to-Point connection in Tinc 1.1pre14. My question specifically is how does one configure the conf file to achieve this Here's a simplified example: 1. There are 10 clients and 2 server nodes 2. All 10 clients have a Point-to-Point connection with the 2 server nodes 3. The 2 server nodes have Point-to-Point connection with all 10 clients. 4. In some ways this looks like a hub-spoke model? I'm not clear about that so I'm taking a guess at the terminology. Essentially there is bi-directional persistent connectivity between the 10 clients and 2 servers. The clients do not need to be connected to each other at all So to achieve this does this work: 1. The 2 server nodes have a ConnectTo specified for every client? So there are 10 ConnectTo lines in both server conf files 2. All 10 client nodes have 2 ConnectTo lines specifying the 2 server nodes in their conf files 3. No nodes have the AutoConnect=yes line specified Would that do it? Thanks -nirmal -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://www.tinc-vpn.org/pipermail/tinc/attachments/20180424/c80180d8/attachment.html>
Etienne Dechamps
2018-Apr-24 20:57 UTC
Point-to-Point persistent connection on Tinc 1.1pre14
Yes, this will work and will indeed result in clients talking to each other directly, assuming that they manage to punch holes through any NATs that might sit between them. You do not need step (1) though: it will still work if you have a ConnectTo from one side only, which is often easier in this type of scenario where the addresses of the servers are stable, but the addresses of the clients might not be. On 24 April 2018 at 21:00, Nirmal Thacker <nirmalthacker at gmail.com> wrote:> Hi > > I'd like to build a Point-to-Point connection in Tinc 1.1pre14. My > question specifically is how does one configure the conf file to achieve > this > > Here's a simplified example: > 1. There are 10 clients and 2 server nodes > 2. All 10 clients have a Point-to-Point connection with the 2 server nodes > 3. The 2 server nodes have Point-to-Point connection with all 10 clients. > 4. In some ways this looks like a hub-spoke model? I'm not clear about > that so I'm taking a guess at the terminology. Essentially there is > bi-directional persistent connectivity between the 10 clients and 2 > servers. The clients do not need to be connected to each other at all > > So to achieve this does this work: > 1. The 2 server nodes have a ConnectTo specified for every client? So > there are 10 ConnectTo lines in both server conf files > 2. All 10 client nodes have 2 ConnectTo lines specifying the 2 server > nodes in their conf files > 3. No nodes have the AutoConnect=yes line specified > > Would that do it? > > Thanks > -nirmal > > _______________________________________________ > tinc mailing list > tinc at tinc-vpn.org > https://www.tinc-vpn.org/cgi-bin/mailman/listinfo/tinc > >-------------- next part -------------- An HTML attachment was scrubbed... URL: <http://www.tinc-vpn.org/pipermail/tinc/attachments/20180424/03cb68a7/attachment-0001.html>
Seemingly Similar Threads
- Upgrading 1.1pre14 nodes to 1.1pre15 in an existing mesh
- using both ConnectTo and AutoConnect to avoid network partitions
- using both ConnectTo and AutoConnect to avoid network partitions
- using both ConnectTo and AutoConnect to avoid network partitions
- using both ConnectTo and AutoConnect to avoid network partitions