mirror of
https://github.com/aljazceru/lightning.git
synced 2025-12-20 15:44:21 +01:00
In-document links don't work if "." is present
When you refer to a title of the doc in a link and the title has a dot, you have to drop it when you build the link.
This commit is contained in:
14
doc/TOR.md
14
doc/TOR.md
@@ -153,10 +153,10 @@ Let's see how to use them.
|
|||||||
NOTE:
|
NOTE:
|
||||||
|
|
||||||
1. v2: The Version 2 onion address is persistent across Tor service restarts.
|
1. v2: The Version 2 onion address is persistent across Tor service restarts.
|
||||||
It is created when you create the [Tor Hidden Service](#Creation-of-an-hidden-service-for-a-persistent-.onion-address).
|
It is created when you create the [Tor Hidden Service](#Creation-of-an-hidden-service-for-a-persistent-onion-address).
|
||||||
|
|
||||||
2. temp-v2: The Version 2 onion address changes at each restart of the Tor service.
|
2. temp-v2: The Version 2 onion address changes at each restart of the Tor service.
|
||||||
A non-persistent .onion address is generated by accessing an [auto service](#creation-of-an-auto-service-for-non-persistent-.onion-addresses).
|
A non-persistent .onion address is generated by accessing an [auto service](#creation-of-an-auto-service-for-non-persistent-onion-addresses).
|
||||||
|
|
||||||
3. All the v3 addresses referes to [.onion addresses version 3].
|
3. All the v3 addresses referes to [.onion addresses version 3].
|
||||||
|
|
||||||
@@ -208,7 +208,7 @@ To have your external IP address and your .onion address announced, you use the
|
|||||||
|
|
||||||
If you are not inside an internal network you can use `--addr=yourIPAddress:port --announce-addr=your.onionAddress:port`.
|
If you are not inside an internal network you can use `--addr=yourIPAddress:port --announce-addr=your.onionAddress:port`.
|
||||||
|
|
||||||
your.onionAddress is the one created with the Tor hidden service ([see above](#creation-of-an-hidden-service-for-a-persistent-.onion-address)).
|
your.onionAddress is the one created with the Tor hidden service ([see above](#creation-of-an-hidden-service-for-a-persistent-onion-address)).
|
||||||
The port is the one indicated as the hidden service port. If the hidden service creation
|
The port is the one indicated as the hidden service port. If the hidden service creation
|
||||||
line is `HiddenServicePort 1234 127.0.0.1:9735` the .onion address will be reachable at
|
line is `HiddenServicePort 1234 127.0.0.1:9735` the .onion address will be reachable at
|
||||||
the 1234 port (the global port).
|
the 1234 port (the global port).
|
||||||
@@ -245,7 +245,7 @@ You will obtain the generated non persisten .onion address by reading the result
|
|||||||
#### Case #4 c-lightning has no public IP address, but has a fixed Tor hidden service address that is persistent
|
#### Case #4 c-lightning has no public IP address, but has a fixed Tor hidden service address that is persistent
|
||||||
|
|
||||||
Other nodes can connect to the announced .onion address created with the
|
Other nodes can connect to the announced .onion address created with the
|
||||||
hidden service ([see above](#creation-of-an-hidden-service-for-a-persistent-.onion-address)).
|
hidden service ([see above](#creation-of-an-hidden-service-for-a-persistent-onion-address)).
|
||||||
|
|
||||||
In this case In the `lightningd` command line you will specify:
|
In this case In the `lightningd` command line you will specify:
|
||||||
|
|
||||||
@@ -276,7 +276,7 @@ to make your external IP address public you add:
|
|||||||
If the node is not on an internal network the option will be:
|
If the node is not on an internal network the option will be:
|
||||||
`--addr=yourexternalIPAddress:port`.
|
`--addr=yourexternalIPAddress:port`.
|
||||||
|
|
||||||
Once the .onion addresses have been created with the procedures [oulined above](#creation-of-an-hidden-service-for-a-persistent-.onion-address),
|
Once the .onion addresses have been created with the procedures [oulined above](#creation-of-an-hidden-service-for-a-persistent-onion-address),
|
||||||
the node is already reachable at the .onion address.
|
the node is already reachable at the .onion address.
|
||||||
|
|
||||||
To make your external .onion addresses public you add: `--announce-addr=.onionAddressV2:port --announce-addr=.onionAddressV3:port` to the options to publish your IP number.
|
To make your external .onion addresses public you add: `--announce-addr=.onionAddressV2:port --announce-addr=.onionAddressV3:port` to the options to publish your IP number.
|
||||||
@@ -285,7 +285,7 @@ To make your external .onion addresses public you add: `--announce-addr=.onionAd
|
|||||||
|
|
||||||
External users can connect to this node by Tor V2 and V3 and a random V2 until next tor release, then also (V3 randomly).
|
External users can connect to this node by Tor V2 and V3 and a random V2 until next tor release, then also (V3 randomly).
|
||||||
|
|
||||||
The Persistent addresses can be created with the steps [outlined above](#creation-of-an-hidden-service-for-a-persistent-.onion-address).
|
The Persistent addresses can be created with the steps [outlined above](#creation-of-an-hidden-service-for-a-persistent-onion-address).
|
||||||
|
|
||||||
To create your non-persistent Tor address, add
|
To create your non-persistent Tor address, add
|
||||||
`--addr=autotor:127.0.0.1:9051` if you want to announce it or
|
`--addr=autotor:127.0.0.1:9051` if you want to announce it or
|
||||||
@@ -293,7 +293,7 @@ To create your non-persistent Tor address, add
|
|||||||
|
|
||||||
Also you must specify `--tor-service-password=yourpassword` (not the hash) to access the
|
Also you must specify `--tor-service-password=yourpassword` (not the hash) to access the
|
||||||
Tor service at 9051 If you have protected them with the password (no additional options if
|
Tor service at 9051 If you have protected them with the password (no additional options if
|
||||||
they are protected with a cookie file. [See above](#creation-of-an-auto-service-for-non-persistent-.onion-addresses)).
|
they are protected with a cookie file. [See above](#creation-of-an-auto-service-for-non-persistent-onion-addresses)).
|
||||||
|
|
||||||
To make your external .onion address (V2 and V3) public you add: `--bind-addr=yourInternalIPAddress:port --announce-addr=your.onionAddressV2:port --announce-addr=your.onionAddressV3:port`
|
To make your external .onion address (V2 and V3) public you add: `--bind-addr=yourInternalIPAddress:port --announce-addr=your.onionAddressV2:port --announce-addr=your.onionAddressV3:port`
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user