client.ovpn 338 B

1234567891011121314151617
  1. client
  2. dev tun
  3. proto tcp #改为tcp
  4. remote 47.112.106.146 1194 #OpenVPN服务器的外网IP和端口,ip和域名都行
  5. resolv-retry infinite
  6. nobind
  7. persist-key
  8. persist-tun
  9. ca ca.crt
  10. cert sd43.crt #client1的证书
  11. key sd43.key #client1的密钥
  12. comp-lzo
  13. verb 3
  14. auth-user-pass pass.txt
  15. askpass /etc/openvpn/jdoe.pass