openvpn搭建————FOR CENTOS7
yum update
yum install net-tools
下載openvpn
cd /tmp
wget http://swupdate.openvpn.org/as/openvpn-as-2.0.10-CentOS7.x86_64.rpm
安裝
rpm -Uvh openvpn-as-2.0.10-CentOS7.x86_64.rpm
安裝成功顯示結果
The Access Server has been successfully installed in /usr/local/openvpn_as
Configuration log file has been written to /usr/local/openvpn_as/init.log
Please enter "passwd openvpn" to set the initial
administrative password, then login as "openvpn" to continue
configuration here: https://0.0.0.0:943/admin
To reconfigure manually, use the /usr/local/openvpn_as/bin/ovpn-init tool.
Access Server web UIs are available here:
Admin UI: https://0.0.0.0:943/admin
Client UI: https://0.0.0.0:943/
之後在自己的客戶機安一個openvpn
從Client網址中把open.ovpn下下來,用客戶端打開