How to Install and Configure OpenVPN Server with Linux and Windows Clients in RHEL/CentOS 7

Page 1 of 212

If You Appreciate What We Do Here On TecMint, You Should Consider:

  1. Stay Connected to: Twitter | Facebook | Google Plus
  2. Subscribe to our email updates: Sign Up Now
  3. Use our Linode referral link if you plan to buy VPS (it starts at only $10/month).
  4. Support us via PayPal donate - Make a Donation
  5. Support us by purchasing our premium books in PDF format.
  6. Support us by taking our online Linux courses

We are thankful for your never ending support.

Gabriel Cánepa

Gabriel Cánepa is a GNU/Linux sysadmin and web developer from Villa Mercedes, San Luis, Argentina. He works for a worldwide leading consumer product company and takes great pleasure in using FOSS tools to increase productivity in all areas of his daily work.

Your name can also be listed here. Got a tip? Submit it here to become an TecMint author.

RedHat RHCE and RHCSA Certification Book
Linux Foundation LFCS and LFCE Certification Preparation Guide

You may also like...

9 Responses

  1. Urs says:

    Small typo:
    cp ca.crt server.crt server.key /../.. (should be “../../”)

  2. dilan says:

    Please I am looking for how to install Open VPN Server on Linux, I want to run my computer..

  3. testsubject says:

    ca somethingelse.crt <—– shouldn't this be ca.crt?
    cert somethingelse.crt
    key somethingelse.key

  4. Ttlequals0 says:

    Here is an even quicker way of doing this that creates the Endpoint in any AWS region on demand. https://github.com/ttlequals0/autovpn

  5. batisfera says:

    Obsolete already

  6. Nice article!
    Would love to see add user account, and point into different vlan

  7. pcasisten says:

    Hi,
    is there an error in that sentence?
    To set up a client (regardless of the distribution or operating system) you will need to copy the ca.crt, server.crt, and server.key files from /etc/openvpn/rsa/keys.

    wouldn’t be the client.crt and client.key files copied instead?

  8. cray says:

    journalctl –xn must be written with one dash, at least it is in Fedora. Double dash is not recognized

Got something to say? Join the discussion.

Your email address will not be published. Required fields are marked *

Join Over 300K+ Linux Users
  1. 177,942
  2. 8,310
  3. 37,548

Are you subscribed?