tinc is good for setup like that as it automatically meshes the nodes