From 02d1d530c35abd3e268b613af6a33cce7a853477 Mon Sep 17 00:00:00 2001 From: Jason Lyu Date: Sat, 27 Feb 2021 12:52:17 +0800 Subject: [PATCH] Updated Home (markdown) --- Home.md | 22 +++++++++++++--------- 1 file changed, 13 insertions(+), 9 deletions(-) diff --git a/Home.md b/Home.md index 9c674f2..77474c8 100644 --- a/Home.md +++ b/Home.md @@ -4,6 +4,8 @@ Welcome to the official Wiki page for [xjasonlyu/tun2socks](https://github.com/x # QuickStart +- Download precompiled binary from [Releases](https://github.com/xjasonlyu/tun2socks/releases) + ```sh tun2socks -device tun://tun0 -proxy socks5://1.2.3.4:1080 ``` @@ -13,23 +15,25 @@ tun2socks -device tun://tun0 -proxy socks5://1.2.3.4:1080 ```text Usage of tun2socks: -device string - Use this device [driver://]name + Use this device [driver://]name -fwmark int - Set firewall MARK (Linux only) + Set firewall MARK (Linux only) -interface string - Use network INTERFACE (Linux/MacOS only) + Use network INTERFACE (Linux/MacOS only) -loglevel string - Log level [debug|info|warn|error|silent] (default "info") + Log level [debug|info|warn|error|silent] (default "info") -mtu int - Set device maximum transmission unit (MTU) + Set device maximum transmission unit (MTU) -proxy string - Use this proxy [protocol://]host[:port] + Use this proxy [protocol://]host[:port] -stats string - HTTP statistic server listen address + HTTP statistic server listen address -token string - HTTP statistic server auth token + HTTP statistic server auth token + -udp-timeout int + Set timeout for each UDP session -version - Show version information and quit + Show version information and quit ``` # License