Skip to content

Instantly share code, notes, and snippets.

@doorbash
Last active December 11, 2022 00:50
Show Gist options
  • Save doorbash/416395ff5aed31aad23d502ed2bc76e4 to your computer and use it in GitHub Desktop.
Save doorbash/416395ff5aed31aad23d502ed2bc76e4 to your computer and use it in GitHub Desktop.

http:

glider -verbose -listen :1080 -forward "http://127.0.0.1:10809"

socks5:

glider -verbose -listen :1080 -forward "socks5://127.0.0.1:10808"

ssr:

glider -verbose -listen :1080 -forward "ssr://method:password@address:port?protocol=origin&protocol_param=&obfs=http_simple&obfs_param="

vmess+ws:

glider -verbose -listen :1080 -forward "ws://address:port/path,vmess://security:id@"

vmess+tls:

glider -verbose -listen :1080 -forward  "tls://address:port?skipVerify=true,ws:///graphql,vmess://:id@?alterID=0"

vmess+ws+tls:

glider -verbose -listen :1080 -forward  "tls://address:port?skipVerify=true,ws:///graphql,vmess://:id@?alterID=0"

vmess+http

glider -verbose -listen :1080 -forward  "simple-obfs://address:port?type=http&host=example.com&uri=/,vmess://:id@?alterID=0"

trojan+tls:

glider -verbose -listen :1080 -forward  "tls://example.com:443?serverName=example.com&skipVerify=true,trojanc://password@"

dns over socks:

glider -verbose -listen udp://0.0.0.0:53 -forward "socks5://127.0.0.1:10808,udp://8.8.8.8:53"

ssr over socks5:

glider -verbose -listen :1080 -forward "socks5://127.0.0.1:1090,ssr://method:password@address:port?protocol=origin&protocol_param=&obfs=http_simple&obfs_param="

load balancing multiple network interfaces

glider -verbose -listen :1080 -forward direct://#interface=Ethernet -forward direct://#interface=Wi-Fi -strategy rr
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment