Tinc routing question

cr0n cr0n at cypherpunks.cc
Wed Jan 10 11:29:22 CET 2018


Hi list,

I have a question regarding routing in Tinc 1.1. Please consider the
following example of a small network:

• 5 nodes: A, B, C, D, E
• C and E are nodes with very small bandwidth

Meta connection graph:

A – B – C – D
│           │
└─ E ───────┘

Node configuration:

• StrictSubnets = yes
• AutoConnect = yes
• B has Forwarding = internal, all other nodes have Forwarding = off

All nodes can reach each other directly with UDP *except* A and D.
Packets from A to D and vice versa have to be forwarded.

Now I'd like to transfer data from A to D. Since C and E only have small
bandwidth, I'd like to have data from A to D being forwarded by B
directly to D (and not via C or E). How can I get this done?

If I could somehow tell A to send packets for D always via B (and not
via E): Would B try to directly connect to D in order to forward packets
from A to D? Or would B forward A's packets for D to C (because of its
meta connection to C)?

Thanks in advance!

cr0n






More information about the tinc mailing list