Skip to content

Commit

Permalink
doc: mention ip discovery only active when no addresses are announced
Browse files Browse the repository at this point in the history
Changelog-None
  • Loading branch information
m-schmoock authored and niftynei committed Jul 12, 2022
1 parent 301acc9 commit b3177e9
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 3 deletions.
3 changes: 2 additions & 1 deletion doc/FAQ.md
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,8 @@ There is no risk to your channels if your IP address changes.
Other nodes might not be able to connect to you, but your node can still connect to them.
But Core Lightning also has an integrated IPv4/6 address discovery mechanism.
If your node detects an new public address, it will update its announcement.
For this to work binhind a NAT router you need to forward the TCP port 9735 to your node.
For this to work binhind a NAT router you need to forward the default TCP port 9735 to your node.
IP discovery is only active if no other addresses are announced.

Alternatively, you can [setup a TOR hidden service](TOR.md) for your node that
will also work well behind NAT firewalls.
Expand Down
3 changes: 2 additions & 1 deletion doc/TOR.md
Original file line number Diff line number Diff line change
Expand Up @@ -48,8 +48,9 @@ network between you and the Internet, as long as you can use Tor you can
be connected to.

Note: Core Lightning also support IPv4/6 address discovery behind NAT routers.
For this to work you need to forward the TCP port 9735 to your node.
For this to work you need to forward the default TCP port 9735 to your node.
In this case you don't need TOR to punch through your firewall.
IP discovery is only active if no other addresses are announced.
This usually has the benefit of quicker and more stable connections but does not
offer additional privacy.

Expand Down
3 changes: 2 additions & 1 deletion doc/lightningd-config.5.md
Original file line number Diff line number Diff line change
Expand Up @@ -380,7 +380,8 @@ as described below).

Core Lightning also support IPv4/6 address discovery behind NAT routers.
If your node detects an new public address, it will update its announcement.
For this to work you need to forward the TCP port 9735 to your node.
For this to work you need to forward the default TCP port 9735 to your node.
IP discovery is only active if no other addresses are announced.

You can instead use *addr* to override this (eg. to change the port), or
precisely control where to bind and what to announce with the
Expand Down

0 comments on commit b3177e9

Please sign in to comment.