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 appear more like a full novel when printed.
I am looking for an easy way to connect 10 bare-metal servers peer to peer. And I really like the simplicity of the docker swarm setup.
Isn't there an option to create a super-easy script to setup the first server and then connect others to the initial "master"?
Code: Select all
#docker swarm init Swarm initialized: current node (ispns6px2z2tkjwdjbzpq8ciu) 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-2czmavc20v5lhd6j1vh27zzikmk1npih5s3flp6ztrmmtv7yzx-7tosxr62niqhv2pgozohsdfy8 \ 22.214.171.124:2377
Then automatically let the other "slave" servers connect to its peers to create a star topology?