Here is a good guide to setting up OpenVPN on CentOS 6:

Was following the guide but ran into a few issues which I wanted to share below:

  1. Easy RSA is no longer bundled with OpenVPN, so you should git clone it ( or download it from
  2. The Diffie hellman key generated is now 2048 bits by default, edit /etc/openvpn/server.conf to reflect that change. The default is 1024 bits.
Blog Logo

Alvin Zhang

I started writing code in 1998 when I tried to make new in-game units for an amazing RTS game called Total annihilation. Today I run Red Airship and am on a quest to cook good paella.



1998 Nineteen-Ninety-Eight

Thoughts, stories and ideas.

Back to Overview