安装和设置openvpn

[服务端]

dnf clean all

dnf update

git clone https://github.com/Nyr/openvpn-install.git

cd openvpn-install

chmod +x openvpn-install.sh

bash openvpn-install.sh

选项可按默认

元数据错误解决:

sudo sed -i -e "s|mirrorlist=|#mirrorlist=|g" /etc/yum.repos.d/CentOS-*

sudo sed -i -e "s|#baseurl=http://mirror.centos.org|baseurl=http://vault.centos.org|g" /etc/yum.repos.d/CentOS-*

[客户端]

可下载官方客户端:https://openvpn.net/client-connect-vpn-for-windows/