A hummingbird(tun2websocket) powered by gVisor TCP/IP stack
Go compiler version >= 1.15 is required
$ git clone https://github.com/liupeidong0620/hummingbird.git
$ cd hummingbird
$ make
With Linux
$ sudo ./hummingbird-linux-amd64 -interface en0 -proxy "ws://1.2.3.4:80"
# help
$ ./hummingbird-linux-amd64 -h
scripts/linux.sh would take care of tun & routes.
$ sh linux.sh start
With MacOS
$ sudo ./hummingbird-darwin-amd64 -interface en0 -proxy "ws://1.2.3.4:80"
# help
$ ./hummingbird-darwin-amd64 -h
scripts/darwin.sh would take care of tun & routes.
$ sh darwin.sh start
With Windows
This runs on Windows, but you should install wintun
# root authority
$ ./hummingbird-windows-amd64 -interface en0 -proxy "ws://1.2.3.4:80"
# help
$ ./hummingbird-windows-amd64 -h
netsh interface ip set address utun123 static 26.26.26.1 255.255.255.0
netsh interface ip set dns utun123 static 8.8.8.8
route add 0.0.0.0 MASK 128.0.0.0 26.26.26.1
- IPV6 test