Giter Site home page Giter Site logo

zeropool / ipio Goto Github PK

View Code? Open in Web Editor NEW

This project forked from txthinking/tun2brook

0.0 1.0 0.0 194 KB

tun2socks5, tun2brookserver, tun2brookwsserver, tun2brookwssserver. IPv4 and IPv6, TCP and UDP. 让系统所有流量全部走socks5, brook server, brook wsserver, brook wssserver.

License: GNU General Public License v3.0

Go 100.00%

ipio's Introduction

ipio

🇨🇳 中文

Donate

tun2socks5, tun2brookserver, tun2brookwsserver, tun2brookwssserver. IPv4 and IPv6, TCP and UDP.

❤️ A project by txthinking.com

Pure Go

ipio implements the TCP/IP stack with part of gopacket lib, No C, No CGO, can be used in any OS, such as Linux, macOS, Windows, Android, iOS, etc...

Install via nami

$ nami install github.com/txthinking/ipio

or download binary from releases

Usage

NAME:
   ipio - ipio can convert Network/IPv4/IPv6 layer packets to Transport/TCP/UDP layer packets, such as tun to socks5, tun to brook server, tun to brook wsserver, tun to brook wssserver, ...

USAGE:
   ipio [global options] command [command options] [arguments...]

VERSION:
   20210701

AUTHOR:
   Cloud <[email protected]>

COMMANDS:
   tun2brookserver    Tun to brook server
   tun2brookwsserver  Tun to brook wsserver
   tun2brookwssserver Tun to brook wssserver
   tun2socks5         Tun to socks5 server
   help, h            Shows a list of commands or help for one command

GLOBAL OPTIONS:
   --help, -h     show help (default: false)
   --version, -v  print the version (default: false)

COPYRIGHT:
   https://github.com/txthinking/ipio

tun2brookserver

Assume your brook server is 1.2.3.4:9999, password is hello
ROOT privileges required, more $ ipio tun2brookserver -h

$ ipio tun2brookserver -s 1.2.3.4:9999 -p hello

With bypass rules

$ ipio tun2brookserver -s 1.2.3.4:9999 -p hello --bypassDomainList https://txthinking.github.io/bypass/china_domain.txt --bypassCIDR4List https://txthinking.github.io/bypass/china_cidr4.txt --bypassCIDR6List https://txthinking.github.io/bypass/china_cidr6.txt

Do not change route(include bypass CIDR/IP) and DNS when you want to change by yourself

$ ipio tun2brookserver -s 1.2.3.4:9999 -p hello --doNotChangeRouteAndDNS

tun2brookwsserver

Assume your brook wsserver is ws://1.2.3.4:9999, password is hello
ROOT privileges required, more $ ipio tun2brookwsserver -h

$ ipio tun2brookwsserver -s ws://1.2.3.4:9999 -p hello

With bypass rules

$ ipio tun2brookwsserver -s ws://1.2.3.4:9999 -p hello --bypassDomainList https://txthinking.github.io/bypass/china_domain.txt --bypassCIDR4List https://txthinking.github.io/bypass/china_cidr4.txt --bypassCIDR6List https://txthinking.github.io/bypass/china_cidr6.txt

Do not change route(include bypass CIDR/IP) and DNS when you want to change by yourself

$ ipio tun2brookwsserver -s ws://1.2.3.4:9999 -p hello --doNotChangeRouteAndDNS

tun2brookwssserver

Assume your brook wssserver is wss://domain.com:443, password is hello
ROOT privileges required, more $ ipio tun2brookwssserver -h

$ ipio tun2brookwssserver -s wss://domain.com:443 -p hello

With bypass rules

$ ipio tun2brookwssserver -s wss://domain.com:443 -p hello --bypassDomainList https://txthinking.github.io/bypass/china_domain.txt --bypassCIDR4List https://txthinking.github.io/bypass/china_cidr4.txt --bypassCIDR6List https://txthinking.github.io/bypass/china_cidr6.txt

Do not change route(include bypass CIDR/IP) and DNS when you want to change by yourself

$ ipio tun2brookwssserver -s wss://domain.com:443 -p hello --doNotChangeRouteAndDNS

tun2socks5

Assume your socks5 server is 1.2.3.4:1080
ROOT privileges required, more $ ipio tun2socks5 -h

$ ipio tun2socks5 -s 1.2.3.4:1080

With bypass rules

$ ipio tun2socks5 -s 1.2.3.4:1080 --bypassDomainList https://txthinking.github.io/bypass/china_domain.txt --bypassCIDR4List https://txthinking.github.io/bypass/china_cidr4.txt --bypassCIDR6List https://txthinking.github.io/bypass/china_cidr6.txt

Do not change route(include bypass CIDR/IP) and DNS when you want to change by yourself

$ ipio tun2socks5 -s 1.2.3.4:1080 --doNotChangeRouteAndDNS

Developer

Coming soon

License

Licensed under The GPLv3 License

ipio's People

Contributors

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