yuhaiin

module
v0.3.1-rc.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 21, 2022 License: MIT

README

GitHub license releases Go Report Card Go Reference languages

  • download releases or Build.
  • Android yuhaiin-android.
  • Supported Protocol
    • Shadowsocksr, Shadowsocks, Vmess, trojan
    • Websocket, Quic, obfs-http
    • Socks5, HTTP, Linux/Mac Redir
    • TUN(gvisor)
  • support DNS:
    • DNS, EDNS
    • FakeDNS
    • DNS Server
    • DNS over UDP
    • DNS over HTTPS(3)
    • DNS over Quic
    • DNS over TLS
    • DNS over TCP
  • Auto Set System Proxy.
  • a Simple web page can to configure.
  • Bypass File
  • icon from プロ生ちゃん.アイコンがプロ生ちゃんから、ご注意ください。
  • Others Please Check Wiki.
# host: grpc and http listen address, default: 127.0.0.1:50051
# path: Store application data path, default:
#   linux ~/.config/yuhaiin/, windows %APPDATA%/yuhaiin/
yuhaiin -host="127.0.0.1:50051" -path=$HOME/.config/yuhaiin

web_page

a simple cli tools supported
// list all connections
yh conn ls
// close connections by id
yh conn close <id1> <id2> ...
// close all connections
yh conn close all

// list group
yh ls
// list all nodes
yh ls all
// list all nodes in a group
yh ls <group-number>
// list info of a node
yh ls <group-number> <node-number>
yh ls <node-hash>
// list info of now use node
yh ls now

// check config
yh config
// set config
yh config set <xxx>.<xxx>.<xxx>=<xxx>
// for example set remote dns host
// yh config set dns.remote.host=1.1.1.1

// see stream data
yh data

// get a node latency
yh lat <group-number> <node-number>
yh lat <node-hash>
// get all node latency of a group
yh lat all <group-number>

// use a node
yh use <group-number> <node-number>
yh use <node-hash>
// set a node config
yh set <group-number> <node-number> <xxx>.<xxx>.<xxx>=<xxx>
yh set <node-hash> <xxx>.<xxx>.<xxx>=<xxx>

// list all subscriptions
yh sub ls
// add a subscription
yh sub add <name> <sub-link>
// update all subscriptions
yh sub update
Acknowledgement

Directories

Path Synopsis
cmd
cli
Deprecated use http page instead
Deprecated use http page instead
pkg
log
net/proxy/shadowsocksr/cipher/camellia
Package camellia implements the camellia block cipher.
Package camellia implements the camellia block cipher.
net/proxy/shadowsocksr/cipher/idea
Package idea implements the IDEA block cipher
Package idea implements the IDEA block cipher
scripts

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL