Advertisement
Guest User

Untitled

a guest
Aug 23rd, 2019
178
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 9.44 KB | None | 0 0
  1. ###############################################################################
  2. # OpenVPN 2.0 Sample Configuration File
  3. # for PacketiX VPN / SoftEther VPN Server
  4. #
  5. # !!! AUTO-GENERATED BY SOFTETHER VPN SERVER MANAGEMENT TOOL !!!
  6. #
  7. # !!! YOU HAVE TO REVIEW IT BEFORE USE AND MODIFY IT AS NECESSARY !!!
  8. #
  9. # This configuration file is auto-generated. You might use this config file
  10. # in order to connect to the PacketiX VPN / SoftEther VPN Server.
  11. # However, before you try it, you should review the descriptions of the file
  12. # to determine the necessity to modify to suitable for your real environment.
  13. # If necessary, you have to modify a little adequately on the file.
  14. # For example, the IP address or the hostname as a destination VPN Server
  15. # should be confirmed.
  16. #
  17. # Note that to use OpenVPN 2.0, you have to put the certification file of
  18. # the destination VPN Server on the OpenVPN Client computer when you use this
  19. # config file. Please refer the below descriptions carefully.
  20.  
  21.  
  22. ###############################################################################
  23. # Specify the type of the layer of the VPN connection.
  24. #
  25. # To connect to the VPN Server as a "Remote-Access VPN Client PC",
  26. # specify 'dev tun'. (Layer-3 IP Routing Mode)
  27. #
  28. # To connect to the VPN Server as a bridging equipment of "Site-to-Site VPN",
  29. # specify 'dev tap'. (Layer-2 Ethernet Bridgine Mode)
  30.  
  31. dev tun
  32.  
  33.  
  34. ###############################################################################
  35. # Specify the underlying protocol beyond the Internet.
  36. # Note that this setting must be correspond with the listening setting on
  37. # the VPN Server.
  38. #
  39. # Specify either 'proto tcp' or 'proto udp'.
  40.  
  41. proto udp
  42.  
  43.  
  44. ###############################################################################
  45. # The destination hostname / IP address, and port number of
  46. # the target VPN Server.
  47. #
  48. # You have to specify as 'remote <HOSTNAME> <PORT>'. You can also
  49. # specify the IP address instead of the hostname.
  50. #
  51. # Note that the auto-generated below hostname are a "auto-detected
  52. # IP address" of the VPN Server. You have to confirm the correctness
  53. # beforehand.
  54. #
  55. # When you want to connect to the VPN Server by using TCP protocol,
  56. # the port number of the destination TCP port should be same as one of
  57. # the available TCP listeners on the VPN Server.
  58. #
  59. # When you use UDP protocol, the port number must same as the configuration
  60. # setting of "OpenVPN Server Compatible Function" on the VPN Server.
  61.  
  62. # Note: The below hostname is came from the Dynamic DNS Client function
  63. # which is running on the VPN Server. If you don't want to use
  64. # the Dynamic DNS hostname, replace it to either IP address or
  65. # other domain's hostname.
  66.  
  67. remote vpn132636341.v4.softether.net 1194
  68.  
  69.  
  70. ###############################################################################
  71. # The HTTP/HTTPS proxy setting.
  72. #
  73. # Only if you have to use the Internet via a proxy, uncomment the below
  74. # two lines and specify the proxy address and the port number.
  75. # In the case of using proxy-authentication, refer the OpenVPN manual.
  76.  
  77. ;http-proxy-retry
  78. ;http-proxy [proxy server] [proxy port]
  79.  
  80.  
  81. ###############################################################################
  82. # The encryption and authentication algorithm.
  83. #
  84. # Default setting is good. Modify it as you prefer.
  85. # When you specify an unsupported algorithm, the error will occur.
  86. #
  87. # The supported algorithms are as follows:
  88. # cipher: [NULL-CIPHER] NULL AES-128-CBC AES-192-CBC AES-256-CBC BF-CBC
  89. # CAST-CBC CAST5-CBC DES-CBC DES-EDE-CBC DES-EDE3-CBC DESX-CBC
  90. # RC2-40-CBC RC2-64-CBC RC2-CBC CAMELLIA-128-CBC CAMELLIA-192-CBC CAMELLIA-256-CBC
  91. # auth: SHA SHA1 SHA256 SHA384 SHA512 MD5 MD4 RMD160
  92.  
  93. cipher AES-128-CBC
  94. auth SHA1
  95.  
  96.  
  97. ###############################################################################
  98. # Other parameters necessary to connect to the VPN Server.
  99. #
  100. # It is not recommended to modify it unless you have a particular need.
  101.  
  102. resolv-retry infinite
  103. nobind
  104. persist-key
  105. persist-tun
  106. client
  107. verb 3
  108. auth-user-pass
  109.  
  110.  
  111. ###############################################################################
  112. # The certificate file of the destination VPN Server.
  113. #
  114. # The CA certificate file is embedded in the inline format.
  115. # You can replace this CA contents if necessary.
  116. # Please note that if the server certificate is not a self-signed, you have to
  117. # specify the signer's root certificate (CA) here.
  118.  
  119. <ca>
  120. -----BEGIN CERTIFICATE-----
  121. MIID+jCCAuKgAwIBAgIBADANBgkqhkiG9w0BAQsFADB8MSMwIQYDVQQDDBp2cG4x
  122. MzI2MzYzNDEuc29mdGV0aGVyLm5ldDEjMCEGA1UECgwadnBuMTMyNjM2MzQxLnNv
  123. ZnRldGhlci5uZXQxIzAhBgNVBAsMGnZwbjEzMjYzNjM0MS5zb2Z0ZXRoZXIubmV0
  124. MQswCQYDVQQGEwJVUzAeFw0xOTA4MjMwNTI4NTNaFw0zNzEyMzEwNTI4NTNaMHwx
  125. IzAhBgNVBAMMGnZwbjEzMjYzNjM0MS5zb2Z0ZXRoZXIubmV0MSMwIQYDVQQKDBp2
  126. cG4xMzI2MzYzNDEuc29mdGV0aGVyLm5ldDEjMCEGA1UECwwadnBuMTMyNjM2MzQx
  127. LnNvZnRldGhlci5uZXQxCzAJBgNVBAYTAlVTMIIBIjANBgkqhkiG9w0BAQEFAAOC
  128. AQ8AMIIBCgKCAQEA3Ig7ZYO6+mnoSWI6wT+pq1E9IrDxl7ztqLA8zs+53wzFDaCu
  129. k2TsryFBPiRWGlcL7al+Ea1WiFc3cUAfQEgDmz03Yw/H+ebZzvqhUiQw//BnZbse
  130. FoYBGp/aBvZO7lU0rJj/oKoNnF2PbGF03FcmWwT5NgehwzJllBZDzvD5LdHCcQVY
  131. F9b+Bfne4t1xUbk7yrq5GHB/lrGn2YN74Ubjpv2NmzWkyJiJuKNxjLvSU11ICMg1
  132. 02nkMwCVvBR+cZEuMqKkEKVIA+pskAccvP90WSICed/KqUkFhEx2N3HwM8f+V1Uc
  133. 3hbc2KgwbeabkmRuNVDBJ8u6yQkh9slkSyhqgwIDAQABo4GGMIGDMA8GA1UdEwEB
  134. /wQFMAMBAf8wCwYDVR0PBAQDAgH2MGMGA1UdJQRcMFoGCCsGAQUFBwMBBggrBgEF
  135. BQcDAgYIKwYBBQUHAwMGCCsGAQUFBwMEBggrBgEFBQcDBQYIKwYBBQUHAwYGCCsG
  136. AQUFBwMHBggrBgEFBQcDCAYIKwYBBQUHAwkwDQYJKoZIhvcNAQELBQADggEBANDs
  137. FQN3wLD7mYdV2EWLR6TGw018osGLFim7gw+WYlomqoDZaz3tzIdqYNjEv673Qt+0
  138. ++fko3QtfqM6VGfPQ0EJpelxTVe0YYWISXDNuc4bWSIhXVb4iimM1w0vds8J52jd
  139. 0umKWsbOWTWCrsWJsPA3vydr0n3PFi7YI1s8Xl4IWNpAwTSmsEFKLkGnvpP5wte+
  140. aUiDf2DsTli4y1WWFtIIXpNn1xJvn9TK/iC554SLpejlv5gxUCX++dqP4CCc8tte
  141. 79nls3EAOouODmKEzaggwJsdMUE3N+QER0jNUJANOPUWadiXdnNAAhmlZSxeOBFZ
  142. NaRe95wNKaHbPbe4gKE=
  143. -----END CERTIFICATE-----
  144.  
  145. </ca>
  146.  
  147.  
  148. ###############################################################################
  149. # The client certificate file (dummy).
  150. #
  151. # In some implementations of OpenVPN Client software
  152. # (for example: OpenVPN Client for iOS),
  153. # a pair of client certificate and private key must be included on the
  154. # configuration file due to the limitation of the client.
  155. # So this sample configuration file has a dummy pair of client certificate
  156. # and private key as follows.
  157.  
  158. <cert>
  159. -----BEGIN CERTIFICATE-----
  160. MIID1jCCAr6gAwIBAgIBADANBgkqhkiG9w0BAQsFADBqMR0wGwYDVQQDDBQxNTQ4
  161. Mzc4NDExMTk0NTM1MjQ4NzEdMBsGA1UECgwUMTU0ODM3ODQxMTE5NDUzNTI0ODcx
  162. HTAbBgNVBAsMFDE1NDgzNzg0MTExOTQ1MzUyNDg3MQswCQYDVQQGEwJVUzAeFw0x
  163. OTA4MjMyMDQyMjRaFw0zNzEyMzEyMDQyMjRaMGoxHTAbBgNVBAMMFDE1NDgzNzg0
  164. MTExOTQ1MzUyNDg3MR0wGwYDVQQKDBQxNTQ4Mzc4NDExMTk0NTM1MjQ4NzEdMBsG
  165. A1UECwwUMTU0ODM3ODQ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ATE-----
  182.  
  183. </cert>
  184.  
  185. <key>
  186. -----BEGIN PRIVATE KEY-----
  187. MIIEvgIBADANBgkqhkiG9w0BAQEFAASCBKgwggSkAgEAAoIBAQDFPvrX1O9POwPT
  188. NWhHgL+o7GyGwEkoUgKyHUEFsPPDwzmgYUgQXh7Vc9PVBXH6IB5BRBs7kj17CFAW
  189. DVnFshXbv+Gwqtpc8sPQqP5rzUfw6tWJzj12TUwHqD0EBs1cJie5uWs0IQCawWBK
  190. chHV47MduBvBt7aZPauIwAlnWsqq8jn9heFfBvFupf5G+dnqR0AIX77VOnBJtg80
  191. v4CHpF0QfxEbVzhDKnKVmoIz+hTPZomO632rV8XOV1dl0DwG/ViKCfcyI5Hn9OoL
  192. IvZn1oUpQ5gMBjrAgfo/8zuE6ZqHzg1EXHLhHFI26+niZYvMnyfncKvlVRM57+2W
  193. JrkDvZoJAgMBAAECggEAc8I4eP6Qy9D4t7W6U2xuDvdh4dtrk+w9hMbCaFKnXRZv
  194. 9X3iSyjRs7fcdEJT19WNrAQKb3Wt+0yvo6GGNA4F4gfErmg26yHWZdkoJ6A8Plmz
  195. pMKTM6C9pCjKVlifoRsLaWY2UkukDS68EjTL3tlZP3HTaGcnFNwqlYEOg8e29YdX
  196. WYC82aqL8nHEpR9j+PGeatWFUT+4wVweoH39JwOBecInY345dzyWeY5Ot5UkcXuM
  197. Oac2sZP5YBp6etQ+wQo6ZdArWtepAXBvYHt/0jhKvlBC6fxQ6OZTh9qoXNPuDqqs
  198. cT2RQ6vAAErf1agXPto4HyvcEfUW+wXsFpU6oBBb4QKBgQDiSGQW7wAOSeUQpQ5U
  199. mU2utzkduzQPPD1AyRE3vTY57Mu6vV4tG5Ll0oNN4rssBGS6Yy3HrTzCC1J2myxj
  200. mfBuQfO3ROLz5YAI8WFx5eV8QQXJS210UOSficV+FGAbEsFLuAnsPawn0AvHn1eZ
  201. YkpKTb6gWMoD4+coaH72gHZbXQKBgQDfJmAPq3fheRYGCl1NlzljjEGBQS5ynfdS
  202. eFKss+b3MEvG5PiEnY+oaOk5NBtoEDcjcKxqoQZSXiEs2MJRqWLwpPW4muzcMfhh
  203. rG7qZfWUvnm6t2PeMIWJXlG72HlYP/h88IHYnijvqAtiFrMuSSYOAZubPPvig6yv
  204. USLLCX66nQKBgQCFoNZqrK1NwtmhILf7waScXts98YVm0d4iWhru3bAeOPZ+ysHI
  205. xZXUXqLn5dM+xUFuyI8KcgWFWgZSwIRQNWJE2nHAcs/L1GXt4g33oxoIbKWsH/z9
  206. SaAZjtSwBfxTQJohywchGbKGuFechT7H98GDa7H9IzH5ZibmN/9yNp6uiQKBgQCj
  207. RiDjVkLQ5xgGM28xZoTHIciMGnUxyAM+hGt5kehc1SmczcxIvEBwqNJ82HN1IOg3
  208. NinxmwBVJCqB9de4iIesLAbem/zS4H0sek5tk0ytGPFYfPbFjBso96o2F54xxBy8
  209. zf0z0gWB1SL/EjzokP0XInYIkAZ9Jnsji+o5RSlEwQKBgAad8VhKaZDvAEy5MNQM
  210. 2GpO7ix55j03503/U0pQLRZEn98MWqPzb4IyDf8I8QbSRzOWh7RPz/pVw7KdZQLZ
  211. BHbFKSymTiEI46UV/OEo81VYbhGZ7ZszB1RyFUq3vqrmppmKfB9hc7d64l2zBBrV
  212. jN0waSOnycg5Zz5IAOZYuKcq
  213. -----END PRIVATE KEY-----
  214.  
  215. </key>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement