很多时候我们需要通过***连接到公司,那接下来我们配置一下***。
安装***
yum install open***
配置文件路径
/etc/open***/clientvi open***.open***
client
dev tun
proto tcp
remote 公网IP地址 端口号
resolv-retry infinite
nobind
persist-key
persist-tun
ca /xxxx/ca.crt 根据实际路径填写
cert /xxxx/xxx.crt 根据实际路径填写
key /xxxx/xxxx.key 根据实际路径填写
comp-lzo
verb 3将生成的密钥放到/etc/open***的目录下,与上面的路径相同。
启动客户端
open*** /etc/open***/client/a.open*** &
验证
转载于:https://blog.51cto.com/wangzc/2082176