Super-easy P2P setup script like docker swarm?

How to customize and extend your OpenVPN installation.
Post Reply
bluepuma77
OpenVpn Newbie
Posts: 2
Joined: Fri Feb 24, 2017 8:08 pm

Super-easy P2P setup script like docker swarm?

Post by bluepuma77 » Fri Feb 24, 2017 8:39 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 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.

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 \
    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?

Post Reply