Advertisement
kthomer

client1.ovpn

Jan 22nd, 2012
6,037
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.70 KB | None | 0 0
  1. client
  2. dev tun
  3. dev-node MyTap #Name of your TAP network interface
  4. proto udp #switch to tcp if you wish to use a tcp connection, needs to match server. udp gives better performance
  5. remote server.public.ip.ordns 1194 #change port as you see fit, needs to match server
  6.  
  7. resolv-retry infinite
  8. nobind
  9. persist-key
  10. persist-tun
  11.  
  12. ca ca.crt
  13. cert client1.crt
  14. key client1.key
  15. ns-cert-type server
  16.  
  17. comp-lzo #compression for better performance. Disable if your server isn't powerful enough. Needs to be included in both server and client configs if you use it.
  18. verb 3
  19. explicit-exit-notify 2
  20. ping 10
  21. ping-restart 60
  22.  
  23. ;register-dns #uncomment this if you you run into dns issues
  24. route-method exe
  25. route-delay 2
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement