spacepaste

  1.  
  2. # ==============================================================================
  3. # Copyright (c) 2016-2017 ProtonVPN A.G. (Switzerland)
  4. # Email: contact@protonvpn.com
  5. #
  6. # The MIT License (MIT)
  7. #
  8. # Permission is hereby granted, free of charge, to any person obtaining a copy
  9. # of this software and associated documentation files (the "Software"), to deal
  10. # in the Software without restriction, including without limitation the rights
  11. # to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
  12. # copies of the Software, and to permit persons to whom the Software is
  13. # furnished to do so, subject to the following conditions:
  14. #
  15. # The above copyright notice and this permission notice shall be included in all
  16. # copies or substantial portions of the Software.
  17. #
  18. # THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
  19. # IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
  20. # FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
  21. # AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
  22. # LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR # OTHERWISE, ARISING
  23. # FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS
  24. # IN THE SOFTWARE.
  25. # ==============================================================================
  26. client
  27. dev tun
  28. proto udp
  29. remote us.protonvpn.com 80
  30. remote us.protonvpn.com 443
  31. remote us.protonvpn.com 4569
  32. remote us.protonvpn.com 1194
  33. remote us.protonvpn.com 5060
  34. remote-random
  35. resolv-retry infinite
  36. nobind
  37. cipher AES-256-CBC
  38. auth SHA512
  39. comp-lzo no
  40. verb 3
  41. tun-mtu 1500
  42. tun-mtu-extra 32
  43. mssfix 1450
  44. persist-key
  45. persist-tun
  46. reneg-sec 0
  47. remote-cert-tls server
  48. auth-user-pass
  49. pull
  50. fast-io
  51. script-security 2
  52. up /etc/openvpn/update-resolv-conf
  53. down /etc/openvpn/update-resolv-conf
  54. <ca>
  55. -----BEGIN CERTIFICATE-----
  56. (snip)
  57. -----END CERTIFICATE-----
  58. </ca>
  59. key-direction 1
  60. <tls-auth>
  61. # 2048 bit OpenVPN static key
  62. -----BEGIN OpenVPN Static key V1-----
  63. (snip)
  64. -----END OpenVPN Static key V1-----
  65. </tls-auth>
  66.