In a previous tip, we looked at setting up an OpenVPN server. Now, I'll take you through the setup of a Linux OpenVPN client. The Linux client will be based on CentOS 5 using OpenVPN 2.0.9.. For each client, you will need to have copied the client's certificate and key, as well as the CA certificate, from the server. This should be done in a secure manner so you can ensure the files are not altered in any way, such as using SSH to transfer or a USB stick in your possession. Once they are on the client, copy them to the /etc/openvpn/ directory: # cd /etc/openvpn # cp ~/client.{key,crt} . # cp ~/ca.crt . # cp /usr/share/doc/openvpn-2.0.9/sample-config-files/client.conf . # vim client.conf The link for this article located at ZDNet Asia is no longer available. . Follow these steps to set up an OpenVPN client on CentOS, from installation to verification, ensuring secure traffic routing through your VPN. OpenVPN Client Setup, CentOS Network Configuration, Linux OpenVPN Security. . LinuxSecurity.com Team
Get the latest Linux and open source security news straight to your inbox.