Code Monkey home page Code Monkey logo

kcptun_adapt's Introduction

kcptun_adapt

kcptun与shadowsocks接口之间的适配器,来使kcptun支持shadowsocks的接口协议

简介

根据shadowsocks的声明,所以实现了这个kcptun的sip003接口的协议的适配器

Restrictions

a. Plugin over plugin is NOT supported. Only one plugin can be enabled when a shadowsocks service is started. If you really need this feature, implement a plugin-over-plugin transport as a SIP003 plugin. b. Only TCP traffic is forwarded. For now, there is no plan to support UDP traffic forwarding.

SIP003: A simplified plugin design for shadowsocks

使用说明

  • 服务器地址:正常填写
  • 服务器端口:kcp的远程监听端口
  • 密码:ss的密码
  • 加密:ss的加密方法
  • 插件:kcptun适配器的名字,我的是重命名为kcptun_adapt.exe
  • 插件选项:kcptun的启动选项,其中--localaddr(-l),--remoteaddr(-r)不需要填写,我这里是填入了mode,crypt,key三个参数。         参数填入的格式是key1=value1;key2=value2...
  • 使用时将kcptun客户端程序重命名为kcptun.exe(windows)或者kcptun(linux),放到adapt_adapt所在的目录
  • 建议将kcptun.exe,adapt_adapt.exe,Shadowsocks.exe三个放在同一目录下

配置方法

tips:目前发现使用kcptun会产生发送数据包为接收数据包3倍的情况,即在youtube看1M的视频,kcptun会让vps发送3M的数据

tips:可以试下BBR,速度比kcptun稍慢,但不会产生流量浪费的情况。开启TCP BBR拥塞控制算法

kcptun_adapt's People

Contributors

gu0o00 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.