Advertisement
Guest User

Untitled

a guest
Aug 23rd, 2019
181
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 vpn144587397.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. NDQ1ODczOTcuc29mdGV0aGVyLm5ldDEjMCEGA1UECgwadnBuMTQ0NTg3Mzk3LnNv
  123. ZnRldGhlci5uZXQxIzAhBgNVBAsMGnZwbjE0NDU4NzM5Ny5zb2Z0ZXRoZXIubmV0
  124. MQswCQYDVQQGEwJVUzAeFw0xOTA4MjMwNTM1MzFaFw0zNzEyMzEwNTM1MzFaMHwx
  125. IzAhBgNVBAMMGnZwbjE0NDU4NzM5Ny5zb2Z0ZXRoZXIubmV0MSMwIQYDVQQKDBp2
  126. cG4xNDQ1ODczOTcuc29mdGV0aGVyLm5ldDEjMCEGA1UECwwadnBuMTQ0NTg3Mzk3
  127. LnNvZnRldGhlci5uZXQxCzAJBgNVBAYTAlVTMIIBIjANBgkqhkiG9w0BAQEFAAOC
  128. AQ8AMIIBCgKCAQEAv8ygEnMGfVcI/u7MrdVicRRYF19PZEBCUNYmXut9glyTYlPE
  129. WIp05gWLQueOmrNvnG+pPRvXgQZAzXNat6/xw6jV8ZsonQWIIMVBvNzvvBbFBpc9
  130. Iy2zeEz385JveZvz10zATyF0LO3rh627icdIY2PgicGGXwZGgNsojnZUojO5TC+d
  131. sLOKWxOfWYyLFFLL6/AZn3Q9rgfCdtFMONTz/IHpLNsfhBPtJgHfNSgEoCiOrALF
  132. BB8VSs0sgp1Zrxv+1gmBMtWg59UAoEQSTBNLoqVs8Mjcx6zjBoEXBYcl+k3FuyzQ
  133. BP1fhHXJ+0xX0dvnpfOHJ/JImOWF2bAkUs+nHQIDAQABo4GGMIGDMA8GA1UdEwEB
  134. /wQFMAMBAf8wCwYDVR0PBAQDAgH2MGMGA1UdJQRcMFoGCCsGAQUFBwMBBggrBgEF
  135. BQcDAgYIKwYBBQUHAwMGCCsGAQUFBwMEBggrBgEFBQcDBQYIKwYBBQUHAwYGCCsG
  136. AQUFBwMHBggrBgEFBQcDCAYIKwYBBQUHAwkwDQYJKoZIhvcNAQELBQADggEBAF39
  137. /7u3L4DTa6Ma8z5l2M4XEhuMSvM2sUavQPK6ltZZHLl9EFs2fmARXhnG/h6wTG+5
  138. m1yCANGR1kj4PsC0EnbTshurP4P78aO9i26iYIocl4ivK3aP1yJEn923rKVv/7yK
  139. Jqq60S03n4jbZ4GFaABXKTK+ucVlXwi6bIoS+3QnMX3RzTpgs1t9hkHnyXiweWDj
  140. aGreDWzrIF2ovIL9D1+tsfxioPD/JzhLF3HjqxySce6Qex1pngTKHHloM3uhts+L
  141. v+jNsNE7m69S9Yh9ZOuIc6QRAX2slIdNJxwmScehcu1g7H4Ni58LO7hL8HgmsjH3
  142. Q3w/qUlUVJ7VV8rnVP8=
  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. MIID1jCCAr6gAwIBAgIBADANBgkqhkiG9w0BAQsFADBqMR0wGwYDVQQDDBQxNjMz
  161. NzQ4NTk3NjE1NTU4Njk0NTEdMBsGA1UECgwUMTYzMzc0ODU5NzYxNTU1ODY5NDUx
  162. HTAbBgNVBAsMFDE2MzM3NDg1OTc2MTU1NTg2OTQ1MQswCQYDVQQGEwJVUzAeFw0x
  163. OTA4MjMyMDQxNTVaFw0zNzEyMzEyMDQxNTVaMGoxHTAbBgNVBAMMFDE2MzM3NDg1
  164. OTc2MTU1NTg2OTQ1MR0wGwYDVQQKDBQxNjMzNzQ4NTk3NjE1NTU4Njk0NTEdMBsG
  165. A1UECwwUMTYzMzc0ODU5NzYxNTU1ODY5NDUxCzAJBgNVBAYTAlVTMIIBIjANBgkq
  166. hkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEAs5+YUqmU4L7XdAWsUJkUgU3O6kDwo7fi
  167. r8Mu9DnI1uAfJsbjy1PZk0v6k9dLZxR28M1eZxRN8dt/xA/fCoI2lCb9yaLiWVdQ
  168. RGxm37qrnla4orvhdtnMuwgPSK9Pup7kO+ZymOrWxi5ryFqSWYP0VtfqAou43dlP
  169. fUT2cZhirj6LxmAXTCVEUKBwyiXC04Rga3EE9dkIW1eD0qBppKRuqdFJT09P1VVB
  170. vP2gP3CHfgd8ovlgJUFCh6XIZSfex5Pw464Qhl+0wVass4i6pJwH5SD4aZSvMz87
  171. bNj1iZDjFHiYG50z6aO9hHGO0HapuFEPNkJaJoXaLVqT5q0YVW3DkQIDAQABo4GG
  172. MIGDMA8GA1UdEwEB/wQFMAMBAf8wCwYDVR0PBAQDAgH2MGMGA1UdJQRcMFoGCCsG
  173. AQUFBwMBBggrBgEFBQcDAgYIKwYBBQUHAwMGCCsGAQUFBwMEBggrBgEFBQcDBQYI
  174. KwYBBQUHAwYGCCsGAQUFBwMHBggrBgEFBQcDCAYIKwYBBQUHAwkwDQYJKoZIhvcN
  175. AQELBQADggEBACAf7cUzlfo1/rSXeRhWIqId9pGBKFIvAewQoQQmIRqha3VwK3La
  176. bZwcbMnexwiiv4IdMKzlVZuEE0UpXShZdmW9+HXLcqy8r4/D3dhKP+DsDZdQ+Bnv
  177. fXAgyUyLsY4cNWgc8KJ2uaHJeaLgq+QgtSTqVJ5PmYVHkvTkE+xUxoDokye5dC+z
  178. at9FamHiFZiOLWdcaDRku6tdFrefmTwtPNYjf2i1JS7PWi9Oc1WFQhs3kwetPnAB
  179. bAGVTLFqM/TSDci++Ob4MGBXwDUa6ztKy5iCllHw9c1hqNEkEttUZD1TC1Xyo12z
  180. /qgMGdTMyc7zRSlSu21BPmRDUZzaigZOvy4=
  181. -----END CERTIFICATE-----
  182.  
  183. </cert>
  184.  
  185. <key>
  186. -----BEGIN PRIVATE KEY-----
  187. MIIEvwIBADANBgkqhkiG9w0BAQEFAASCBKkwggSlAgEAAoIBAQCzn5hSqZTgvtd0
  188. BaxQmRSBTc7qQPCjt+Kvwy70OcjW4B8mxuPLU9mTS/qT10tnFHbwzV5nFE3x23/E
  189. D98KgjaUJv3JouJZV1BEbGbfuqueVriiu+F22cy7CA9Ir0+6nuQ75nKY6tbGLmvI
  190. WpJZg/RW1+oCi7jd2U99RPZxmGKuPovGYBdMJURQoHDKJcLThGBrcQT12QhbV4PS
  191. oGmkpG6p0UlPT0/VVUG8/aA/cId+B3yi+WAlQUKHpchlJ97Hk/DjrhCGX7TBVqyz
  192. iLqknAflIPhplK8zPzts2PWJkOMUeJgbnTPpo72EcY7Qdqm4UQ82QlomhdotWpPm
  193. rRhVbcORAgMBAAECggEBALKG8A1QsUEDTP7q2I4u57twizQ2oTYHgQ3yL8vbVuuC
  194. TFPtH+EqELkergmc1Tu5klHZvHc1Lhcxc3Z509QNAZQUgO+UreXgK04mc8TwMryo
  195. MtDDbd8DsEFATHiQjezNGckTTVkBJ8BHySaUJptD1GkwJkyrdG1DHIdEMLFMpN/K
  196. bjg5MpCMFSHht3yzeqNF9z7dTAyN7ANtaov83tD6H4Bo4YHZ8bakJ9IiN7Xra7p1
  197. kaopaaT4VlvO1ln5X/4jZkkCsBebfjRnCBzn7qQpzdF2mQB65YLouX6BK3YAGbJb
  198. 6FoH+TALXNtNBNZSOpgGG+QYwgkgQdsdCrEZX81RGKUCgYEA2E+1LvQ/YUU1ZS6s
  199. 3GoCY75IZ4x2opehQStO0wZGToouxfelhbQ4MPJbR4ENK9rEESb4elwxvPgc2xR+
  200. pFNDzNWDqXJsbrIoil4H9gv2qz83FxZk3ciRk7qe/Y0+vU8Pn1XjQzhA48u+TIfc
  201. LjdoBh/bFQA3kauBbnAF4JQ4yLcCgYEA1JShMGh5EsTWMDsiyNqvyIkPz9chegLr
  202. WGrV5wncufbgmzQe8ShbfJ5nXvr4pq1W05uPAHZBexkVHKWe62ueMknwl9+1Q5lz
  203. Z8jPcKq9HbCE/p7EuIELRzaepvHXQIeoHnuQBiTNL43QislD8rd2W2+LjpLcLrA8
  204. jJY9YeYzvfcCgYEAvJfKHTUAqVsA8cXfGpEmojX9xKI3sQzIoBwVLnFTDRj3LMz8
  205. uHTnZO143f/LLwgeV+IFVBFboCkmZ3AX9kdOXqFtmGfV2DFmnTTcdg36M1X7Pxrc
  206. OG2tVwKnqeLi54St1zq32RyLntA9i1YMhxLxlB1kEoxM5qmEQHhU93fjhkMCgYAs
  207. pwOsrWUxIhNzkhheZEEkOFYP7Dpl7JMOwXIo05N/pHHNaAdP1JBS/trrwn/UUvi3
  208. /ibti+l5N+2NVOSqwrI6EfntjNoAVw08sZuRKOwMfnWRHjxoHQMHdFui6Y2zSktw
  209. C7hW8gf/gyRY4qnZI9xCnI2N5x9E11QAm9ZM6BPaRQKBgQC46u/pf+W8qMyCA/Kc
  210. UGQZqEuAtNBF/fcBNiLBrzej4/lbfNWE4cFx0b/3gwPRY8kyw9PolMdQQTLBJQ10
  211. AriC4ioY/R/nVvCCdEA31zXCiFmlTyYLezpyKbcJGqnG5aO40sD1tJKKkw/xDx3S
  212. XeeCj5YiTSmrF4/btjsNf5XLIA==
  213. -----END PRIVATE KEY-----
  214.  
  215. </key>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement