mirror of
https://github.com/xjasonlyu/tun2socks.git
synced 2024-12-30 02:37:01 +00:00
Updated Home (markdown)
+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
|
||||
|
||||
Reference in New Issue
Block a user