{{tag>[security network vpn]}} =====OpenVPN AS===== Notes: * Read the [[https://openvpn.net/images/pdf/OpenVPN_Access_Server_Sysadmin_Guide_Rev.pdf|admin guide]] (PDF) before use. * Your system clock must be correct for OpenVPN Access Server to perform correctly. * Updated 2014-11-04 (reinstall on CentOS 6.6 and OpenVPN AS 2.10) ====Install and start==== * Configure network (IP, DNS). * Configure host based firewall, allow ssh only from mgmt. * Configure NTP. * wget the latest version from [[https://openvpn.net/index.php/access-server/download-openvpn-as-sw.html|OpenVPN]]. * Install the RPM: yum localinstall openvpn-as-2.0.10-CentOS6.x86_64.rpm * Confirm autostart: chkconfig --list openvpnas * Start OpenVPN AS: service openvpnas start ====Configure==== * Change openvpn password: passwd openvpn * Run init script: /usr/local/openvpn_as/bin/ovpn-init --force * Connect to the admin webinterface and log in with user openvpn: https://yourvpnhost.com:943/admin ====Add webserver certificate==== * Go to: WebServer, upload certificates and test. ====Buy a license and enter key in web gui==== ====Add logo==== * Upload logo to **/usr/local/openvpn_as/** * Edit **/usr/local/openvpn_as/etc/as.conf**sa.company_name=YourCompany sa.logo_image_file=/usr/local/openvpn_as/companylogo.png * Restart OpenVPN AS.service openvpnas restart =====Troubleshooting===== ====Uninstall OS X OpenVPN AS client==== open /Library/Application\ Support/OpenVPN/Uninstall\ OpenVPN\ Connect.app/