mirror of
https://github.com/tun2proxy/tun2proxy.git
synced 2025-06-07 23:27:46 +00:00
Document --setup-ip
This commit is contained in:
parent
76e0b6fe1d
commit
b12e00c0f5
2 changed files with 3 additions and 2 deletions
|
@ -72,6 +72,7 @@ Options:
|
||||||
-p, --proxy <URL> Proxy URL in the form proto://[username[:password]@]host:port
|
-p, --proxy <URL> Proxy URL in the form proto://[username[:password]@]host:port
|
||||||
-d, --dns <method> DNS handling [default: virtual] [possible values: virtual, none]
|
-d, --dns <method> DNS handling [default: virtual] [possible values: virtual, none]
|
||||||
-s, --setup <method> Routing and system setup [possible values: auto]
|
-s, --setup <method> Routing and system setup [possible values: auto]
|
||||||
|
--setup-ip <IP> Public proxy IP used in routing setup
|
||||||
-h, --help Print help
|
-h, --help Print help
|
||||||
-V, --version Print version
|
-V, --version Print version
|
||||||
```
|
```
|
||||||
|
|
|
@ -33,8 +33,8 @@ struct Args {
|
||||||
#[arg(short, long, value_name = "method", value_enum)]
|
#[arg(short, long, value_name = "method", value_enum)]
|
||||||
setup: Option<ArgSetup>,
|
setup: Option<ArgSetup>,
|
||||||
|
|
||||||
/// Proxy IP as used in routing setup
|
/// Public proxy IP used in routing setup
|
||||||
#[arg(long, value_name = "ip")]
|
#[arg(long, value_name = "IP")]
|
||||||
setup_ip: Option<IpAddr>,
|
setup_ip: Option<IpAddr>,
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue