Advertisement
isptunnelvpn

Untitled

Aug 23rd, 2019
165
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 9.43 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 vpn711281994.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+jCCAuKgAwIBAgIBADANBgkqhkiG9w0BAQsFADB8MSMwIQYDVQQDDBp2cG43
  122. MTEyODE5OTQuc29mdGV0aGVyLm5ldDEjMCEGA1UECgwadnBuNzExMjgxOTk0LnNv
  123. ZnRldGhlci5uZXQxIzAhBgNVBAsMGnZwbjcxMTI4MTk5NC5zb2Z0ZXRoZXIubmV0
  124. MQswCQYDVQQGEwJVUzAeFw0xOTA4MjMwNTUxNDBaFw0zNzEyMzEwNTUxNDBaMHwx
  125. IzAhBgNVBAMMGnZwbjcxMTI4MTk5NC5zb2Z0ZXRoZXIubmV0MSMwIQYDVQQKDBp2
  126. cG43MTEyODE5OTQuc29mdGV0aGVyLm5ldDEjMCEGA1UECwwadnBuNzExMjgxOTk0
  127. LnNvZnRldGhlci5uZXQxCzAJBgNVBAYTAlVTMIIBIjANBgkqhkiG9w0BAQEFAAOC
  128. AQ8AMIIBCgKCAQEAvLPPMdtkcyJQYvnwXfGOLbKk69jf2D3JGh3XkFp/AnqlXisg
  129. WKigzd+nk8Alf1aZ8VgyreaSIhKmO8a0X+AZohFpCcgrr4c2ZYRZLpzUGC218BjW
  130. Pzav9SB71fV7Dnl+R7319sKdtYm3BMzEvm2HMdvyu2jtYJAYBzyKiB/98y/sYzNR
  131. qxHtK0dSi4hYdADlSR4OwUO9mPDHbORHfNQQZfiLpwI1yFuvL6sJliEhYd5XjPms
  132. XjwHQTCUKV7hb2iSFVBzJBpkLoBUaeePVeri+0pwYmar47ymrnogtYvBcpG4jPtg
  133. nR6e5Wo77lLWBdk1J6Q1lT01jHOZXMEt02lWaQIDAQABo4GGMIGDMA8GA1UdEwEB
  134. /wQFMAMBAf8wCwYDVR0PBAQDAgH2MGMGA1UdJQRcMFoGCCsGAQUFBwMBBggrBgEF
  135. BQcDAgYIKwYBBQUHAwMGCCsGAQUFBwMEBggrBgEFBQcDBQYIKwYBBQUHAwYGCCsG
  136. AQUFBwMHBggrBgEFBQcDCAYIKwYBBQUHAwkwDQYJKoZIhvcNAQELBQADggEBACdN
  137. vLGJ0PbI/xL1pZuwCDzLZwvoz+KLaKKj9zIt2AWN4dJKf6iBE8YVIcLIL/eHnKpM
  138. EZur8Jbg8GJTGt6farkllAuOKoG7KU12UubTKQTv3w6SH00+eGVOSFaHO+blERT7
  139. GJt3LyB5CdTbL3FpvDhgE95tUYHrjr0aM2w24mjQwChgv39i/0e6KhP5lDyN5rzi
  140. DiucNsmTZcxmIavw7fNcPf1JmBpIqm2eM2BbJ8cV2qH5Xy1fx+US7X1KX6uBU0Lj
  141. jSPooiTRMa181wG0h4kV6Z401IX1AoU2KN4EG6TTe41jlaB6IBgVf5vwRPReTlYD
  142. 9KPJRABY4JmAV4Mjgjw=
  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. MIID0DCCArigAwIBAgIBADANBgkqhkiG9w0BAQsFADBnMRwwGgYDVQQDDBM2Nzcy
  161. MjQ3MTg0NTMwMzc2NjY1MRwwGgYDVQQKDBM2NzcyMjQ3MTg0NTMwMzc2NjY1MRww
  162. GgYDVQQLDBM2NzcyMjQ3MTg0NTMwMzc2NjY1MQswCQYDVQQGEwJVUzAeFw0xOTA4
  163. MjMyMDQzNTZaFw0zNzEyMzEyMDQzNTZaMGcxHDAaBgNVBAMMEzY3NzIyNDcxODQ1
  164. MzAzNzY2NjUxHDAaBgNVBAoMEzY3NzIyNDcxODQ1MzAzNzY2NjUxHDAaBgNVBAsM
  165. EzY3NzIyNDcxODQ1MzAzNzY2NjUxCzAJBgNVBAYTAlVTMIIBIjANBgkqhkiG9w0B
  166. AQEFAAOCAQ8AMIIBCgKCAQEAqwnoa+1XIaTUQXsQQMpg45VnyJLow+xKgQwjy5dI
  167. c92HQNAM7kVw4N31ubzds3zlJzrOEQMDOBMc0c7Q2dQaiKBCyCsFPaaVDviEuXU7
  168. z9hyj78eQ0Xa1BT/jWlC/QUMakRDkShOfX7wHq0RKbvcMfCi/dcXaxIRPnyawUWF
  169. XaTAwRppv7WzFsJOAzFzipqAMFxaK5gCch+x94VObqXHRfUY7rHIO4PppvGXxXxj
  170. hW3T7OFKf4Y/UjpSZx6CTHq9214kr0oTmSr6r/EXpvbo6FEbIVvd3V9T3ujPD+1X
  171. nSwEjL0kqbj3thfnBmbkhkaZFcluwXQFVWgfldCngImQ3QIDAQABo4GGMIGDMA8G
  172. A1UdEwEB/wQFMAMBAf8wCwYDVR0PBAQDAgH2MGMGA1UdJQRcMFoGCCsGAQUFBwMB
  173. BggrBgEFBQcDAgYIKwYBBQUHAwMGCCsGAQUFBwMEBggrBgEFBQcDBQYIKwYBBQUH
  174. AwYGCCsGAQUFBwMHBggrBgEFBQcDCAYIKwYBBQUHAwkwDQYJKoZIhvcNAQELBQAD
  175. ggEBADOjBH9fUcYFkZ+b6t63YNQlTWc9CUM5H2vZlawisQVufd5lcQybvRJ0wWa+
  176. pQBgDE36fm0qEyArw41xJNmoTpGxr4GJxmWWjF5M6Kp3Y8I8TUak/3LUiiQqeTYM
  177. q1BmECrnKwbQc1EhXjCTtvxO9qvSMOJP17eMRkJ8NwGtCIURQwBTnTyrdNNrw9pr
  178. 2rqgfeJldsN/6i7JBNTQhU6nGWVtxIjprOQ1W+4HYf8p2H5EkeWBoCFlhxnmFTBE
  179. EbLnRekDQfx3oSB95nbNNEHsBdRaBYFn5ci70tr0wHkh+Z6qmc9I/ctxDmOg8KN9
  180. JkIB7QYBEUiu8YytRiT2GRnKsYI=
  181. -----END CERTIFICATE-----
  182.  
  183. </cert>
  184.  
  185. <key>
  186. -----BEGIN PRIVATE KEY-----
  187. MIIEvgIBADANBgkqhkiG9w0BAQEFAASCBKgwggSkAgEAAoIBAQCrCehr7VchpNRB
  188. exBAymDjlWfIkujD7EqBDCPLl0hz3YdA0AzuRXDg3fW5vN2zfOUnOs4RAwM4ExzR
  189. ztDZ1BqIoELIKwU9ppUO+IS5dTvP2HKPvx5DRdrUFP+NaUL9BQxqREORKE59fvAe
  190. rREpu9wx8KL91xdrEhE+fJrBRYVdpMDBGmm/tbMWwk4DMXOKmoAwXFormAJyH7H3
  191. hU5upcdF9Rjuscg7g+mm8ZfFfGOFbdPs4Up/hj9SOlJnHoJMer3bXiSvShOZKvqv
  192. 8Rem9ujoURshW93dX1Pe6M8P7VedLASMvSSpuPe2F+cGZuSGRpkVyW7BdAVVaB+V
  193. 0KeAiZDdAgMBAAECggEAIimOdNApER09D/8mlepWQ965pgRB3bA6iWAFXkrPO+VJ
  194. eJaVnpncG+35gKnKlmkh1B4YvqkdYXvfy8BFUtzcl+F6tURyfYfiSeU1jV1vHuqa
  195. pz+DKeiv9qBjErmtmaAChM8xt7KXStWp3FaxEObm6kqoI49srAQl0ZdNycC7DKLi
  196. C9/JlGhy6l8I+OpUGavm9XetK6NkOEWwyz9Sygn56pqLZ51GvPTquTyfphNvLPCg
  197. TqCwd8JgU3wof/KGSnHaMDGo+cxU791TS4l9eL8M0qQoBchsp5wwePXiRBALiory
  198. oTIhFz5JrZuOuCSXBtNrY7NLJ3Xcgpk2i3oad4hEOQKBgQDUPE/Ft5DEWGyZrPbQ
  199. +Plttfi41w5IVsAs3dNNRios3afzPE204D9OO/fxvww5+UQ1xb7uUeTop8uTqru7
  200. fiB+uPnsJ/BPcRgbf19L2I0gBFA/nIGyjkzg62ICP0Xrwum6NSODLeMd92q0d4FN
  201. lTsTnoREdYW4WR7NqL/18AXlGwKBgQDOTttaYGxyJmDnYZ/1h3+oGc4B4GXmyA/7
  202. DKEHRbmZdRUi1qLYrmRBpgzCBFgLMBet5CbgN76ECl6NX0ZgEv6XLbzKbxMSu30V
  203. Elu4mMcoaaLantqrSeR9GS+rabNH0TbOn1Ht9qo4ewZK2o510tckyzHxkRp198Eu
  204. ebSy8MxZZwKBgQCusv6PJ6z4kjjCvsdj+K2Ii3Oy4wMUtKP3ypi2UP1CdSpcY9Ur
  205. ADPb+Cz+R16PEgn9oUqq7apZgFVote9WRFoHNcgzhiSfn95SNCSDUDvKkQJlejSg
  206. f9X0hozkgKTTjlvKNReIUWtULWceKgi7jg1U9vS1TW/G8UUT0MZCcVLI5QKBgQCH
  207. C2FUiHeURQD7lJDTdI2gaLvLyKqLZXvodnzVuNNj2xspwdu5AHaJ7nq9aYCEWke1
  208. wPmdnX+tCOiZm7sCWoyiQwMoc4rFoUqgR3MYo5ECKBu9BWzX4LebF6h3iOoc4ZsB
  209. p5JGtUb5T7Zvux6zi37fC882dCgg/jtLA8m/tBXfkwKBgD5cceUBe/EFQ47LJdxl
  210. 47fjxtzr6KeI3wktd3a5gSsEegQLosscCsGR1GKuq4Cw9fiRrAYEITMCRF8wjJRL
  211. A7fep2JqKegWKaa8UkFK2Akc1OZcUDXbyV2JK1YlafUG1m2Tk3mCwfeNuP1gpipp
  212. HLS+U+OTwKBthzp6e4lXkCoU
  213. -----END PRIVATE KEY-----
  214.  
  215. </key>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement