Advertisement
isptunnelvpn

Untitled

Aug 29th, 2019
181
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 vpn406641036.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. MDY2NDEwMzYuc29mdGV0aGVyLm5ldDEjMCEGA1UECgwadnBuNDA2NjQxMDM2LnNv
  123. ZnRldGhlci5uZXQxIzAhBgNVBAsMGnZwbjQwNjY0MTAzNi5zb2Z0ZXRoZXIubmV0
  124. MQswCQYDVQQGEwJVUzAeFw0xOTA4MjgwNzAwNDNaFw0zNzEyMzEwNzAwNDNaMHwx
  125. IzAhBgNVBAMMGnZwbjQwNjY0MTAzNi5zb2Z0ZXRoZXIubmV0MSMwIQYDVQQKDBp2
  126. cG40MDY2NDEwMzYuc29mdGV0aGVyLm5ldDEjMCEGA1UECwwadnBuNDA2NjQxMDM2
  127. LnNvZnRldGhlci5uZXQxCzAJBgNVBAYTAlVTMIIBIjANBgkqhkiG9w0BAQEFAAOC
  128. AQ8AMIIBCgKCAQEAtf9j8ttWCtn+kRQWonYd7qvN6zh8xFO+fQemMRT3J0DkqcjN
  129. 0R27Sf0Z/RxFB0apewTQJVzX2g9AYjpCLaQTW7DLsv+gR9CYlFnasufn+TrymWea
  130. 5nM0BFff/dPd1qUsid2/6T6zfVpkrP/ws4xM9nDAeqa8UoBzkwnK/4pdjssyfN4H
  131. y8NXKLM6pj0p2kI+qE8j7s4XrOC0KwcvQsFjIZkBDu0LovxYZDAn3Z2d37CebJ4U
  132. BJj38h7tpvTDrjGR58WrBCdrwnxCZ9bBrkz3mobVhhIT6dfGptGX3kHSqTGZbaNc
  133. iYADcHRmrvdLG8ss1G5SqRXWuYVj+T+Js5V+rQIDAQABo4GGMIGDMA8GA1UdEwEB
  134. /wQFMAMBAf8wCwYDVR0PBAQDAgH2MGMGA1UdJQRcMFoGCCsGAQUFBwMBBggrBgEF
  135. BQcDAgYIKwYBBQUHAwMGCCsGAQUFBwMEBggrBgEFBQcDBQYIKwYBBQUHAwYGCCsG
  136. AQUFBwMHBggrBgEFBQcDCAYIKwYBBQUHAwkwDQYJKoZIhvcNAQELBQADggEBAA2H
  137. qQUKvu/oWygOLeynythAGX7k2sa1ptdp2wmKW7NR9hpEYVwTlg/9jVrgfGkWnJQC
  138. 05ah7vPVX9rNGrex3XA+zwb1MKR1HC6rz607brajI/nG2HmxoMRz3PvwSolHGVi+
  139. 49ttwbAHq9HdpC5PTRsQVipEB/zHGP8i9tFrpy77o9Vdx2pGnrfArM+8JNiGUxB4
  140. vF0ZwEYDysNAAwpQTI2afsafyay8pja97jeFB6kSUk2kPSicNOVhAFaY/KoG2rhy
  141. Abdheivbg6cpLj7r7gIimKd2cY0FWrqaAe8KWXBvG+bjlPbk93QxCGlfXixXFt1I
  142. 9mUlbX48uddMCY0ZVao=
  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. MIID0DCCArigAwIBAgIBADANBgkqhkiG9w0BAQsFADBnMRwwGgYDVQQDDBM2OTU1
  161. MjM0ODMzNTU2MjU1OTMzMRwwGgYDVQQKDBM2OTU1MjM0ODMzNTU2MjU1OTMzMRww
  162. GgYDVQQLDBM2OTU1MjM0ODMzNTU2MjU1OTMzMQswCQYDVQQGEwJVUzAeFw0xOTA4
  163. MjkxMjQ2MzZaFw0zNzEyMzExMjQ2MzZaMGcxHDAaBgNVBAMMEzY5NTUyMzQ4MzM1
  164. NTYyNTU5MzMxHDAaBgNVBAoMEzY5NTUyMzQ4MzM1NTYyNTU5MzMxHDAaBgNVBAsM
  165. EzY5NTUyMzQ4MzM1NTYyNTU5MzMxCzAJBgNVBAYTAlVTMIIBIjANBgkqhkiG9w0B
  166. AQEFAAOCAQ8AMIIBCgKCAQEA2CKfqq1QJias/sxLTZwh7uk1v3WPk558Oumpu3YR
  167. mLqjzwCDdX/oAOKk/LxtQ5FoqE3lhk837zLt85vZBILfkeJdZkHo8tUJumGOmYuZ
  168. vZEktEAVGwny7UefpKwjgY1DIs8Ee0uRNhuKeWd94B1ZEUeCQAZnwiBzcSjA2kul
  169. RYqggEeB4YAbBdR1Ld5bnhJGY6gOpKVvq/SsCpYt5qA/4A8HZRNLtILWIwampsMc
  170. PCSzSUiEi1Wy5V4XFe9l/PC3B78nwNxX0luUiT3ekPmgE/M09cSLRvfqaMUCLRVW
  171. 75CbOR3E5kgGCR5iGvGwrt1Siv5hnjXWTVWy8CjgsKEC2QIDAQABo4GGMIGDMA8G
  172. A1UdEwEB/wQFMAMBAf8wCwYDVR0PBAQDAgH2MGMGA1UdJQRcMFoGCCsGAQUFBwMB
  173. BggrBgEFBQcDAgYIKwYBBQUHAwMGCCsGAQUFBwMEBggrBgEFBQcDBQYIKwYBBQUH
  174. AwYGCCsGAQUFBwMHBggrBgEFBQcDCAYIKwYBBQUHAwkwDQYJKoZIhvcNAQELBQAD
  175. ggEBADhbHlcoumo3qRA5c8mT3O5LWb0+fy4AZC0jvjUcPo8xYDJPqRol2V9TwTsY
  176. k9qQcZoK9keUKNTNDsfJQew1hYXsX0M9cNOy4utgWruzrz5t0mDJ/pksc/xEyMnf
  177. eC/Ofgw2wTvGogkD0bkYOTpIdBMWqcwdEuZblnMnEfdbaevJthu4Fxo5kCXj6KM5
  178. smnu+SOXFs4mYnkFZ6mwLZ6IfBIPBza0Cp6B/CWTguigvTaXH0lNdVCSfgigOiAL
  179. Fd1/P/6H6dd+Pex7/4pewc90dQYenRE/s+ebjjaiukQOhWgILbUJNU/aZQ0j440d
  180. Q6XwMr3PIWpYt6jrvCLrA4mSQTI=
  181. -----END CERTIFICATE-----
  182.  
  183. </cert>
  184.  
  185. <key>
  186. -----BEGIN PRIVATE KEY-----
  187. MIIEvAIBADANBgkqhkiG9w0BAQEFAASCBKYwggSiAgEAAoIBAQDYIp+qrVAmJqz+
  188. zEtNnCHu6TW/dY+Tnnw66am7dhGYuqPPAIN1f+gA4qT8vG1DkWioTeWGTzfvMu3z
  189. m9kEgt+R4l1mQejy1Qm6YY6Zi5m9kSS0QBUbCfLtR5+krCOBjUMizwR7S5E2G4p5
  190. Z33gHVkRR4JABmfCIHNxKMDaS6VFiqCAR4HhgBsF1HUt3lueEkZjqA6kpW+r9KwK
  191. li3moD/gDwdlE0u0gtYjBqamwxw8JLNJSISLVbLlXhcV72X88LcHvyfA3FfSW5SJ
  192. Pd6Q+aAT8zT1xItG9+poxQItFVbvkJs5HcTmSAYJHmIa8bCu3VKK/mGeNdZNVbLw
  193. KOCwoQLZAgMBAAECggEAAy0HEZf4XIcm9ZuE48AOk5cjrguJL48dnjP+xX1npsnf
  194. TFRimiBmBVVPPVN7e4mwcwCqBb42QTKLYpAAsVtG87rSyoTfamoM+YsjcEgn2yw9
  195. 0NQ8Oyh7RFdQFjhdUTMFMIbANxuWJ6hh8YS+ycNEosddN5mgfq7BY4FIzCxeYlYv
  196. OdxJg1kbRN8LqbTI2vi/SJYq+0vzIkOShzjBfl52qN43dDnA0sM2+VQzpOyA3R/i
  197. zbdSddTsQZuXNitxeggaKtKNYKCO20KDo85PqO7zlD4GRL5M9c049XdoK3c2ujU3
  198. h7rEWRSymF8Pw0Y30ijNBwDDw9O0dzeevCap5DqZgQKBgQDsQ9hwPK6N4JZd1TPe
  199. zksEsD/lFpzDvADDmNtEEnRZJcG2h6+dYmQkV5qYsUXpWgFmrCV+VamVoW0vJTi5
  200. J8L9bSNqOP47tUgeYgzTFVf4kBe1i+t0E6WfSz09UY0Z54kaSDTULWcf3a25b0U6
  201. +0vEIoG2YW/BD1EqSYp7yc7rkQKBgQDqMFW3FzqoiFDS06EItMTL2MUNyM1GmNYw
  202. imCa16OFE+vvL3pDlV3EhkIPQTaK+VUHmi3ga4kAJfE4SVQk3UQAmia4KpOMFDRz
  203. rOuJsKLY6LbxQMIKrdLBfrqj7YHOmOy5UAAMJMu35VnC5imkp3DPDvSfYiG39Fu9
  204. nPFS2nYuyQKBgHFiAc2jIXXO8Ppo5bKoN5IxbwhmuKaqY4d6pMdfP9zEZNlO9nVG
  205. EZ7rN7LNaCqbWg7G0Ft3iqHXTUmRyE37CfWK2bMRVNicn9aM4XCvTn9nzyj90+np
  206. v9LZTbNOnrNuzPoC6u9kNpgxTzytbIDotiyTDsLSscnpqt7rWf0cFSQxAoGAMmU6
  207. XM8T4WaMNgIymiQEYXWBWikG+5UyKnnstgWHe8DAudT2s4p2Bi96EbxP13I2OQ+V
  208. pcCeV7jSgvFMuS4gTxzdDi6jV7aVXvssKJIpSRIzJBFycEfdnaP+1/3pPCMudeZg
  209. TDyy1hz1xvoupe8eWIB4ZcABT4u3HkOirtiyK/kCgYB45vG5/saUJ6VjpXTHzZYP
  210. 2mgO48gSHUu08GiPkxBTJwbYIQeH66FP8sMcNdnM16GUjaY6QS3g/naOoxdncjV0
  211. UBVP9W63csDcDbqkvxd9IyNEif4lJs47rd7WlWwopnkEXR2uqKIz5ElUoZc/zMvG
  212. 9A6VPRHpIoRoPof+/MXS4g==
  213. -----END PRIVATE KEY-----
  214.  
  215. </key>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement