SHARE
TWEET

vpn

a guest Jan 10th, 2020 153 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. dev tun
  2. tls-client
  3.  
  4. remote MY_SERWER_IP 1194
  5.  
  6. # The "float" tells OpenVPN to accept authenticated packets from any address,
  7. # not only the address which was specified in the --remote option.
  8. # This is useful when you are connecting to a peer which holds a dynamic address
  9. # such as a dial-in user or DHCP client.
  10. # (Please refer to the manual of OpenVPN for more information.)
  11.  
  12. #float
  13.  
  14. # If redirect-gateway is enabled, the client will redirect it's
  15. # default network gateway through the VPN.
  16. # It means the VPN connection will firstly connect to the VPN Server
  17. # and then to the internet.
  18. # (Please refer to the manual of OpenVPN for more information.)
  19.  
  20. #redirect-gateway def1
  21.  
  22. # dhcp-option DNS: To set primary domain name server address.
  23. # Repeat this option to set secondary DNS server addresses.
  24.  
  25. #dhcp-option DNS DNS_IP_ADDRESS
  26.  
  27. pull
  28.  
  29. # If you want to connect by Server's IPv6 address, you should use
  30. # "proto udp6" in UDP mode or "proto tcp6-client" in TCP mode
  31. proto udp
  32.  
  33. script-security 2
  34.  
  35.  
  36. reneg-sec 0
  37.  
  38. auth SHA512
  39.  
  40. cipher AES-256-CBC
  41.  
  42. auth-user-pass
  43.  
  44.  
  45. key-direction 1
  46.  
  47. comp-lzo
  48. explicit-exit-notify
  49. <ca>
  50.  
  51. -----BEGIN CERTIFICATE-----
  52. xxxxxxxxxxxxxxxxxxxxxxxxxxxx
  53. -----END CERTIFICATE-----
  54. </ca>
  55.  
  56. <tls-auth>
  57.  
  58. #
  59. # 2048 bit OpenVPN static key
  60. #
  61. -----BEGIN OpenVPN Static key V1-----
  62. xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
  63. -----END OpenVPN Static key V1-----
  64. </tls-auth>
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
Top