Advertisement
Guest User

Untitled

a guest
Aug 19th, 2019
537
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 vpn362113658.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+jCCAuKgAwIBAgIBADANBgkqhkiG9w0BAQsFADB8MSMwIQYDVQQDDBp2cG4z
  122. NjIxMTM2NTguc29mdGV0aGVyLm5ldDEjMCEGA1UECgwadnBuMzYyMTEzNjU4LnNv
  123. ZnRldGhlci5uZXQxIzAhBgNVBAsMGnZwbjM2MjExMzY1OC5zb2Z0ZXRoZXIubmV0
  124. MQswCQYDVQQGEwJVUzAeFw0xOTA4MjAwMjQ2MjhaFw0zNzEyMzEwMjQ2MjhaMHwx
  125. IzAhBgNVBAMMGnZwbjM2MjExMzY1OC5zb2Z0ZXRoZXIubmV0MSMwIQYDVQQKDBp2
  126. cG4zNjIxMTM2NTguc29mdGV0aGVyLm5ldDEjMCEGA1UECwwadnBuMzYyMTEzNjU4
  127. LnNvZnRldGhlci5uZXQxCzAJBgNVBAYTAlVTMIIBIjANBgkqhkiG9w0BAQEFAAOC
  128. AQ8AMIIBCgKCAQEAzEvVLDfGF7fWdDWihQU1t6yv/oxg9IMV/7JznObTWfZxhOEw
  129. 0wN6y1Gng5Clgvnn+VqpF9Ut2aNsIzEIOf2+4I/ioj9wso/KZRKdkH/jvh4rN3CI
  130. GWTQnFpRaDweDaEpz0HDORmleeX9G/SA0awS58WkFPGi6vvNlg8kzSewqpFtIg0i
  131. IqY90Ipeu0jciGWrHyV5yGhgtVr5e1gL4reWHxQAQhPPGmWy6s7QDnbCVmNorRuh
  132. kssiGauNTo77yZs2sPGBWSQc3wPBJosO9d1oitybgE7nnekMDy5aci/wcrfqzCwR
  133. CjGu2+hhI86ZhhKSPCpUzeeNAJC+Iqm+wv8zkwIDAQABo4GGMIGDMA8GA1UdEwEB
  134. /wQFMAMBAf8wCwYDVR0PBAQDAgH2MGMGA1UdJQRcMFoGCCsGAQUFBwMBBggrBgEF
  135. BQcDAgYIKwYBBQUHAwMGCCsGAQUFBwMEBggrBgEFBQcDBQYIKwYBBQUHAwYGCCsG
  136. AQUFBwMHBggrBgEFBQcDCAYIKwYBBQUHAwkwDQYJKoZIhvcNAQELBQADggEBAJ88
  137. yG/LlekJ+ANMdbirZSaVkEz6ViX1ksbW5bB8kAJbF2exgwPeQ7yLtmODZPgIBp8l
  138. 9sqciHDDG0ou2iZsfekUybAgRDeHYNrrebHOnqXt6f3gLcKgzP2n4iA6t2mOh9Cy
  139. 1zex7grPaS3YTFxGQzeKztURBLB6d3yajawjnVyPEwRIc8Nfwca1HCb+0CKpI6nM
  140. SqWA1ZAERNPGwtta8jmPPFhaAdiCoRXrT4Snah0X9qjuQffOBX/8ivhwZnbi4vxB
  141. CESGg6UD+wABhoWQBB0xjQOaYOVAn2BGrRucqw8z7aOtyrcterhBWA8356A7FvRk
  142. adJAGXTyEDQ4IBZHnSg=
  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. MIID0DCCArigAwIBAgIBADANBgkqhkiG9w0BAQsFADBnMRwwGgYDVQQDDBM0MTEz
  161. MDY4NTE0MDU2MTgyMDc0MRwwGgYDVQQKDBM0MTEzMDY4NTE0MDU2MTgyMDc0MRww
  162. GgYDVQQLDBM0MTEzMDY4NTE0MDU2MTgyMDc0MQswCQYDVQQGEwJVUzAeFw0xOTA4
  163. MjAwNDI4MzBaFw0zNzEyMzEwNDI4MzBaMGcxHDAaBgNVBAMMEzQxMTMwNjg1MTQw
  164. NTYxODIwNzQxHDAaBgNVBAoMEzQxMTMwNjg1MTQwNTYxODIwNzQxHDAaBgNVBAsM
  165. EzQxMTMwNjg1MTQwNTYxODIwNzQxCzAJBgNVBAYTAlVTMIIBIjANBgkqhkiG9w0B
  166. AQEFAAOCAQ8AMIIBCgKCAQEAr1/SDyT2zcsYwNE8XSNaXHm0xtHu5o1ErmduyQMt
  167. KdpCyJtmtNC3x7phlGu4ADCAZZ2NhEwwoDn+/u9BQ3YWtZUq4zZZ9VJfZ07CbSbh
  168. NB1a+HlH5LEfk2b9PsBSBLoCJEiAjiwuKXpS3o6AYtID+6qUj3PJhD6F8Z+0ir6v
  169. s5Y5OMbyYUb86OpNAs95oSWC2caWRBvG8Sw7TeQ17d5+CvlDoWOqGqB+ybytohJF
  170. TmtG0wNLjId0aNVyQfipTdrwWeKKSlUiRM/Myv1VyvU6eGm1NpzDe2eWQcCYrsKK
  171. EYDoCflM/MJVWVpP6nnGFXEWPbnP8R8wPST65tWnitdWTwIDAQABo4GGMIGDMA8G
  172. A1UdEwEB/wQFMAMBAf8wCwYDVR0PBAQDAgH2MGMGA1UdJQRcMFoGCCsGAQUFBwMB
  173. BggrBgEFBQcDAgYIKwYBBQUHAwMGCCsGAQUFBwMEBggrBgEFBQcDBQYIKwYBBQUH
  174. AwYGCCsGAQUFBwMHBggrBgEFBQcDCAYIKwYBBQUHAwkwDQYJKoZIhvcNAQELBQAD
  175. ggEBADxI1LSJ24OIwnW3Xc0FJlyXZn1o+QDqbWg8ykulhVbd68jKuVXNhjgPuVm8
  176. x0CsSyQmMPpSaYsltHYBbhsjVXPx+DSy4xxt9mc1NtizkqQIQyPAetvhmvDX9m+t
  177. G1+8/QoLauEy5Fqmweezcn6d1sxUvD/+rvrDpZi/pY5E1U+ZuuVbRWJrHnjJ/2vv
  178. dRS0z1YXpLCkKlOywwrvgSp87iQZS6PFhduNiCwUeUETTjtYnYAonE1lSA/kkavp
  179. g1kRwWEYFVwQjpALvNTj155h6UYEzMFbGBrUk0w3dysf5LwS857HM6nnooIUeut2
  180. uirAFxHMbpeX1GgAHsHhZBagtdU=
  181. -----END CERTIFICATE-----
  182.  
  183. </cert>
  184.  
  185. <key>
  186. -----BEGIN PRIVATE KEY-----
  187. MIIEvwIBADANBgkqhkiG9w0BAQEFAASCBKkwggSlAgEAAoIBAQCvX9IPJPbNyxjA
  188. 0TxdI1pcebTG0e7mjUSuZ27JAy0p2kLIm2a00LfHumGUa7gAMIBlnY2ETDCgOf7+
  189. 70FDdha1lSrjNln1Ul9nTsJtJuE0HVr4eUfksR+TZv0+wFIEugIkSICOLC4pelLe
  190. joBi0gP7qpSPc8mEPoXxn7SKvq+zljk4xvJhRvzo6k0Cz3mhJYLZxpZEG8bxLDtN
  191. 5DXt3n4K+UOhY6oaoH7JvK2iEkVOa0bTA0uMh3Ro1XJB+KlN2vBZ4opKVSJEz8zK
  192. /VXK9Tp4abU2nMN7Z5ZBwJiuwooRgOgJ+Uz8wlVZWk/qecYVcRY9uc/xHzA9JPrm
  193. 1aeK11ZPAgMBAAECggEAe3wa6rL6XVl+anZp7KLyA19nHP/BGfGqxKrr5PopmOio
  194. UZyqqvK0FRx1jQ50Fx4Pqn1PojILoyZzGIrbB2dlAiKweiBRI14G8zUPzc+sjweE
  195. gKTVLIBTXXUNKFw+5DkdPPMYIgOV1XreUvtAB1UdnN01kfTTlhx4L/RmKbOu/+HC
  196. sIvAhRIvY9jMfumnRcfIek/7LiG1RnGSkt2JI/8z1nhWUILRRZc9aLABitoHdJGP
  197. 0SBoxscPsixh4dmo8oaUW3xuTeFmSX8wYAu7KK1Lv5IDiAiFYoaCHD807OL455D2
  198. ovrCAdYt3hdrHNys6a+OShMEDVJ0Rjh3jwl6DRmecQKBgQDUFFBIeHJVp+PFD/y5
  199. Ci877BY1nv8I5t63QloLAsAXso72c2CqoPpG0vCRYPHi4IbxS9jyEQ/K5MI+1KAd
  200. drAWwCd0FNHGtcv9ymExlEAZrC4SW+ZHfqReSykJ3iZA4YbfaMOeCX946Niz3xUa
  201. wgWsz56r7DAgsQ6/S2Yzy0B36wKBgQDTsYlreN1qfxR8p7rf1kP24D0wlHE8WO4O
  202. 2AYlRgf0f8e1MVWA0izagmllGdGKR6yiSsAuD2PJusYk73v4B2l6RSAZSrIOds7a
  203. EY0+t8lrPe1PEvceAUo+cEydP86ueQGTzCEeVPQb3o15iWzNpDCvWq6g9e4nNaam
  204. QdXxmShGLQKBgQCDnmvI3j+PG1gHeAmPSVvRI48RDjEXdDjqoRpC1R0kV+PT3f0z
  205. SB6rj8RPZUwZUuFMpZbpfF9Bu0E2Pz1zq7JTHEQgDb+3RCJqyowRegFiLXKWYESF
  206. QHqALsM0ZZN2FsFeq6Uj0p8zCcdbsmplpd5hxqSh7D5eO6R8Yi32nQDQqwKBgQCr
  207. FmL/jtEzzrzZ+h0X5m1LSvNpHa9enGjZalGdMjofql3W3KZD1JkXiCpx4SnuXfrx
  208. twQWta1qTh7xnvNMA4GFpfRJPIsnEXIf3+uNcq/Akm4GaEd74oMEb3Ib7IO3kmhp
  209. 8KIbh4E6POWOAjkDAd2u+tUDlX8CBWRIHhEwjx1ziQKBgQDTIsoPJkWBmvR7FSik
  210. +FF46jtkOzkInaCu8ys1b8I81W+XaN98Loc0zNghpAsQqG8Cy/rAFhk2qYH/0FyA
  211. O+78Y+uEZstiyHMR5voEsKZWJ8iLXknOndWRgXo2XI5dhNefQnZcvdv2W/O2Tz29
  212. 9oQ1V6dteRUXsi7brbs2ldt1HA==
  213. -----END PRIVATE KEY-----
  214.  
  215. </key>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement