Updated Home (markdown)

Jason Lyu
2021-02-27 12:52:17 +08:00
parent f3477366d3
commit 02d1d530c3
+13 -9
@@ -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