From 81c5976ccce8f66509936a45041403bf4902337c Mon Sep 17 00:00:00 2001 From: Riobard Date: Sat, 11 Mar 2017 00:37:58 +0800 Subject: [PATCH] Fixed example in README --- README.md | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 37806424..52e7b17e 100644 --- a/README.md +++ b/README.md @@ -35,12 +35,13 @@ go-shadowsocks2 -s ss://AEAD_CHACHA20_POLY1305:your-password@:8488 -verbose ### Client Start a client connecting to the above server. The client listens on port 1080 for incoming SOCKS5 -connections, and tunnels UDP packets received on port 1080 and port 1081 to 8.8.8.8:53 and 8.8.4.4:53 +connections, and tunnels both UDP and TCP on port 8053 and port 8054 to 8.8.8.8:53 and 8.8.4.4:53 respectively. ```sh go-shadowsocks2 -c ss://AEAD_CHACHA20_POLY1305:your-password@[server_address]:8488 \ - -socks :1080 -udptun :1080=8.8.8.8:53,:1081=8.8.4.4:53 -verbose + -verbose -socks :1080 -udptun :8053=8.8.8.8:53,:8054=8.8.4.4:53 \ + -tcptun :8053=8.8.8.8:53,:8054=8.8.4.4:53 ``` Replace `[server_address]` with the server's public address.