美文网首页
OpenVPN客户端安装

OpenVPN客户端安装

作者: 袁先生的笔记 | 来源:发表于2018-05-16 18:08 被阅读0次

    CentOS 7.4

    • 安装客户端

      # yum install epel-release
      # yum install openvpn
      
    • 复制客户端文件至/etc/openvpn/client/

      # ls /etc/openvpn/client/
      ca.crt  zhangsan.conf  zhangsan.crt  zhangsan.key  ta.key
      
    • 添加启动服务

      # cp /usr/lib/systemd/system/openvpn-client@.service /usr/lib/systemd/system/openvpn-client@zhangsan.service
      
    • 启动

      # systemctl enable openvpn-client@zhangsan.service
      # systemctl start openvpn-client@zhangsan.service
      

    Windows 7

    • 下载客户端
      地址:https://openvpn.net/index.php/download/community-downloads.html

    • 安装客户端openvpn-install-xxx.exe

    • 复制配置文件至C:\Program Files(x86)\OpenVPN\configC:\Program Files\OpenVPN\config

    • 打开客户端

    • 点击桌面右下角任务栏客户端Connect,待图标变绿,即连接成功。

    macOS 10.13.4

    • 下载客户端
      地址:https://tunnelblick.net/downloads.html

    • 安装客户端Tunnelblick_xxx.dmg

    • 打开客户端

    • 拖拽客户端配置文件zhangsan.conf至桌面右上角客户端,完成配置天剑,期间会让输入系统账户密码。

    • 点进桌面右上角客户端连接zhangsan,待显示已连接,即连接成功。

    相关文章

      网友评论

          本文标题:OpenVPN客户端安装

          本文链接:https://www.haomeiwen.com/subject/prxmdftx.html