Chapter 6.1: Set up OpenVPN

Go to ClearOS and click on Network -> VPN -> OpenVPN and click on Configure Security Certificates

ClearOS OpenVPN certificates

Insert you data and create the certificate

ClearOS OpenVPN certificate

Click on Continue

ClearOS continue

Click on Network -> VPN -> OpenVPN, then click on Allow connections

ClearOS OpenVPN menu
ClearOS OpenVPN allow connections

Confirm the security exception

ClearOS Security exception

Click on Network -> Firewall -> Incoming firewall and disable the OpenVPN-TCP port, we will not use it.

ClearOS disabple OpenVPN-TCP port

Click on Network -> VPN -> OpenVPN, then click on Hide this warning

ClearOS OpenVPN hide warning

Start the OpenVPN service

Disable Auto Configuration, then click on Update

ClearOS OpenVPN disable auto configuration
ClearOS OpenVPN Update settings

Click on System -> Accounts -> Users, then click on Install and Initialize Built-in Directory

ClearOS initialize Built-in Directory
ClearOS installing OpenLDAP

When the installation finishes, click on Add to create a new user, insert your personal data and choose an OpenVPN user name and an OpenVPN password

ClearOS add user
ClearOS OpenVPN login and password

Sign out and login using the OpenVPN user name and an OpenVPN password

ClearOS sign out
ClearOS OpenVPN sign in

Click on User certificates and insert a strong password. You probably won’t need this password anymore.

ClearOS OpenVPN user certificates
ClearOS certificates password

Download all the certificates, the configuration file, sign out and log in as root

ClearOS download certificates
ClearOS download certificates
ClearOS download certificates
ClearOS download certificates
ClearOS download OpenVPN configuration
ClearOS sign out
ClearOS log in

Set up your OpenVPN client with the files you just downloaded and start an OpenVPN connection to ClearOS using the OpenVPN user name and the OpenVPN password.

If you don’t know how to do it follow this tutorial for macOS or this tutorial for Linux.

0 replies

Leave a Reply

Want to join the discussion?
Feel free to contribute!

Leave a Reply

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