Browse Source

update readme file

pull/5/head
ssrlive 3 years ago
parent
commit
384c10f439
  1. 29
      README.md

29
README.md

@ -38,20 +38,29 @@ configured to listen on a local UDP port and communicates with the upstream DNS
## CLI ## CLI
``` ```
tun2proxy 0.1.0
Tunnel interface to proxy. Tunnel interface to proxy.
USAGE: Usage: tun2proxy --tun <TUN> --proxy <PROXY_TYPE> --addr <ADDR>
tun2proxy [OPTIONS] --tun <TUN>
FLAGS: Options:
--help Prints help information -t, --tun <TUN>
-V, --version Prints version information Name of the tun interface
OPTIONS: -p, --proxy <PROXY_TYPE>
-h, --http <IP:PORT> HTTP server to use What proxy type to run
-s, --socks5 <IP:PORT> SOCKS5 server to use
-t, --tun <TUN> Name of the tun interface Possible values:
- socks5: SOCKS5 server to use
- http: HTTP server to use
-a, --addr <ADDR>
Server address with format IP:PORT
-h, --help
Print help (see a summary with '-h')
-V, --version
Print version
``` ```
## TODO ## TODO

Loading…
Cancel
Save