Accelerated with KCPTun

Source: https: //blog.csdn.net/Crapefruit/article/details/86669794

 

VPS end of

the command line, type:


    mkdir kcptun

    CD kcptun

    wget --no-Check-Certificate https://github.com/kuoruan/shell-scripts/raw/master/kcptun/kcptun.sh

    the chmod + X ./kcptun.sh

    ./kcptun.sh

 
  Please enter the need to speed up port [1-65535] :, this one fill port on the VPS small aircraft.

  Server IP :, fill this one real server IP, such as 160.160.160.160, not fill 127.0.0.1.

  Please enter KCPTun key: This a casual setting, can be "very good".

  When the rest of the input parameters, enter the default parameters.

  

  2.Windows end

  2.1 download

  enter KCPTun download page to download the client.

  Re-entering the KCPTun GUI download page, download the interface management program.

  For convenience, the two software will extract to the same folder.

  2.2. Configuring KCPTun

  right, Administrator, open interface version KCPTun client.

  Click on the left to add, click on the client list of a row address below. Click on the left to add, click on the client list of a row address below.

  Click Browse to import KCPTun client.

  Local listening port, consistent with the small plane port (such as 8388, etc.).

  KCPTun server address and the server port and the same configuration (e.g. 160.160.160.160:29900).

  Fill the bottom of optional parameters, consistent with the server-side.

  Click on the left side of the boot program from the start, minimizing the program starts.

  Click to the right start.

  2.3. Configuration small plane (ss)

  opened a small plane (ss) client, the server address to 127.0.0.1.

  Server port and consistent client interface version KCPTun local listening port (such as 8388).

  Other parameters unchanged.

  

  3.Ubuntu end

  into the KCPTun download page to download the client, linux version.

  Terminal download directory:

    
    the tar-Linux-amd64-20170218.tar.gz -xzf kcptun
   
    VI kcptun.json
   

  input json file configuration parameters, consistent with the VPS. If you forget, you can re-enter the VPS, perform ./kcptun.sh, select the parameter view, screen printing recommended configuration parameters for the client, such as:

{
    "the localaddr": ": 8388", // port for local use
    "remoteaddr": "160.160.160.160:29900", ip address kcptun // server plus port services
    "key": "very good" , // encryption password you set
    "crypt": "aes",

    "conn": 1, // from the following parameters, you need to set your server configuration parameters
    "MTU": 1350,
    "sndwnd": 512,
    "rcvwnd": 512,
    "datashard": 10,
    " parityshard ":. 3,
    " DSCP ": 0,
    " quiet ": to false
}


  running KCPTun service terminal performs the following command:

    ./client_linux_amd64 -C kcptun.json
--------------- ------
author: Crapefruits
source: CSDN
original: https: //blog.csdn.net/Crapefruit/article/details/86669794
copyright: This article is a blogger original article, reproduced, please attach Bowen link!

Guess you like

Origin www.cnblogs.com/partman/p/11028420.html