I have been watching OpenVPN for years, got now some servers I need to connect via VPN - and I wonder why the setup of OpenVPN seems so complex. I googled and found many tutorials calling themself "easy" or "for dummies", but they all appear to have the length of a novel.
I am looking for an easy way to connect 10 bare-metal servers to each other. And I really like the simplicity of the docker swarm setup.
Code: Select all
#docker swarm init
Swarm initialized: current node (ispns6px2z2tkf5gdjbzpq8ciu) is now a manager.
To add a worker to this swarm, run the following command [on the slave servers]:
docker swarm join \
--token SWMTKN-1-2czmavc20v5lhd6j1vh27zzikmk1npih5d5glp6ztrmmtv7yzx-7tosxr62niqhv2pgozohsdfy8 \
123.123.123.123:2377
Isn't there an option to create a super-easy script to setup the first server and then connect others to the initial "master"?
Then automatically let the other "slave" servers connect to its peers to create a star topology?