mirror of
https://github.com/rootzoll/raspiblitz.git
synced 2024-11-19 01:40:16 +01:00
#24 nice and open ports
This commit is contained in:
parent
59c4a9c022
commit
e24e1920aa
10
FAQ.md
10
FAQ.md
@ -280,14 +280,20 @@ Make the fonts smaller until the QR code fits into your (fullscreen) terminal. I
|
||||
|
||||
The bitcoin IP is red, when the RaspiBlitz detects that it cannot reach the port of bitcoin node from the outside. This means the bitcoin node can peer with other bitcoin nodes, but other bitcoin nodes cannot initiate a peering with you. Dont worry, you dont need a publicly reachable bitcoin node to run a (public) lightning node. If you want to change this however, you need to forward port 8333 on your router to the the RaspiBlitz. How to do this is different on every router.
|
||||
|
||||
On details how to set port forwarding on your router model see: https://portforward.com
|
||||
|
||||
## Why is my node address on the display red?
|
||||
|
||||
The node address is red, when the RaspiBlitz detects that it cannot reach the port of the LND node from the outside - when the device is behind a NAT or firewall of the the router. Your node is not publicly reachable. This means you can peer+openChannel with other public nodes, but other nodes cannot peer+openChannel with you. To change this you need to forward port 9735 on your router to the the RaspiBlitz. How to do this is different on every router.
|
||||
|
||||
On details how to set port forwarding on your router model see: https://portforward.com
|
||||
|
||||
## Why is my node address on the display yellow (not green)?
|
||||
|
||||
Yellow is OK. The RaspiBlitz can detect, that it can reach a service on the port 9735 of your public IP - this is in most cases the LND of your RaspiBlitz. But the RaspiBlitz cannot 100% for sure detect that this is its own LND service on that port - thats why its just yellow, not green.
|
||||
|
||||
On details how to set port forwarding on your router model see: https://portforward.com
|
||||
|
||||
## Can I run the RaspiBlitz as Backend for BTCPayServer?
|
||||
|
||||
BTCPay Server is a solution to be your own payment processor to accept Lightning Payments for your online store: https://github.com/btcpayserver/btcpayserver
|
||||
@ -391,7 +397,9 @@ If you dont trust the download or you want to run the RaspiBlitz in a more produ
|
||||
|
||||
## Why is taking my torrent download of the blockchain so long?
|
||||
|
||||
Other users reported that opening up and forwarding the following port from their router to the RaspiBlitz helped speed up and getting started the torrent download: 6881-6889, 6969, 1337
|
||||
Other users reported that opening up and forwarding the following port from their router to the RaspiBlitz helped speed up and getting started the torrent download: 49200-49250
|
||||
|
||||
On details how to set port forwarding on your router model see: https://portforward.com
|
||||
|
||||
## What is the "Base Torrent File"?
|
||||
|
||||
|
@ -86,7 +86,7 @@ if [ ${torrentComplete1} -eq 0 ]; then
|
||||
|
||||
# start torrent download in screen session
|
||||
echo "starting torrent: blockchain"
|
||||
command1="sudo nice -n 10 rtorrent -n -d ${targetDir} -s ${sessionDir}/blockchain/ /home/admin/assets/${baseTorrentFile}.torrent"
|
||||
command1="sudo nice -n 10 rtorrent -n -p 49200-49250 -d ${targetDir} -s ${sessionDir}/blockchain/ /home/admin/assets/${baseTorrentFile}.torrent"
|
||||
screenCommand="screen -S blockchain -L screen.log -dm ${command1}"
|
||||
echo "${screenCommand}"
|
||||
bash -c "${screenCommand}"
|
||||
@ -110,7 +110,7 @@ if [ ${torrentComplete2} -eq 0 ]; then
|
||||
|
||||
# start torrent download in screen session
|
||||
echo "starting torrent: update"
|
||||
command2="sudo nice -n 10 rtorrent -n -d ${targetDir} -s ${sessionDir}/update/ /home/admin/assets/${updateTorrentFile}.torrent"
|
||||
command2="sudo nice -n 10 rtorrent -n -p 49200-49250 -d ${targetDir} -s ${sessionDir}/update/ /home/admin/assets/${updateTorrentFile}.torrent"
|
||||
screenCommand="screen -S update -L screen.log -dm ${command2}"
|
||||
echo "${screenCommand}"
|
||||
bash -c "${screenCommand}"
|
||||
|
@ -64,7 +64,7 @@ sudo ufw allow 10009 comment 'lightning gRPC'
|
||||
echo "allow: lightning REST API"
|
||||
sudo ufw allow 8080 comment 'lightning REST API'
|
||||
echo "allow: transmission"
|
||||
sudo ufw allow 51413 comment 'transmission'
|
||||
sudo ufw allow 49200:49250/tcp comment 'rtorrent'
|
||||
echo "allow: local web admin"
|
||||
sudo ufw allow from 192.168.0.0/16 to any port 80 comment 'allow local LAN web'
|
||||
echo "open firewall for auto nat discover (see issue #129)"
|
||||
|
Loading…
Reference in New Issue
Block a user