Advertisement
Guest User

Untitled

a guest
Aug 19th, 2019
637
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 vpn856119593.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+jCCAuKgAwIBAgIBADANBgkqhkiG9w0BAQsFADB8MSMwIQYDVQQDDBp2cG44
  122. NTYxMTk1OTMuc29mdGV0aGVyLm5ldDEjMCEGA1UECgwadnBuODU2MTE5NTkzLnNv
  123. ZnRldGhlci5uZXQxIzAhBgNVBAsMGnZwbjg1NjExOTU5My5zb2Z0ZXRoZXIubmV0
  124. MQswCQYDVQQGEwJVUzAeFw0xOTA4MjAwMzQyMzdaFw0zNzEyMzEwMzQyMzdaMHwx
  125. IzAhBgNVBAMMGnZwbjg1NjExOTU5My5zb2Z0ZXRoZXIubmV0MSMwIQYDVQQKDBp2
  126. cG44NTYxMTk1OTMuc29mdGV0aGVyLm5ldDEjMCEGA1UECwwadnBuODU2MTE5NTkz
  127. LnNvZnRldGhlci5uZXQxCzAJBgNVBAYTAlVTMIIBIjANBgkqhkiG9w0BAQEFAAOC
  128. AQ8AMIIBCgKCAQEA0713UxzBhB4mkpl0aTlySkmyHrFNRPLwqQ9N/P3VBZBaTg1/
  129. UccQzYubS7dZ5JHX2ZyWq6tbvb9JbbXElsPHZL+lw8XhHf56woxxsU4irmg6XLWd
  130. IuMppOsTovYBQJ2/ynQRABNWsHGyd/PpuvNTaWHjOwVL18GOtgwDMXOBdIC5HkE5
  131. y2tGbyOQHB70KYpXZxmpP5qsBpayQ5Ehu0CiU9K0OCxegSURpimw025Etdpp+2H7
  132. B+HosFBE3tPZmVOgP6GsE+BUhgPOjcSO8scTnpmLYuwaPXCWWyqd5m4soJnZlu/g
  133. DAYwIfEm+xWW036hyk4dF8BC3Fucl2mS3oZsNwIDAQABo4GGMIGDMA8GA1UdEwEB
  134. /wQFMAMBAf8wCwYDVR0PBAQDAgH2MGMGA1UdJQRcMFoGCCsGAQUFBwMBBggrBgEF
  135. BQcDAgYIKwYBBQUHAwMGCCsGAQUFBwMEBggrBgEFBQcDBQYIKwYBBQUHAwYGCCsG
  136. AQUFBwMHBggrBgEFBQcDCAYIKwYBBQUHAwkwDQYJKoZIhvcNAQELBQADggEBAG5Y
  137. O/RqU7Y8ySo4dJgxFARZOLLxeXvsj6flXiCHw5KVVBpYJJcl7jadoF2oxZ5Vs7R7
  138. 5n2MGZ3ZA2hoDqp3r8yr29qz03c+iXioxR59WL5zz94KmTuZ1tcouvzjqLJIN6jg
  139. S58kOXmH3CiAtqzsd2BEo0VGM8zUYkm7JVyvp4FhZL8jx0BgYpWFy6eD3CKpac24
  140. 59qGLFJ24CTDYNrE379ToG7f32cSLiD66+VaTEB/O0/5qM/m8yuH3KUkdbkwteOh
  141. 2CV3blKZuMqYK/6E4zadIWnYLO8nd4/VEdUyFLAuWe1F0vApRbN5cW+x1Ck7ZOK2
  142. KTfZ1koWP+5p+3gKfpI=
  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. MIID1jCCAr6gAwIBAgIBADANBgkqhkiG9w0BAQsFADBqMR0wGwYDVQQDDBQxMTA5
  161. MzMzODg5MzMyMTc5NTk2OTEdMBsGA1UECgwUMTEwOTMzMzg4OTMzMjE3OTU5Njkx
  162. HTAbBgNVBAsMFDExMDkzMzM4ODkzMzIxNzk1OTY5MQswCQYDVQQGEwJVUzAeFw0x
  163. OTA4MjAwNDMyNTdaFw0zNzEyMzEwNDMyNTdaMGoxHTAbBgNVBAMMFDExMDkzMzM4
  164. ODkzMzIxNzk1OTY5MR0wGwYDVQQKDBQxMTA5MzMzODg5MzMyMTc5NTk2OTEdMBsG
  165. A1UECwwUMTEwOTMzMzg4OTMzMjE3OTU5NjkxCzAJBgNVBAYTAlVTMIIBIjANBgkq
  166. hkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEAuShmGSCldm/4sE3PyuHkhnqM3SehzS6G
  167. NtDVHl7b7t9JLOv62qNGA3GFFwZ5H6voaB0DZUTqJvU3KNGukSGYMZDQM7Kfc+yN
  168. ZZaxWqcF00GfR0UV8yaYL3gi73rpm03MB68pnoGjLWJhGF8fWArNuRDoA6UVN/CB
  169. EW1t8ZceKnvDyk75vHv7u+RZnOpDsFAtBQU5o/nx9OyxxmFeBUZ2O3WqFDHZE9d0
  170. 2OYJCamDqonsDP2yqGZcG/y0GPJxFCDIz3dRpQCI3F+usTH1kQDATdnn+PWlgOZo
  171. 416yzjPKblVQyh4gdogK3ZX+mBL4Umu/EzZ1//FwMmMHOKHd6ELj1wIDAQABo4GG
  172. MIGDMA8GA1UdEwEB/wQFMAMBAf8wCwYDVR0PBAQDAgH2MGMGA1UdJQRcMFoGCCsG
  173. AQUFBwMBBggrBgEFBQcDAgYIKwYBBQUHAwMGCCsGAQUFBwMEBggrBgEFBQcDBQYI
  174. KwYBBQUHAwYGCCsGAQUFBwMHBggrBgEFBQcDCAYIKwYBBQUHAwkwDQYJKoZIhvcN
  175. AQELBQADggEBAG1pvBeZ2czPQzLj+UWjquKWG3/DhflhldiS3xO+TC/lzebsRGaw
  176. 1rJQUzI1K6Bwt1SuVai+0vGEel4k0U3TtDpN1xESKs7nc0THCaqld5F8VOhiLHRe
  177. 6+caZIPvLROpfnSGtwiGkm/dO3x1yEHnm5SclKs8O7UgAoxOmsvcQ+cUTSfxWsn7
  178. bbZ3o3Rz4Ob+OKuJCdyMPgdEU+fuquY+4LQmVTn/ncCC6XbyaRCELbnt0uHwEZFv
  179. Nu/3nFHOHdxqVHRHIzHlIb1kBt1n1Hf3Z1GYCV01F8u8quCSH3rNg+EcDGU/Xka8
  180. TFt4LhpkAI4fUf0CnjK9lWfwS84czdqvSPg=
  181. -----END CERTIFICATE-----
  182.  
  183. </cert>
  184.  
  185. <key>
  186. -----BEGIN PRIVATE KEY-----
  187. MIIEvgIBADANBgkqhkiG9w0BAQEFAASCBKgwggSkAgEAAoIBAQC5KGYZIKV2b/iw
  188. Tc/K4eSGeozdJ6HNLoY20NUeXtvu30ks6/rao0YDcYUXBnkfq+hoHQNlROom9Tco
  189. 0a6RIZgxkNAzsp9z7I1llrFapwXTQZ9HRRXzJpgveCLveumbTcwHrymegaMtYmEY
  190. Xx9YCs25EOgDpRU38IERbW3xlx4qe8PKTvm8e/u75Fmc6kOwUC0FBTmj+fH07LHG
  191. YV4FRnY7daoUMdkT13TY5gkJqYOqiewM/bKoZlwb/LQY8nEUIMjPd1GlAIjcX66x
  192. MfWRAMBN2ef49aWA5mjjXrLOM8puVVDKHiB2iArdlf6YEvhSa78TNnX/8XAyYwc4
  193. od3oQuPXAgMBAAECggEATbVPzEHwT5nExLGTgPF3SJ1MW1DTzlo1R/IzT5C+Oy2I
  194. 94p+eJ5HtxBArB4yXYF3g6KRl0HqB7mokcAWxKBV0I+XYesYkr13xmgNPR+WCUik
  195. QXQUNz0+Z8XC28E5I83t0FfKXtTHmDeOyny5mejG2GHpDgaNtjGA6cCEgP1MUsVx
  196. 6AanI3nD2q0pXPslvrnfXM7TZFz4ldKjH4LvkwSVyeztMbQ99jvX9cXPAqSmo09O
  197. gfPsKp8/pcVMaOE6yUMtUuJg+WcGRK9DRQ5p799SEHQe9bUnFSf54Xm/XM3EeIDK
  198. UNDknsHARKip3umP8Ea68Ia/dK875bc5kwR1FU744QKBgQDeRJQqR9B/cYeH/Azu
  199. f35uHG6rtmjaIuWs8hgBTVyiFNJltVkVGO/nGoWPJug3clEEud9IlznQLaEq20pQ
  200. B+PQTisn86qPoFd+b01jrmsGOpEz3ChvQ6BigXOY0Ol7KRqC3fBpCHIsZEigOE/L
  201. I1ousMXqeMW3g/r5TLE7NefYJwKBgQDVQgqG1pWoFkTXts6CNjY8pSneu6qa6GG4
  202. T830X6P6fh7jByE3qqht2cxxp2CETAwsiDaos2hMLz1sy7gMQCCT5DqG0xgCCsDw
  203. 19aGamyIbCY5oPTRGi8g3f1MisVVEQDi2Wm1PJqVP6vjwMdY/GlZcMkFddC8deZt
  204. c1WcTgC00QKBgQCpR3+0p9cyiMuZFKzgo7cts3fSTW2T3Qohaow/yaSoSMVo8vHy
  205. sHheAYQA37fyKp1rxQg6J/q/A1GA61ywkSG/TxltJxYapxqbz7cYGQmnx8k4vw8I
  206. lm+7Ni5ND6cSxt5LFy73P5h9GK97XwfehYE0mCtUBUFIIDtvzSoaF1cI9wKBgG3X
  207. okxpYpQ9RCBHzH5NJgp+l95dkzZO02Z31IE2ceOn6ojNN1LQ2Agc0q0HpTL/aJXX
  208. Yy/pmKMFAgJzu8yzixQhzfN77zW+DDsBMUHytwxdiCLOwMqjTfsD3F/8aj+yjl5J
  209. 1aTAHm8ZaJPay9MNz8V9zky9rlIj+BgP+9ySYNLBAoGBALuCoohwhUMxjMhFvXPE
  210. odUo7Q++fk5lmnCswMEglUaO1N2e7OcpKca9fmMo3B0fZ0FZRbv0fuGYQvW/yPhr
  211. FhXQf147MYNgIGU0ooNoNstzf7DXVOMQIyftdMDoN1IwuIRhTNtxb0dHmXUDtD6/
  212. IEIWTBA6BNglkYLuey6pMsNh
  213. -----END PRIVATE KEY-----
  214.  
  215. </key>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement