Setting up OpenVPN automatically with ansible

209 views
Skip to first unread message

Federico Capoano

unread,
Feb 1, 2017, 3:52:29 AM2/1/17
to OpenWISP
Hi everybody,

I noticed how many people are struggling with installing and configuring OpenVPN. I struggled too the first times. In the truth, anytime there can be a misconfiguration if the process is done by hand.

That's why at some point I tried to use ansible to install OpenVPN. I use OpenVPN also in OpenWISP2, even though is not mandatory to control the devices, but at work in our public wifi service still need VPNs to tunnel users to the captive portal, and in a few other wireless community network initiatives we use OpenVPN to easily connect new nodes that cannot connect via wireless links.

You should try this popular ansible-role for OpenVPN: Stouts.openvpn. I contributed to it to add a few use cases that I needed. If more people use it and contribute to it, it will become even better.

If some of you will find this useful, I will suggest it in the openwisp website.

Federico
Reply all
Reply to author
Forward
0 new messages