数愈科技文档中心 - 2022年5月
type: channel
link: http://123.60.31.156:8080/index.php/2022/05/
description: Just So So ...
items: OpenVPN安装指南

OpenVPN安装指南
type: item
date: 2022-05-07T02:41:00+00:00
description: ovpn文件请找相关人员获取Windows下载地址（64位）下载地址（32位）Mac下载地址Linux# deepin 15 sudo bash -c ' curl -fsSL https://swupdate.openvpn.net/repos/openvpn-repo-pkg-key.pub | gpg --dearmor > /etc/apt/trusted.gpg.d/openvpn-repo-pkg-keyring.gpg curl -fsSL https://swupdate.openvpn.net/community/openvpn3/repos/openvpn3-stretch.list > /etc/apt/sources.list.d/openvpn3.list apt update apt install -y openvpn3 ' # ubuntu 16.04 sudo bash -c ' curl -fsSL https://swupdate.openvpn.net/repos/openvpn-repo-pkg-key.pub | gpg --dearmor > /etc/apt/trusted.gpg.d/openvpn-repo-pkg-keyring.gpg curl -fsSL https://swupdate.openvpn.net/community/openvpn3/repos/openvpn3-xenial.list > /etc/apt/sources.list.d/openvpn3.list apt update apt install -y openvpn3 ' # ubuntu 18.04 sudo bash -c ' curl -fsSL https://swupdate.openvpn.net/repos/openvpn-repo-pkg-key.pub | gpg --dearmor > /etc/apt/trusted.gpg.d/openvpn-repo-pkg-keyring.gpg curl -fsSL https://swupdate.openvpn.net/community/openvpn3/repos/openvpn3-bionic.list > /etc/apt/sources.list.d/openvpn3.list apt update apt install -y openvpn3 ' # ubuntu 20.04 sudo bash -c ' curl -fsSL https://swupdate.openvpn.net/repos/openvpn-repo-pkg-key.pub | gpg --dearmor > /etc/apt/trusted.gpg.d/openvpn-repo-pkg-keyring.gpg curl -fsSL https://swupdate.openvpn.net/community/openvpn3/repos/openvpn3-focal.list > /etc/apt/sources.list.d/openvpn3.list apt update apt install -y openvpn3 ' #### 快速使用，连接VPN openvpn3 session-start --config CONFIG_FILE #### 管理连接信息 # 查看VPN连接信息 openvpn3 sessions-list # 连接VPN openvpn3 session-start --config CONFIG_FILE # 断开VPN连接 openvpn3 session-manage --disconnect --config CONFIG_FILE # 重新连接VPN openvpn3 session-manage --restart --config CONFIG_FILE # 清理无效的VPN连接 openvpn3 session-manage --cleanup