Browse Source

readme: tpws bind-iface6 address type preferance

pull/65/head
bol-van 4 years ago
parent
commit
17cddd4016
  1. 2
      docs/readme.eng.txt
  2. 2
      docs/readme.txt

2
docs/readme.eng.txt

@ -307,7 +307,7 @@ Port number is always the same.
Parameters --bind-iface* и --bind-addr create new bind.
Other parameters --bind-* are related to the last bind.
--bind-iface6 without --bind-linklocal first selects a private address fd80::/8 then a global address, and last link local.
--bind-iface6 with --bind-linklocal first selects link local then any ipv6 address.
--bind-iface6 with --bind-linklocal=prefer first selects link local then a private address fd80::/8 then a global address.
To bind to all ipv4 specify --bind-addr "0.0.0.0", all ipv6 - "::". --bind-addr="" - mean bind to all ipv4 and ipv6.
If no binds are specified default bind to all ipv4 and ipv6 addresses is created.
The --bind-wait* parameters can help in situations where you need to get IP from the interface, but it is not there yet, it is not raised

2
docs/readme.txt

@ -390,7 +390,7 @@ tpws может биндаться на множество интерфейсо
Остальные параметры --bind-* относятся к последнему бинду.
Для бинда на все ipv4 укажите --bind-addr "0.0.0.0", на все ipv6 - "::". --bind-addr="" - биндаемся на все ipv4 и ipv6.
--bind-iface6 без --bind-linklocal выбирает сначала приватный адрес fd80::/8, затем глобальный адрес, затем link local.
--bind-iface6 с --bind-linklocal выбирает сначала link local, затем любой другой ipv6 адрес.
--bind-iface6 с --bind-linklocal=prefer выбирает сначала link local, затем приватный адрес fd80::/8, затем глобальный адрес.
Если не указано ни одного бинда, то создается бинд по умолчанию на все адреса всех интерфейсов.
Параметры --bind-wait* могут помочь в ситуациях, когда нужно взять IP с интерфейса, но его еще нет, он не поднят
или не сконфигурирован.

Loading…
Cancel
Save