Openvpn: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
Line 1: | Line 1: | ||
= | = Centos 7 = | ||
== | == Install ovpn == | ||
=== | === a)From epel repository for enterprise linux 7=== | ||
we need to add epel repository if it was not done before [how to use yum] | we need to add epel repository if it was not done before [how to use yum] | ||
wget https://dl.fedoraproject.org/pub/epel/epel-release-latest-7.noarch.rpm | wget https://dl.fedoraproject.org/pub/epel/epel-release-latest-7.noarch.rpm | ||
Line 8: | Line 8: | ||
yum install openvpn | yum install openvpn | ||
=== | === b)Using package for enterprise linux 7 from fedoraproject.org=== | ||
wget https://dl.fedoraproject.org/pub/epel/7/x86_64/o/openvpn-2.3.8-1.el7.x86_64.rpm | wget https://dl.fedoraproject.org/pub/epel/7/x86_64/o/openvpn-2.3.8-1.el7.x86_64.rpm | ||
rpm -i openvpn-2.3.8-1.el7.x86_64.rpm | rpm -i openvpn-2.3.8-1.el7.x86_64.rpm | ||
== enabling service == | |||
ln -s /lib/systemd/system/openvpn\@.service /etc/systemd/system/multi-user.target.wants/openvpn\@server.service | |||
sytemctl start openvpn@server | |||
sytemctl status openvpn@server | |||
sytemctl stop openvpn@server | |||
= debian = | = debian = |
Revision as of 13:18, 27 August 2015
Centos 7
Install ovpn
a)From epel repository for enterprise linux 7
we need to add epel repository if it was not done before [how to use yum]
wget https://dl.fedoraproject.org/pub/epel/epel-release-latest-7.noarch.rpm rpm -i epel-release-latest-7.noarch.rpm yum install openvpn
b)Using package for enterprise linux 7 from fedoraproject.org
wget https://dl.fedoraproject.org/pub/epel/7/x86_64/o/openvpn-2.3.8-1.el7.x86_64.rpm rpm -i openvpn-2.3.8-1.el7.x86_64.rpm
enabling service
ln -s /lib/systemd/system/openvpn\@.service /etc/systemd/system/multi-user.target.wants/openvpn\@server.service sytemctl start openvpn@server sytemctl status openvpn@server sytemctl stop openvpn@server