Advertisement
isptunnelvpn

Untitled

Aug 23rd, 2019
175
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 vpn455822919.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+jCCAuKgAwIBAgIBADANBgkqhkiG9w0BAQsFADB8MSMwIQYDVQQDDBp2cG40
  122. NTU4MjI5MTkuc29mdGV0aGVyLm5ldDEjMCEGA1UECgwadnBuNDU1ODIyOTE5LnNv
  123. ZnRldGhlci5uZXQxIzAhBgNVBAsMGnZwbjQ1NTgyMjkxOS5zb2Z0ZXRoZXIubmV0
  124. MQswCQYDVQQGEwJVUzAeFw0xOTA4MjMyMTMzMDJaFw0zNzEyMzEyMTMzMDJaMHwx
  125. IzAhBgNVBAMMGnZwbjQ1NTgyMjkxOS5zb2Z0ZXRoZXIubmV0MSMwIQYDVQQKDBp2
  126. cG40NTU4MjI5MTkuc29mdGV0aGVyLm5ldDEjMCEGA1UECwwadnBuNDU1ODIyOTE5
  127. LnNvZnRldGhlci5uZXQxCzAJBgNVBAYTAlVTMIIBIjANBgkqhkiG9w0BAQEFAAOC
  128. AQ8AMIIBCgKCAQEAuRNyZDxBRCxK7VMTivQKEk/pWiMPNikVwc0yrureqcEBXe2H
  129. HfHqQYecSpx2PrGA4BMn8GhyIi3AxWM59iKTkzA/GsBDNdQ2DqTVPLeGDB+ajI0n
  130. HosNFZ1zuZtHj49RxB4SPYHAgri7e8wUHSkNn/cm+t3d8WS954opJFeVFsV55itz
  131. c/UhrTtc+hpP8izmrPmfPsnKuZ9KCw8JII0gq6VoUmNhD2mcbJuQBBAxKIpk+GZn
  132. ML2Rt22OFyTAMRfor/YAg4X9KPajxpIoRHbWTVnYJGny7Kf9bVjMbj9xRihlfVSH
  133. sofUs5aSxPXytwNubVFe+U/pj726wJi848A17wIDAQABo4GGMIGDMA8GA1UdEwEB
  134. /wQFMAMBAf8wCwYDVR0PBAQDAgH2MGMGA1UdJQRcMFoGCCsGAQUFBwMBBggrBgEF
  135. BQcDAgYIKwYBBQUHAwMGCCsGAQUFBwMEBggrBgEFBQcDBQYIKwYBBQUHAwYGCCsG
  136. AQUFBwMHBggrBgEFBQcDCAYIKwYBBQUHAwkwDQYJKoZIhvcNAQELBQADggEBAEjC
  137. s9JT25YMDo+raO4s6Kkx4va7EYXARpI2kqYH1quwEVl3y3ZkTYb95r3fCci1/nSk
  138. aEHTBAqwnpkFgLZCDpS9RdwksHUc8uebPKBKYHusoUxXAK0IzGKB+q3EidexDKZX
  139. VcCKyPaj28yV7I58RqSe1xJH0LlM7kcvy5UpS2XKtlBJHS9rrvdM6LMVQdlFHhz1
  140. Bh1AFV5cHV0hLYPtvcz0vyrnaTzcVizw9LZs4V6/Z10mqo4eyQ4il15RSa4Al0ZE
  141. Mxd7sSlrbRIFfHRvXeS5dzIOpb6QWi9mmz3vx1yNNs6z2IjMKGCfDfrf/Ripu2zY
  142. in7cBVP7LE70e5Bn8I0=
  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. MIID1jCCAr6gAwIBAgIBADANBgkqhkiG9w0BAQsFADBqMR0wGwYDVQQDDBQxMzU1
  161. Nzk2MTM0OTIxNjA5NTQ4NTEdMBsGA1UECgwUMTM1NTc5NjEzNDkyMTYwOTU0ODUx
  162. HTAbBgNVBAsMFDEzNTU3OTYxMzQ5MjE2MDk1NDg1MQswCQYDVQQGEwJVUzAeFw0x
  163. OTA4MjMyMTMzMzVaFw0zNzEyMzEyMTMzMzVaMGoxHTAbBgNVBAMMFDEzNTU3OTYx
  164. MzQ5MjE2MDk1NDg1MR0wGwYDVQQKDBQxMzU1Nzk2MTM0OTIxNjA5NTQ4NTEdMBsG
  165. A1UECwwUMTM1NTc5NjEzNDkyMTYwOTU0ODUxCzAJBgNVBAYTAlVTMIIBIjANBgkq
  166. hkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEAvpB//B3Sy3UYEFPqc0Uk8sS/74Haz2oy
  167. ueX89IwxUq4rerj4KIqtKs/VZ/TLi1hXxvh0u19ABiAFKrLb32tpRp2meYGWZ7Rd
  168. ofE28MYbJRiag6dayf1PRWIIaabBXOGAMxnXbE/dciRmdu69IDkx4hWoj36iMfBF
  169. HsnNOkknPn0vaiZ1fCS5zjgquKtpdEYRDEwalSBJgTNdP8nJ/ElYuCcvqzBLAUPG
  170. iQIU+er42uHmdOWN/LkBWEg+esqDyBjlNCBuQg96GpsxxSnWRmEUnDpHXXHcMQg9
  171. f2pK1pHKh+4VEFX+zlpvcA6xe9z2YvTBfhJwZcZcD6pZGF+eIhnUwwIDAQABo4GG
  172. MIGDMA8GA1UdEwEB/wQFMAMBAf8wCwYDVR0PBAQDAgH2MGMGA1UdJQRcMFoGCCsG
  173. AQUFBwMBBggrBgEFBQcDAgYIKwYBBQUHAwMGCCsGAQUFBwMEBggrBgEFBQcDBQYI
  174. KwYBBQUHAwYGCCsGAQUFBwMHBggrBgEFBQcDCAYIKwYBBQUHAwkwDQYJKoZIhvcN
  175. AQELBQADggEBADcm/VHjg+S4efJf5ydVOhXxN8WtSei5kbp1wBOZdhhXS9vvrcZB
  176. BCDhOkYH3CykY3fiHlFv60Yx0fYzP6i+0St4blKzrH1336XR0mkAIrxT8ffwF+lB
  177. 8/Vc19XvrD9ijuhu93aBkCvQ9mA++xK0JX2HqR6smKrJSlV8Hq3/JvcaX9eDqhzG
  178. sNpMPQhRISRq0/KY4XBlh+f4vgPxQLM2V0kyl1t/HXPa+FkYC/9RF9BhLjxElIiP
  179. G6+yM8Qv92wCQsu3C7Td4zAQe+r9HOzpQJ42PmOU6GtuYpDW2aFNZom+9sCqfP7H
  180. h6PN+VmJIRK1/6Mf667YQpbMZgspXs9l3rc=
  181. -----END CERTIFICATE-----
  182.  
  183. </cert>
  184.  
  185. <key>
  186. -----BEGIN PRIVATE KEY-----
  187. MIIEvwIBADANBgkqhkiG9w0BAQEFAASCBKkwggSlAgEAAoIBAQC+kH/8HdLLdRgQ
  188. U+pzRSTyxL/vgdrPajK55fz0jDFSrit6uPgoiq0qz9Vn9MuLWFfG+HS7X0AGIAUq
  189. stvfa2lGnaZ5gZZntF2h8TbwxhslGJqDp1rJ/U9FYghppsFc4YAzGddsT91yJGZ2
  190. 7r0gOTHiFaiPfqIx8EUeyc06SSc+fS9qJnV8JLnOOCq4q2l0RhEMTBqVIEmBM10/
  191. ycn8SVi4Jy+rMEsBQ8aJAhT56vja4eZ05Y38uQFYSD56yoPIGOU0IG5CD3oamzHF
  192. KdZGYRScOkddcdwxCD1/akrWkcqH7hUQVf7OWm9wDrF73PZi9MF+EnBlxlwPqlkY
  193. X54iGdTDAgMBAAECggEBALWHtUOXrVw/OSMkrSwNa/sPTb98NdJr2dKYsfTLL5kR
  194. bT3EwjDsmbU0spgK63LcPxG9UIXFYJn1GrboFuenzGuGdjU9KuezO5auz6VhMi6O
  195. V3Kek6/i7AauMlFilsRB0/vZ3ArDsbGv1yPonKT7lvdFpoK7IQrtVQrVNfkWAppU
  196. xOjVNhNC1uGxBe+yMAIEjNPwXFUDxn7JLiRFh57qDni5kobwKVf5g5hbe8glhi9R
  197. JTHqbci/vRNBAISmFHFuOVflNE7lYXTBbdYquwZhTceKi9EYiEYOrNz49IdBXrrB
  198. EyyKHpbPzZX0A4L46x5MMGOf2o9pi8+KqPyEWUZh4aECgYEA6BhVp18C/nCxt/l9
  199. LjWSb/mRwoqM2hggfTRXr3M2WqW0QNIGaq7c9NZPyXu+lC2Mja+tGChPolNkBLiK
  200. /gMGk34wouHKJw+aVrFgG5n65E30Uuuwc+Xod96pl2DnfNrZBEA2nY0tvUrOfEiC
  201. 4ErdL5KxAzhjZLIlaR46Ahfw8HkCgYEA0jEgDsMFhwXv2fStKZIOZX1ScSXPxfi+
  202. UTDFSelwfyfQF+SkdU3WmEg1NbhhTDnUpLm1Jv6/gknQXxmnZwilhvwvkOa0tiEP
  203. l0NrDMEpyUufeTLLJypZKPybVIvkEH6n+2Sf1JedDOzpCiPseAkvZlsDnMN53f6c
  204. /UQ00tZGOBsCgYEAl8Sp5ftsMsOwgtRDNj9T1aMF3IfLGSZjwFvE5vbY2Se4Ghb8
  205. mTBlTjkCDYe8lJrAaToyXzSk9km/gpLGWNnTqAkBdtFc5nP+gagVZ5cmB7quBLcY
  206. OIFjpVbV4SY92VgmRvBShm32Ney/32dvJYnu3xf2ZluuKv+PFRDt78aGCEkCgYBo
  207. ihxKmz5diFthiKqzGTxlx63ALrEm4m8tjFcjSqIz68Y4i/Qrj3oipQ8p17k0ozKa
  208. du6dJWh0UWf8VJMI0Kka+MRjigro5oqNje9pGY1B24XGTrfxk8Niejh7FVRpy8Sa
  209. aNKBdqKash25eGJ81PypKK0kQ6iR+7dy04B+OCoWbwKBgQDTtZmZ4dI0uVwwN92O
  210. MLFTOXLy+9MMHncc9tx3ryhNZJ7sDpyfvUs1nZ2rO8Gv4BikAwNMCQcgLVhAaYsu
  211. C2Ypu6S2i0qi3665ctXdFbeXGRKr1utgKeMBZzROmNVgIHxTVvq1csshNCKkTP/a
  212. 9i0MSqdAZNmtUTy5zf7ULCOGpA==
  213. -----END PRIVATE KEY-----
  214.  
  215. </key>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement