RTL is not connecting over Tor #196
Replies: 2 comments
-
Hi @n-e-t-d-i-v-e-r you need to configure the RTL service for access via TOR not c-lightning-rest |
Beta Was this translation helpful? Give feedback.
0 replies
-
thx for response. I opened this case in the rtl-section and close this. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hello
I have installed C-lightning and then also connected RTL to it. I can also access the page locally via localhost as expected and it works fine so far.
Unfortunately, however, I cannot access the page via the Tor browser.
My configuration looks like this:
*cl-rest-config.json:
{
"PORT": 3092,
"DOCPORT": 4092,
"PROTOCOL": "http",
"EXECMODE": "production",
"RPCCOMMANDS": ["*"],
"DOMAIN": "localhost",
}
/data/lightningd/config:
network
proxy=127.0.0.1:9050
bind-addr=0.0.0.0:9736
addr=statictor:127.0.0.1:9051/torport=9736
always-use-proxy=true
cln-rest-plugin
plugin=/data/lightningd-plugins-available/c-lightning-REST-0.10.1/clrest.js
rest-port=3092
rest-docport=4092
rest-protocol=http
Servers:
[ 1] 22/tcp ALLOW IN Anywhere
[ 2] 50002/tcp ALLOW IN Anywhere # allow Electrum SSL
[ 3] 4000/tcp ALLOW IN Anywhere # allow BTC RPC Explorer SSL
[ 4] 4001/tcp ALLOW IN Anywhere # allow RTL SSL
[ 5] 4002 ALLOW IN Anywhere # allow ThunderHub SSL
[ 6] 4081/tcp ALLOW IN Anywhere # allow Mempool SSL
[ 8] 4091/tcp ALLOW IN Anywhere # allow Homer SSL
[ 9] 4003/tcp ALLOW IN Anywhere # allow LNBits SSL
[11] 50002/tcp (v6) ALLOW IN Anywhere (v6) # allow Electrum SSL
[12] 4000/tcp (v6) ALLOW IN Anywhere (v6) # allow BTC RPC Explorer SSL
[13] 4001/tcp (v6) ALLOW IN Anywhere (v6) # allow RTL SSL
[14] 4002 (v6) ALLOW IN Anywhere (v6) # allow ThunderHub SSL
[15] 4081/tcp (v6) ALLOW IN Anywhere (v6) # allow Mempool SSL
[16] 4091/tcp (v6) ALLOW IN Anywhere (v6) # allow Homer SSL
[17] 4003/tcp (v6) ALLOW IN Anywhere (v6) # allow LNBits SSL
TOR hidden-services:
Hidden service LNBits
HiddenServiceDir /var/lib/tor/hidden_service_lnbits/
HiddenServiceVersion 3
HiddenServicePort 80 127.0.0.1:5000
Hidden Service Thunderhub_LND
HiddenServiceDir /var/lib/tor/hidden_service_thunderhub/
HiddenServiceVersion 3
HiddenServicePort 80 127.0.0.1:3010
#RTL_CLN Hidden Service
HiddenServiceDir /var/lib/tor/hidden_service_cln_rest/
HiddenServiceVersion 3
HiddenServicePort 8080 127.0.0.1:3092
RTL-config.json:
{
"port": "9090",
"SSO": {
"rtlSSO": 0,
"rtlCookiePath": "",
"logoutRedirectLink": ""
},
"nodes": [
{
"index": 1,
"lnNode": "CLN Node",
"lnImplementation": "CLN",
"Authentication": {
"macaroonPath": "/home/rtl",
"configPath": "/data/lightningd/config"
},
"Settings": {
"userPersona": "OPERATOR",
"themeMode": "DAY",
"themeColor": "INDIGO",
"fiatConversion": true,
"currencyUnit": "EUR",
"logLevel": "ERROR",
"lnServerUrl": "http://127.0.0.1:3092",
"enableOffers": true
}
}
],
Anybody has got an idea, where the issue in this config is?
Beta Was this translation helpful? Give feedback.
All reactions