Skip to content

Instantly share code, notes, and snippets.

@krishnamurthydasari
Created March 31, 2018 04:06
Show Gist options
  • Save krishnamurthydasari/1114b3017236f9c3dd283f3cac501004 to your computer and use it in GitHub Desktop.
Save krishnamurthydasari/1114b3017236f9c3dd283f3cac501004 to your computer and use it in GitHub Desktop.
OpenVPN Setup
https://openvpn.net/index.php/access-server/docs/quick-start-guide.html#asclient
download package and install
wget http://swupdate.openvpn.org/as/openvpn-as-2.0.21-CentOS6.x86_64.rpm
If you get any errors as below,
Generating init scripts...
Generating init scripts auto command...
Error: Could not generate server script auto.
go to respective line and add "--distro redhat" for that perticular line at the end
/usr/local/openvpn_as/scripts/openvpnas_gen_init --distro redhat
/usr/local/openvpn_as/scripts/openvpnas_gen_init --auto --distro redhat
then run init script again,
/usr/local/openvpn_as/bin/ovpn-init
After installation is successfull, you should be able to login to web ui as below
https://ip/admin -- admin screen
https://ip/ -- client vpn connect
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment