mirror of
https://github.com/tun2proxy/tun2proxy.git
synced 2025-06-07 23:27:46 +00:00
Bump version 0.1.6
This commit is contained in:
parent
0044756f78
commit
abcff395d8
2 changed files with 15 additions and 10 deletions
|
@ -1,8 +1,8 @@
|
||||||
[package]
|
[package]
|
||||||
authors = ["B. Blechschmidt"]
|
authors = ["B. Blechschmidt"]
|
||||||
edition = "2018"
|
edition = "2021"
|
||||||
name = "tun2proxy"
|
name = "tun2proxy"
|
||||||
version = "0.1.5"
|
version = "0.1.6"
|
||||||
|
|
||||||
[lib]
|
[lib]
|
||||||
crate-type = ["cdylib", "lib"]
|
crate-type = ["cdylib", "lib"]
|
||||||
|
@ -19,7 +19,7 @@ httparse = "1.8"
|
||||||
libc = "0.2"
|
libc = "0.2"
|
||||||
log = "0.4"
|
log = "0.4"
|
||||||
mio = { version = "0.8", features = ["os-poll", "net", "os-ext"] }
|
mio = { version = "0.8", features = ["os-poll", "net", "os-ext"] }
|
||||||
nix = { version = "0.26", features = ["process", "signal"] }
|
nix = { version = "0.27", features = ["process", "signal"] }
|
||||||
prctl = "1.0"
|
prctl = "1.0"
|
||||||
smoltcp = { version = "0.10", features = ["std", "phy-tuntap_interface"] }
|
smoltcp = { version = "0.10", features = ["std", "phy-tuntap_interface"] }
|
||||||
socks5-impl = { version = "0.5", default-features = false }
|
socks5-impl = { version = "0.5", default-features = false }
|
||||||
|
|
19
README.md
19
README.md
|
@ -91,13 +91,18 @@ Tunnel interface to proxy.
|
||||||
Usage: tun2proxy [OPTIONS] --proxy <URL>
|
Usage: tun2proxy [OPTIONS] --proxy <URL>
|
||||||
|
|
||||||
Options:
|
Options:
|
||||||
-t, --tun <name> Name of the tun interface [default: tun0]
|
-t, --tun <name> Name of the tun interface [default: tun0]
|
||||||
-p, --proxy <URL> Proxy URL in the form proto://[username[:password]@]host:port
|
--tun-fd <fd> File descriptor of the tun interface
|
||||||
-d, --dns <method> DNS handling [default: virtual] [possible values: virtual, none]
|
--tun-mtu <mtu> MTU of the tun interface (only with tunnel file descriptor) [default: 1500]
|
||||||
-s, --setup <method> Routing and system setup [possible values: auto]
|
-p, --proxy <URL> Proxy URL in the form proto://[username[:password]@]host:port
|
||||||
--bypass-ip <IP> Public proxy IP used in routing setup which should bypassing the tunnel
|
-d, --dns <strategy> DNS handling strategy [default: virtual] [possible values: virtual, over-tcp, direct]
|
||||||
-h, --help Print help
|
--dns-addr <IP> DNS resolver address [default: 8.8.8.8]
|
||||||
-V, --version Print version
|
-6, --ipv6-enabled IPv6 enabled
|
||||||
|
-s, --setup <method> Routing and system setup [possible values: auto]
|
||||||
|
--bypass-ip <IP> Public proxy IP used in routing setup which should bypassing the tunnel
|
||||||
|
-v, --verbosity <level> Verbosity level [default: info] [possible values: off, error, warn, info, debug, trace]
|
||||||
|
-h, --help Print help
|
||||||
|
-V, --version Print version
|
||||||
```
|
```
|
||||||
Currently, tun2proxy supports HTTP, SOCKS4/SOCKS4a and SOCKS5. A proxy is supplied to the `--proxy` argument in the
|
Currently, tun2proxy supports HTTP, SOCKS4/SOCKS4a and SOCKS5. A proxy is supplied to the `--proxy` argument in the
|
||||||
URL format. For example, an HTTP proxy at `1.2.3.4:3128` with a username of `john.doe` and a password of `secret` is
|
URL format. For example, an HTTP proxy at `1.2.3.4:3128` with a username of `john.doe` and a password of `secret` is
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue