OpenVPN Installation
From r00tedvw.com wiki
(Difference between revisions)
| Line 1: | Line 1: | ||
| − | Reference: https://www.digitalocean.com/community/tutorials/how-to- | + | Reference: [https://www.digitalocean.com/community/tutorials/how-to-setup-and-configure-an-openvpn-server-on-centos-7 https://www.digitalocean.com/community/tutorials/how-to-setup-and-configure-an-openvpn-server-on-centos-7]<br> |
| − | Installation performed on | + | Installation performed on Oracle Linux 7.3 x64 Server instance. |
| − | ==Install OpenVPN | + | ==Install OpenVPN and Easy-RSA== |
| − | <nowiki>~$ sudo | + | Install EPEL repo |
| + | <nowiki>~$ wget http://download.fedoraproject.org/pub/epel/7/x86_64/e/epel-release-7-8.noarch.rpm | ||
| + | ~$ sudo rpm -ivh epel-release-7-8.noarch.rpm | ||
| + | ~$ sudo yum repolist | ||
| + | </nowiki> | ||
| + | Install OpenVPN and Easy-RSA | ||
| + | <nowiki>~$ sudo yum install openvpn easy-rsa -y</nowiki> | ||
| + | ==Configure OpenVPN== | ||
| + | Copy example server.conf to openvpn parent dir. | ||
| + | <nowiki>~$ sudo cp /usr/share/doc/openvpn-2.3.14/sample/sample-config-files/server.conf /etc/openvpn/</nowiki> | ||
Revision as of 03:16, 3 January 2017
Reference: https://www.digitalocean.com/community/tutorials/how-to-setup-and-configure-an-openvpn-server-on-centos-7
Installation performed on Oracle Linux 7.3 x64 Server instance.
Install OpenVPN and Easy-RSA
Install EPEL repo
~$ wget http://download.fedoraproject.org/pub/epel/7/x86_64/e/epel-release-7-8.noarch.rpm ~$ sudo rpm -ivh epel-release-7-8.noarch.rpm ~$ sudo yum repolist
Install OpenVPN and Easy-RSA
~$ sudo yum install openvpn easy-rsa -y
Configure OpenVPN
Copy example server.conf to openvpn parent dir.
~$ sudo cp /usr/share/doc/openvpn-2.3.14/sample/sample-config-files/server.conf /etc/openvpn/