You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
* Non-persistent version 2 .onion address via auto service (temp-v2)
143
143
144
-
* Persistent version 2 and version 3 .onion addresseses (v2 and v3).
144
+
* Persistent version 2 and version 3 .onion addresseses (v2 and v3).
145
145
146
146
Let's see how to use them.
147
147
@@ -160,34 +160,34 @@ Let's see how to use them.
160
160
161
161
NOTE:
162
162
163
-
1. v2: The Version 2 onion address is persistent across Tor service restarts.
163
+
1. v2: The Version 2 onion address is persistent across Tor service restarts.
164
164
It is created when you create the [Tor Hidden Service](#Creation-of-an-hidden-service-for-a-persistent-onion-address).
165
165
166
-
2. temp-v2: The Version 2 onion address changes at each restart of the Tor service.
166
+
2. temp-v2: The Version 2 onion address changes at each restart of the Tor service.
167
167
A non-persistent .onion address is generated by accessing an [auto service](#creation-of-an-auto-service-for-non-persistent-onion-addresses).
168
168
169
169
3. All the v3 addresses referes to [.onion addresses version 3].
170
170
171
-
4. In all the "Incoming" use case, the node can also make "Outgoing" Tor
172
-
connections (connect to a .onion address) by adding the
171
+
4. In all the "Incoming" use case, the node can also make "Outgoing" Tor
172
+
connections (connect to a .onion address) by adding the
173
173
`--proxy=127.0.0.1:9050` option.
174
174
175
-
#### Case 1 c-lightning has a public IP address and no Tor hidden service address, but can connect to an onion address via a Tor socks 5 proxy.
175
+
#### Case 1 c-lightning has a public IP address and no Tor hidden service address, but can connect to an onion address via a Tor socks 5 proxy.
176
176
177
-
Without a .onion address, the node won't be reachable through Tor by other
178
-
nodes but it will always be able to `connect` to a Tor enabled node
179
-
(outbound connections), passing the `connect` request through the Tor
180
-
service socks5 proxy. When the Tor service starts it creates a socks5
181
-
proxy which is by default at the address 127.0.0.1:9050.
177
+
Without a .onion address, the node won't be reachable through Tor by other
178
+
nodes but it will always be able to `connect` to a Tor enabled node
179
+
(outbound connections), passing the `connect` request through the Tor
180
+
service socks5 proxy. When the Tor service starts it creates a socks5
181
+
proxy which is by default at the address 127.0.0.1:9050.
182
182
183
-
If the node is started with the option `--proxy=127.0.0.1:9050` the node
184
-
will be always able to connect to nodes with .onion address through the socks5
185
-
proxy.
183
+
If the node is started with the option `--proxy=127.0.0.1:9050` the node
184
+
will be always able to connect to nodes with .onion address through the socks5
185
+
proxy.
186
186
187
-
**You can always add this option, also in the other use cases, to add outgoing
187
+
**You can always add this option, also in the other use cases, to add outgoing
188
188
Tor capabilities.**
189
189
190
-
If you want to `connect` to nodes ONLY via the Tor proxy, you have to add the
190
+
If you want to `connect` to nodes ONLY via the Tor proxy, you have to add the
191
191
`--always-use-proxy=true` option.
192
192
193
193
You can announce your public IP address through the usual method:
@@ -201,7 +201,7 @@ if the node is into an internal network
201
201
```
202
202
if the node is not inside an internal network.
203
203
204
-
TIP: If you are unsure which of the two is suitable for you, find your internal
204
+
TIP: If you are unsure which of the two is suitable for you, find your internal
205
205
and external address and see if they match.
206
206
207
207
In linux:
@@ -210,28 +210,28 @@ Discover your external IP address with: `curl ipinfo.io/ip`
210
210
211
211
and your internal IP Address with: `ip route get 1 | awk '{print $NF;exit}'`
212
212
213
-
If they match you can use the `--addr` command line option.
213
+
If they match you can use the `--addr` command line option.
214
214
215
215
#### Case #2 c-lightning has a public IP address and a fixed Tor hidden service address that is persistent, so that external users can connect to this node.
216
216
217
217
To have your external IP address and your .onion address announced, you use the
0 commit comments