Advertisement
isptunnelvpn

serv2

Feb 5th, 2020
217
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 vpn310882078.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. MTA4ODIwNzguc29mdGV0aGVyLm5ldDEjMCEGA1UECgwadnBuMzEwODgyMDc4LnNv
  123. ZnRldGhlci5uZXQxIzAhBgNVBAsMGnZwbjMxMDg4MjA3OC5zb2Z0ZXRoZXIubmV0
  124. MQswCQYDVQQGEwJVUzAeFw0yMDAyMDQxOTE4NTVaFw0zNzEyMzExOTE4NTVaMHwx
  125. IzAhBgNVBAMMGnZwbjMxMDg4MjA3OC5zb2Z0ZXRoZXIubmV0MSMwIQYDVQQKDBp2
  126. cG4zMTA4ODIwNzguc29mdGV0aGVyLm5ldDEjMCEGA1UECwwadnBuMzEwODgyMDc4
  127. LnNvZnRldGhlci5uZXQxCzAJBgNVBAYTAlVTMIIBIjANBgkqhkiG9w0BAQEFAAOC
  128. AQ8AMIIBCgKCAQEAss8G/nN+hp+eNwxIliwTIPSlXcabS+RFe130SpifXbsN5GEb
  129. rDm7+kKh2kBZxk5T17YFzttihKrqgltx9x9CbvfN29CuYr87uCWTmganFPqfRCWS
  130. jIM4Cr+LAo1B8/WgGJx8Iz4ARKcNe5SBZDDOX0bsy/+p3A/eouyKGMQd4n7MHHeP
  131. w2aAC6cKB2Op+Y4b/2xBrChUxI1X3/Ib4harqxWP09ypn3a7WctOT+4La74O7X1m
  132. kfL+gC3L5jutFmeYs+CIr0FsLN355H+TGQUUwRx9JcZYOHfK6XAjjM1WQnnkg6Bn
  133. SpLNMMaKdfNBM2SW0IvbuK9hZhQ5ClFHe0D0VQIDAQABo4GGMIGDMA8GA1UdEwEB
  134. /wQFMAMBAf8wCwYDVR0PBAQDAgH2MGMGA1UdJQRcMFoGCCsGAQUFBwMBBggrBgEF
  135. BQcDAgYIKwYBBQUHAwMGCCsGAQUFBwMEBggrBgEFBQcDBQYIKwYBBQUHAwYGCCsG
  136. AQUFBwMHBggrBgEFBQcDCAYIKwYBBQUHAwkwDQYJKoZIhvcNAQELBQADggEBADoW
  137. XeHt1Rqam3yG9YNJQU5iMh9wYZSL8xdRqfS+uxUaRII3ysKzI61S5mZH2qAilgWi
  138. 8CLDAaoUk9ptQ3MP/olwEdLt/ZFOz9q/g4VaZdOUXKSC5BFnZi+7/n2RvSIO/FpB
  139. 8GIF6D029YVahfajOOhzfqmfwFBneNNOO/QCiVN8n89PNFu7+CzLygsvsENl48ow
  140. /mBDG+hr7bGz8GU/5nGz5RZooJj/BRZUMEq2Zp89yKTiOEHGU9+Ftq0J7zy8H1zD
  141. ZWaeE/sd8rXVvAixkuABC372GrhSj4Nob5Z2koykf2Vky1vWhfuQDvqEqVuDBKwK
  142. Nb9SZBSlMqzvA0Feeus=
  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. MIID0DCCArigAwIBAgIBADANBgkqhkiG9w0BAQsFADBnMRwwGgYDVQQDDBM1MjAx
  161. MTk0MDEzNTM5MTQzNTAyMRwwGgYDVQQKDBM1MjAxMTk0MDEzNTM5MTQzNTAyMRww
  162. GgYDVQQLDBM1MjAxMTk0MDEzNTM5MTQzNTAyMQswCQYDVQQGEwJVUzAeFw0yMDAy
  163. MDUyMjUxNTNaFw0zNzEyMzEyMjUxNTNaMGcxHDAaBgNVBAMMEzUyMDExOTQwMTM1
  164. MzkxNDM1MDIxHDAaBgNVBAoMEzUyMDExOTQwMTM1MzkxNDM1MDIxHDAaBgNVBAsM
  165. EzUyMDExOTQwMTM1MzkxNDM1MDIxCzAJBgNVBAYTAlVTMIIBIjANBgkqhkiG9w0B
  166. AQEFAAOCAQ8AMIIBCgKCAQEAz6FXa9acq7XMLP4XyodEF/hxI0lmywhvtGGL6lX3
  167. SmstkilIP0A62rooh5vZdi03nCW6I0Nw+UdtsglH2clyH5CaAK8BgY/4wmU2Nhvp
  168. +ZWDtlQoVeTLAP8z7K2cQYBkeA34rhBfZhYjbrbS65toeQAh1LNXiitJ/yShxZdd
  169. Uc7FFAq0r2Pg6hsV8NmnTsfIcPWoVLolR6B3YTaj//6xoFrq7hcCpoB1/ip5uGCL
  170. mHaqnEsJwEz9aszURJoqlOs6+U8VdTdTjybf2f91kbFkYs5ZF7uNp6O03xgcMNK5
  171. YkB2VlEUkvSkLXDs3/rydsL5fttxUSPjJnPJUpjuvi7KjwIDAQABo4GGMIGDMA8G
  172. A1UdEwEB/wQFMAMBAf8wCwYDVR0PBAQDAgH2MGMGA1UdJQRcMFoGCCsGAQUFBwMB
  173. BggrBgEFBQcDAgYIKwYBBQUHAwMGCCsGAQUFBwMEBggrBgEFBQcDBQYIKwYBBQUH
  174. AwYGCCsGAQUFBwMHBggrBgEFBQcDCAYIKwYBBQUHAwkwDQYJKoZIhvcNAQELBQAD
  175. ggEBAMP1PoiA3O/G/k0giXDxCeEZVQxT820tvozfLesrvFLCLWWOMeQyDRZ493oe
  176. GkEUm9QBaKzNyVU86jKoMgb+iAT9Dokh9dQL/Y4dCDfiP3qc71yzLe6G8GBzyiDu
  177. Kzuzk1kah3cqA1WQMWjsPTl6ijsN8Asr9O3M/zDW8VHjLDnqzga3nCI7ApYnXeO9
  178. bTjK35UQnqiLBiV8H/FvPMk8AG7yJqRXR9qFjARrMejlGmavsU8R/YPUOwrxu0ne
  179. 8W7wnVGbdbuI+4YTBQKzIwopDkgx+/tNjHyyHtb0A9xTF/cWsMWuFHeCxNHz3q6I
  180. PJkLOoVUYF9JFdubnzTyjufO8zQ=
  181. -----END CERTIFICATE-----
  182.  
  183. </cert>
  184.  
  185. <key>
  186. -----BEGIN PRIVATE KEY-----
  187. MIIEvgIBADANBgkqhkiG9w0BAQEFAASCBKgwggSkAgEAAoIBAQDPoVdr1pyrtcws
  188. /hfKh0QX+HEjSWbLCG+0YYvqVfdKay2SKUg/QDrauiiHm9l2LTecJbojQ3D5R22y
  189. CUfZyXIfkJoArwGBj/jCZTY2G+n5lYO2VChV5MsA/zPsrZxBgGR4DfiuEF9mFiNu
  190. ttLrm2h5ACHUs1eKK0n/JKHFl11RzsUUCrSvY+DqGxXw2adOx8hw9ahUuiVHoHdh
  191. NqP//rGgWuruFwKmgHX+Knm4YIuYdqqcSwnATP1qzNREmiqU6zr5TxV1N1OPJt/Z
  192. /3WRsWRizlkXu42no7TfGBww0rliQHZWURSS9KQtcOzf+vJ2wvl+23FRI+Mmc8lS
  193. mO6+LsqPAgMBAAECggEBAKNljj3AZAVBiY+y2xg4QR84Fhk1755CYl4rEgf1ZSn8
  194. lJ1cvY2BR4/QRosJ3CYDSaspiYWs0mBqlOoyIYhD3vr2OivljaLfoV2idvo4F3ah
  195. 8khvjFqkNhnvvHY63igyGV7dZ+Hb4qedLn83g1+FKr9mmjkgdfi3PoF625B7ISZ5
  196. zKlo+tzIRfLX9i0yarmSrPBcQD8bFfJjT7ixvwDoLuwh/I7yiiMunXQV47EVrjkY
  197. kP/oO1hJN3dyADEM+3p6DVTYvoPBiEAVXEqwDhIb06mrelLOJmBAQG+jdSIfd+u4
  198. 8Mzq1BLx6tOww+MANgx2PGI7Xcck9dErnKr9eY3KKrECgYEA/vuZlyzdKnkWoeu0
  199. FXBN+92+6LsP+9PCx5YXtKi6PWab1VvveYbU9OCz0cpq/IqfsVso5LIgOMBz3t1n
  200. J3yNBH0pCQd7qFkMCYUoxAU1c9EglMLkA095TkZgiJsXiOYWvxh/BOGV7j9Ujv5w
  201. fkdTx1cPTj3i4M+v9BQ0i68zckcCgYEA0HViB4btpSXGISvOPqnb8VcxSREO/j8m
  202. mN3IJaeiAneZTre6jvKL8oLUUOwC+Vi/RZK1sVwzWes/8td0yaYNeaI25fkJnOXq
  203. A1ERy//M0ENgZ1D2hw0vyGzyvURGWZVChDsWYYZOMBUY6L7ACoaav2ncHCdCPD/G
  204. tS44SYd4gXkCgYAsrDP6knelK1XVxI/meaiQCgeairuAKVek1B0PH8iRXVrMBLFu
  205. HztMM9oNVWNtH3RfBFOjzblrd/xU/YFHH8EtGiiIVnFJy2AaguPjg+4bfnYw2fxM
  206. wC3GkvnytQloiLdPf6ExX7x+40WTT+yxkxmQgSZDVQBc1sZDAw85sdZXnQKBgEY6
  207. dZcxlthffHtqZaZo1UdeZ6VFEPcI0XkIpshAzGzmXAjQDxLfldRSzTKiAHJ+upm2
  208. zm19MXOmtLmcaqUQw1NqGfKqTtnD/220nzlJ6Xd0a4MDHLrs718njTPET6sYhPtF
  209. aMncVHUQdn7a3JnvNS0tfdEiTMc9eTVK5/2lnSyJAoGBANY9YAMzEzrlcReBapzR
  210. Oyq2y9vCkbGyvNr1f//hNnGMM1o0+D1QsUEsRqPG3mBkicnTHr1LRdvIdURo1pxk
  211. EqQ34VCcWmMAitWrUjRjKTE4fQybvrSIPEaWfORpGTu0dkZia9EjPEW06bJP1MPk
  212. +bRVlQWc5ETY9cbx7VSC+CeJ
  213. -----END PRIVATE KEY-----
  214.  
  215. </key>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement