mirror of
https://github.com/markqvist/Reticulum.git
synced 2025-08-01 02:56:19 -04:00
Added IPv6 info to TCP interface documentation
This commit is contained in:
parent
5b8de73143
commit
2895806541
4 changed files with 53 additions and 4 deletions
|
@ -200,6 +200,23 @@ configured, other Reticulum peers can connect to it with a TCP Client interface.
|
|||
# device = eth0
|
||||
# port = 4242
|
||||
|
||||
If you are using the interface on a device which has both IPv4 and IPv6 addresses available,
|
||||
you can use the ``prefer_ipv6`` option to bind to the IPv6 address:
|
||||
|
||||
.. code::
|
||||
|
||||
# This example demonstrates a TCP server interface.
|
||||
# It will listen for incoming connections on the
|
||||
# specified IP address and port number.
|
||||
|
||||
[[TCP Server Interface]]
|
||||
type = TCPServerInterface
|
||||
interface_enabled = True
|
||||
|
||||
device = eth0
|
||||
port = 4242
|
||||
prefer_ipv6 = True
|
||||
|
||||
**Please Note!** The TCP interfaces support tunneling over I2P, but to do so reliably,
|
||||
you must use the i2p_tunneled option:
|
||||
|
||||
|
@ -231,7 +248,7 @@ and restore connectivity after a failure, once the other end of a TCP interface
|
|||
.. code::
|
||||
|
||||
# Here's an example of a TCP Client interface. The
|
||||
# target_host can either be an IP address or a hostname.
|
||||
# target_host can be a hostname or an IPv4 or IPv6 address.
|
||||
|
||||
[[TCP Client Interface]]
|
||||
type = TCPClientInterface
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue