mirror of
https://github.com/aramperes/onetun.git
synced 2025-09-09 06:58:31 -04:00
Clarify help instructions for host binding
This commit is contained in:
parent
5e94a0f31e
commit
b108b5f404
1 changed files with 1 additions and 1 deletions
|
@ -82,7 +82,7 @@ impl Config {
|
||||||
.takes_value(true)
|
.takes_value(true)
|
||||||
.long("host-addr")
|
.long("host-addr")
|
||||||
.env("ONETUN_HOST_ADDR")
|
.env("ONETUN_HOST_ADDR")
|
||||||
.help("The address (IP + port) for the tunnel to bind to. Example: 1.2.4:51820"),
|
.help("The address (IP + port) used to bind the local UDP socket for the WireGuard tunnel. Example: 1.2.3.4:30000. Defaults to 0.0.0.0:0 for IPv4 endpoints, or [::]:0 for IPv6 endpoints."),
|
||||||
Arg::with_name("source-peer-ip")
|
Arg::with_name("source-peer-ip")
|
||||||
.required(true)
|
.required(true)
|
||||||
.takes_value(true)
|
.takes_value(true)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue