by buserror · 3y ago · 0 comments
You even get a 'dot' graph of your current network status if you want to. When 'git' was invented, I put my /etc/tinc/*/ into git with the public keys, and installing a new host to the mesh is one 'git clone' away.
Most underrated open source software ever.
I will say however that development appears to have fizzled out. I was really looking forward to some of the changes in 1.1, but it's been in pre-release for years now and doesn't seem like it's closer to being officially released.
I've largely replaced tinc with Nebula [0], but I still think fondly of it.
Today I use a hub-and-spoke design with wireguard to achieve this, because I never know where these devices will be so I can't guarantee that I can forward ports to them through a firewall.
Does tinc solve that port forwarding problem? I've read the intro in the manual but it only says tinc is a regular VPN.
From the features list: “Regardless of how you set up the tinc daemons to connect to each other, VPN traffic is always (if possible) sent directly to the destination, without going through intermediate hops.” and “As long as one node in the VPN allows incoming connections on a public IP address (even if it is a dynamic IP address), tinc will be able to do NAT traversal, allowing direct communication between peers.”
So yes, it gets around that problem if you have at least one publicly connectable node. How it does this if that node doesn't have a fixed address I've not looked into. Also there are no doubt NAT arrangements that it can't punch through meaning it'll have to fall-back to something akin to your hub model with nodes affected by such NAT talking to each other through another node.
Yes. I use it in production for that exact purpose. It only requires that one node is reachable via public IP address.
An advantage that tinc has over wireguard is that it can do local discovery and direct communication if your devices happen to be in the same local network.
The VPS is still used as a central discovery location, but remote devices can learn about each other and talk directly to eachother.
I feel like the perennial posts about lisp pretty handily demonstrate this to be false.
Also a Todo list web app.
I now mostly use Wireguard, but mainly of the Linux kernel driver.