Giter Site home page Giter Site logo

kcp-server's Introduction

KCP-Server

##感谢kcptun提供这么优秀的软件 kcptun是kcp协议的一个简单应用,可以用于任意tcp网络程序的传输承载,以提高网络流畅度,降低掉线情况。 ##感谢koolshare小宝 宝大提醒配置的方法。

脚本是业余爱好,英文属于文盲,写的不好,不要笑话我,欢迎您批评指正。 安装平台:CentOS、Debian、Ubuntu。 Server

Install

wget --no-check-certificate https://github.com/clangcn/kcp-server/raw/master/install-kcp-server.sh -O ./install-kcp-server.sh
chmod 500 ./install-kcp-server.sh
./install-kcp-server.sh install

UnInstall

./install-kcp-server.sh uninstall

Update

./install-kcp-server.sh update

服务器管理

Usage: /etc/init.d/kcp-server {start|stop|restart|status}

多用户配置文件示例

{
    "server":"0.0.0.0",
    "socks5_port":9081,
    "redir_port":0,
    "tuncrypt":0,
    "sndwnd":128,
    "rcvwnd":1024,
    "mtu":1400,
    "mode":"fast",
    "port_password":
    {
        "端口1": "密码1",
        "端口2": "密码2",
        "端口3": "密码3",
        "端口4": "密码4",
        "端口5": "密码5"
    },
    "_comment":
    {
        "端口1": "端口描述1",
        "端口2": "端口描述2",
        "端口3": "端口描述3",
        "端口4": "端口描述4",
        "端口5": "端口描述5"
    }
}

客户端配置文件示例

{
    "server":"你服务器IP地址",
    "server_port":服务器端口,
    "password":"端口对应的密码",
    "socks5_port":1080,
    "redir_port":0,
    "tuncrypt":0,
    "sndwnd":128,
    "rcvwnd":1024,
    "mtu":1400,
    "mode":"fast"
}

kcp-server's People

Contributors

clangcn avatar koolsharebot avatar

Watchers

James Cloos avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.