Code Monkey home page Code Monkey logo

node-tap's Introduction

node-tap

基于TypeScript实现的Tun2Shadowsocks. 目前可用于Windows平台.

测试实现特性

  • 缩水TCP实现(⚠️)
  • UDP转发(✅)
  • UDP转发多倍发包(✅)
  • 内建DNS解析转发(❌)
  • 路由表境内/境外IP分流(❌)

使用

  1. 从Releases中下载已经打包完的版本.

Releases中版本均64位编译, 可能无法在32位平台使用.

  1. 安装OpenVPN Tap-windows驱动.
  2. 安装Npcap来用于UDP多倍发包.
  3. 使用管理员权限cmd或powershell中在已以下命令运行node-sstap.
.\sstap.exe --host [ss host] --port [ss port] --passwd [ss password] --xtudp [x times]
  • host: 默认 Shadowsocks地址(可选)
  • port: 默认 Shadowsocks端口(可选)
  • passwd: 默认 Shadowsocks密码(可选)
  • tcphost: TCP Shadowsocks地址(可选)
  • tcpport: TCP Shadowsocks端口(可选)
  • tcppasswd: TCP Shadowsocks密码(可选)
  • udphost: UDP Shadowsocks地址(可选)
  • udpport: UDP Shadowsocks端口(可选)
  • udppasswd: UDP Shadowsocks密码(可选)
  • xtudp: UDP 多倍发包倍率(适用于游戏)

目前仅支持 RC4-MD5 加密方式.

如果已经成功运行你应该会看到以下信息: snapshort.png

此时全部流量就全部转发到对应Shadowsocks服务器了.

框架图

snapshort.png

该图来源: http://blog.ucloud.cn/archives/3115

参考

node-tap's People

Contributors

srar avatar

Watchers

 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.