Easy P2P setup script like docker swarm?

This forum is for general conversation and user-user networking.

Moderators: TinCanTech, TinCanTech, TinCanTech, TinCanTech, TinCanTech, TinCanTech

Post Reply
bluepuma77
OpenVpn Newbie
Posts: 2
Joined: Fri Feb 24, 2017 8:08 pm

Easy P2P setup script like docker swarm?

Post by bluepuma77 » Thu Mar 23, 2017 9:26 pm

Dear OpenVPN community,

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
A single command to execute on the first machine, a single command to run on every machine you want to add.

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?

Post Reply