diff --git a/README.md b/README.md index d2332ea..fc52836 100644 --- a/README.md +++ b/README.md @@ -123,12 +123,13 @@ Available Schemas: socks5: socks5 proxy http: http proxy redir: redirect proxy. (used on linux as a transparent proxy with iptables redirect rules) - tcptun: a simple tcp tunnel - udptun: a simple udp tunnel + tcptun: tcp tunnel + udptun: udp tunnel + uottun: udp over tcp tunnel dnstun: listen on udp port and forward all dns requests to remote dns server via forwarders(tcp) Available schemas for different modes: - listen: mixed ss socks5 http redir tcptun udptun dnstun + listen: mixed ss socks5 http redir tcptun udptun uottun dnstun forward: ss socks5 http Available methods for ss: diff --git a/conf.go b/conf.go index 0d1d680..ba231a0 100644 --- a/conf.go +++ b/conf.go @@ -140,13 +140,14 @@ func usage() { fmt.Fprintf(os.Stderr, " socks5: socks5 proxy\n") fmt.Fprintf(os.Stderr, " http: http proxy\n") fmt.Fprintf(os.Stderr, " redir: redirect proxy. (used on linux as a transparent proxy with iptables redirect rules)\n") - fmt.Fprintf(os.Stderr, " tcptun: a simple tcp tunnel\n") - fmt.Fprintf(os.Stderr, " udptun: a simple udp tunnel\n") + fmt.Fprintf(os.Stderr, " tcptun: tcp tunnel\n") + fmt.Fprintf(os.Stderr, " udptun: udp tunnel\n") + fmt.Fprintf(os.Stderr, " uottun: udp over tcp tunnel\n") fmt.Fprintf(os.Stderr, " dnstun: listen on udp port and forward all dns requests to remote dns server via forwarders(tcp)\n") fmt.Fprintf(os.Stderr, "\n") fmt.Fprintf(os.Stderr, "Available schemas for different modes:\n") - fmt.Fprintf(os.Stderr, " listen: mixed ss socks5 http redir tcptun udptun dnstun\n") + fmt.Fprintf(os.Stderr, " listen: mixed ss socks5 http redir tcptun udptun uottun dnstun\n") fmt.Fprintf(os.Stderr, " forward: ss socks5 http\n") fmt.Fprintf(os.Stderr, "\n")