Advertisement
Guest User

Working VPN

a guest
Jan 15th, 2014
130
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.77 KB | None | 0 0
  1. client
  2.  
  3. #connect to VPN server
  4. remote XXX.XXX.XXX.XXX 443
  5. proto tcp
  6.  
  7. #DNS server to use
  8. dhcp-option DNS 8.8.8.8
  9.  
  10. #remove to use your ISP's gateway
  11. redirect-gateway def1
  12.  
  13. #your access keys
  14. ca XXX.crt
  15. cert XXX.crt
  16. key XXX.key
  17. ns-cert-type server
  18.  
  19. #use virtual interface 'tap'
  20. dev tap
  21.  
  22. #keep trying indefinitely to resolve the host name of the OpenVPN server.
  23. resolv-retry infinite
  24.  
  25. #most clients don't need to bind to a specific local port number.
  26. nobind
  27.  
  28. #try to preserve some state across restarts
  29. persist-key
  30. persist-tun
  31.  
  32. #enable compression on the VPN link
  33. comp-lzo
  34.  
  35. #set log file verbosity.
  36. verb 4
  37.  
  38. #silence repeating messages
  39. mute 20
  40.  
  41. #Windows specific
  42. win-sys 'env'
  43. route-method exe
  44. route-delay 3
  45.  
  46. http-proxy 10.2.20.248 8080 proxy-login ntlm
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement