sudo apt-get install openvpn for Ubuntu or Debian-based Linux distribution and sudo yum install openvpn for Fedora or CentOS Linux distribution.sudo openvpn --config /home/rangsiman/vpn/openvpn-rangsiman.ovpn --auth-user-pass /home/rangsiman/vpn/passwd.txt --auth-nocache*You can watch this video for step-by-step using OpenVPN on Linux.
If you face an error like this
Fri May 25 13:54:07 2018 failed to find GID for group nogroupFri May 25 13:54:07 2018 Exiting due to fatal errorThis can be solve by change the group name in OpenVPN configuration file. For example,
user nobodygroup nogroupchange to
user nobodygroup nobodyRangsiman Ketkaew