Bitcoin Forum
April 24, 2024, 04:37:42 PM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: My bitcoin full node is unreachable  (Read 162 times)
Evgueni Leonov (OP)
Newbie
*
Offline Offline

Activity: 7
Merit: 7


View Profile
December 29, 2022, 12:33:15 PM
Last edit: December 29, 2022, 03:29:51 PM by Evgueni Leonov
Merited by hugeblack (3), ABCbits (2), pooya87 (1), Pmalek (1)
 #1

Bitcoin Client Software and Version Number: Bitcoin Core RPC client version v24.0.1
Operating System: Raspbian GNU/Linux 9 (stretch)
System Hardware Specs: ARMv7 Processor rev 4 (v7l), 1GB RAM and 1 Tb free hard drive space.
Description of Problem: My node is up and running but is not reacheable from the internet. I use
Code:
curl -sL https://bitnodes.earn.com/api/v1/nodes/me-8333/ | jq
to test it

This is the output of a nmap scan of my raspberry in my LAN:
Code:
Nmap scan report for 192.168.1.138
Host is up (0.0048s latency).
Not shown: 998 filtered ports
PORT     STATE SERVICE
22/tcp   open  ssh
8333/tcp open  bitcoin

Nmap done: 1 IP address (1 host up) scanned in 5.06 seconds

I recently ask to my ISP to get me out from CGNAT and now my public ipv4 in my router config is the same as the one whatsmyip.org shows me. I also added a port forwarding rule in my router config:
Code:
Protocol: TCP
External host: 0.0.0.0
Internal host: 192.168.1.138
External Port: 8333
Internal Port: 8333

But my node is still not reacheable.
1713976662
Hero Member
*
Offline Offline

Posts: 1713976662

View Profile Personal Message (Offline)

Ignore
1713976662
Reply with quote  #2

1713976662
Report to moderator
1713976662
Hero Member
*
Offline Offline

Posts: 1713976662

View Profile Personal Message (Offline)

Ignore
1713976662
Reply with quote  #2

1713976662
Report to moderator
Each block is stacked on top of the previous one. Adding another block to the top makes all lower blocks more difficult to remove: there is more "weight" above each block. A transaction in a block 6 blocks deep (6 confirmations) will be very difficult to remove.
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction.
1713976662
Hero Member
*
Offline Offline

Posts: 1713976662

View Profile Personal Message (Offline)

Ignore
1713976662
Reply with quote  #2

1713976662
Report to moderator
1713976662
Hero Member
*
Offline Offline

Posts: 1713976662

View Profile Personal Message (Offline)

Ignore
1713976662
Reply with quote  #2

1713976662
Report to moderator
1713976662
Hero Member
*
Offline Offline

Posts: 1713976662

View Profile Personal Message (Offline)

Ignore
1713976662
Reply with quote  #2

1713976662
Report to moderator
n0nce
Hero Member
*****
Offline Offline

Activity: 882
Merit: 5814


not your keys, not your coins!


View Profile WWW
December 29, 2022, 05:37:29 PM
 #2

Is your node fully synced yet?

█▀▀▀











█▄▄▄
▀▀▀▀▀▀▀▀▀▀▀
e
▄▄▄▄▄▄▄▄▄▄▄
█████████████
████████████▄███
██▐███████▄█████▀
█████████▄████▀
███▐████▄███▀
████▐██████▀
█████▀█████
███████████▄
████████████▄
██▄█████▀█████▄
▄█████████▀█████▀
███████████▀██▀
████▀█████████
▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
c.h.
▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄
▀▀▀█











▄▄▄█
▄██████▄▄▄
█████████████▄▄
███████████████
███████████████
███████████████
███████████████
███░░█████████
███▌▐█████████
█████████████
███████████▀
██████████▀
████████▀
▀██▀▀
Evgueni Leonov (OP)
Newbie
*
Offline Offline

Activity: 7
Merit: 7


View Profile
December 29, 2022, 11:41:06 PM
 #3

No, its at 27% yet. I thought it wouldnt accept transactions until is fully synced but it would be reacheable. If thats not the case thanks for your reply! This was driving me crazy :S
jackg
Copper Member
Legendary
*
Offline Offline

Activity: 2856
Merit: 3071


https://bit.ly/387FXHi lightning theory


View Profile
December 30, 2022, 12:54:55 AM
 #4

How are you trying to reach it? I think you should be able to reach it from a ping request locally or from a hard coded connection from a device on your network but not over the Internet or externally yet (changing once it syncs).

You could test if it's a router issue by trying to connect it over tor.
NotATether
Legendary
*
Offline Offline

Activity: 1582
Merit: 6679


bitcoincleanup.com / bitmixlist.org


View Profile WWW
December 30, 2022, 06:53:56 AM
 #5

No, its at 27% yet. I thought it wouldnt accept transactions until is fully synced but it would be reacheable. If thats not the case thanks for your reply! This was driving me crazy :S

When you're node is in the initial block download stage, it won't accept certain RPC calls until the verification is finished, but I don't think that's the problem. Why is your node listening on 192.168.1.138 only? You need to make it listen to 0.0.0.0.

.
.BLACKJACK ♠ FUN.
█████████
██████████████
████████████
█████████████████
████████████████▄▄
░█████████████▀░▀▀
██████████████████
░██████████████
████████████████
░██████████████
████████████
███████████████░██
██████████
CRYPTO CASINO &
SPORTS BETTING
▄▄███████▄▄
▄███████████████▄
███████████████████
█████████████████████
███████████████████████
█████████████████████████
█████████████████████████
█████████████████████████
███████████████████████
█████████████████████
███████████████████
▀███████████████▀
█████████
.
Evgueni Leonov (OP)
Newbie
*
Offline Offline

Activity: 7
Merit: 7


View Profile
December 30, 2022, 09:14:14 AM
 #6

How are you trying to reach it? I think you should be able to reach it from a ping request locally or from a hard coded connection from a device on your network but not over the Internet or externally yet (changing once it syncs).

You could test if it's a router issue by trying to connect it over tor.

I'm trying to reach it by using this tool https://bitnodes.io/#join-the-network.
Evgueni Leonov (OP)
Newbie
*
Offline Offline

Activity: 7
Merit: 7


View Profile
December 30, 2022, 09:29:02 AM
 #7

No, its at 27% yet. I thought it wouldnt accept transactions until is fully synced but it would be reacheable. If thats not the case thanks for your reply! This was driving me crazy :S

When you're node is in the initial block download stage, it won't accept certain RPC calls until the verification is finished, but I don't think that's the problem. Why is your node listening on 192.168.1.138 only? You need to make it listen to 0.0.0.0.

My raspberry LAN IP is 192.168.1.138 and I used nmap to check if bitcoind is listening on 8333 port. I don't understand how to make it listen to 0.0.0.0, what do you mean?
NotATether
Legendary
*
Offline Offline

Activity: 1582
Merit: 6679


bitcoincleanup.com / bitmixlist.org


View Profile WWW
December 30, 2022, 12:15:52 PM
Merited by ABCbits (1)
 #8

No, its at 27% yet. I thought it wouldnt accept transactions until is fully synced but it would be reacheable. If thats not the case thanks for your reply! This was driving me crazy :S

When you're node is in the initial block download stage, it won't accept certain RPC calls until the verification is finished, but I don't think that's the problem. Why is your node listening on 192.168.1.138 only? You need to make it listen to 0.0.0.0.

My raspberry LAN IP is 192.168.1.138 and I used nmap to check if bitcoind is listening on 8333 port. I don't understand how to make it listen to 0.0.0.0, what do you mean?

0.0.0.0 is a special network address that causes a program to listen on all the network interfaces in the system.

Try running Bitcoin Core again using the options -listen=1 -bind=0.0.0.0 , if that doesn't work, then try testing your SSH port to see if you can connect to it from outside the internet. I see it is listening on the local network (interface), but is it also listening on your internet-connected interface (that is, whatever IP address your ISP gave you).

.
.BLACKJACK ♠ FUN.
█████████
██████████████
████████████
█████████████████
████████████████▄▄
░█████████████▀░▀▀
██████████████████
░██████████████
████████████████
░██████████████
████████████
███████████████░██
██████████
CRYPTO CASINO &
SPORTS BETTING
▄▄███████▄▄
▄███████████████▄
███████████████████
█████████████████████
███████████████████████
█████████████████████████
█████████████████████████
█████████████████████████
███████████████████████
█████████████████████
███████████████████
▀███████████████▀
█████████
.
simpleSliv3r
Jr. Member
*
Offline Offline

Activity: 46
Merit: 28


View Profile
December 30, 2022, 12:17:33 PM
 #9

No, its at 27% yet. I thought it wouldnt accept transactions until is fully synced but it would be reacheable. If thats not the case thanks for your reply! This was driving me crazy :S

When you're node is in the initial block download stage, it won't accept certain RPC calls until the verification is finished, but I don't think that's the problem. Why is your node listening on 192.168.1.138 only? You need to make it listen to 0.0.0.0.

My raspberry LAN IP is 192.168.1.138 and I used nmap to check if bitcoind is listening on 8333 port. I don't understand how to make it listen to 0.0.0.0, what do you mean?

Use nmap for your public and not private IP and see what happens.
seoincorporation
Legendary
*
Offline Offline

Activity: 3136
Merit: 2908


Top Crypto Casino


View Profile
December 30, 2022, 12:44:29 PM
 #10

I'm not sure if if this will work for Raspbian, but on my Centos server I had to configure the firewall to fix the same issue that you have right now. The command was the next one:

Code:
firewall-cmd --zone=public --add-port=8332/tcp --permanent

That way the port will be open to the public.

And about your ISP I think you only need to configure your modem in DMZ, that way anyone outside the LAN will be able to connect to the server.

█████████████████████████
████▐██▄█████████████████
████▐██████▄▄▄███████████
████▐████▄█████▄▄████████
████▐█████▀▀▀▀▀███▄██████
████▐███▀████████████████
████▐█████████▄█████▌████
████▐██▌█████▀██████▌████
████▐██████████▀████▌████
█████▀███▄█████▄███▀█████
███████▀█████████▀███████
██████████▀███▀██████████
█████████████████████████
.
BC.GAME
▄▄░░░▄▀▀▄████████
▄▄▄
██████████████
█████░░▄▄▄▄████████
▄▄▄▄▄▄▄▄▄██▄██████▄▄▄▄████
▄███▄█▄▄██████████▄████▄████
███████████████████████████▀███
▀████▄██▄██▄░░░░▄████████████
▀▀▀█████▄▄▄███████████▀██
███████████████████▀██
███████████████████▄██
▄███████████████████▄██
█████████████████████▀██
██████████████████████▄
.
..CASINO....SPORTS....RACING..
█░░░░░░█░░░░░░█
▀███▀░░▀███▀░░▀███▀
▀░▀░░░░▀░▀░░░░▀░▀
░░░░░░░░░░░░
▀██████████
░░░░░███░░░░
░░█░░░███▄█░░░
░░██▌░░███░▀░░██▌
░█░██░░███░░░█░██
░█▀▀▀█▌░███░░█▀▀▀█▌
▄█▄░░░██▄███▄█▄░░▄██▄
▄███▄
░░░░▀██▄▀


▄▄████▄▄
▄███▀▀███▄
██████████
▀███▄░▄██▀
▄▄████▄▄░▀█▀▄██▀▄▄████▄▄
▄███▀▀▀████▄▄██▀▄███▀▀███▄
███████▄▄▀▀████▄▄▀▀███████
▀███▄▄███▀░░░▀▀████▄▄▄███▀
▀▀████▀▀████████▀▀████▀▀
NotATether
Legendary
*
Offline Offline

Activity: 1582
Merit: 6679


bitcoincleanup.com / bitmixlist.org


View Profile WWW
December 30, 2022, 01:03:48 PM
 #11

I'm not sure if if this will work for Raspbian, but on my Centos server I had to configure the firewall to fix the same issue that you have right now. The command was the next one:

Code:
firewall-cmd --zone=public --add-port=8332/tcp --permanent

That way the port will be open to the public.

And about your ISP I think you only need to configure your modem in DMZ, that way anyone outside the LAN will be able to connect to the server.

CentOS doesn't have a firewall enabled on installation, but firewalld blocks all incoming traffic by default - on all distributions. So it is something that OP should look into as well.

<while we are at the topic of firewalls, somebody should make a firewall that monitors port 8333 for malicious traffic utilizing patched security vulnerabilities.>

.
.BLACKJACK ♠ FUN.
█████████
██████████████
████████████
█████████████████
████████████████▄▄
░█████████████▀░▀▀
██████████████████
░██████████████
████████████████
░██████████████
████████████
███████████████░██
██████████
CRYPTO CASINO &
SPORTS BETTING
▄▄███████▄▄
▄███████████████▄
███████████████████
█████████████████████
███████████████████████
█████████████████████████
█████████████████████████
█████████████████████████
███████████████████████
█████████████████████
███████████████████
▀███████████████▀
█████████
.
Evgueni Leonov (OP)
Newbie
*
Offline Offline

Activity: 7
Merit: 7


View Profile
December 30, 2022, 01:13:54 PM
 #12

Use nmap for your public and not private IP and see what happens.

The nmap report on my public ip says:
Code:
All 1000 scanned ports on [my public ip] are filtered

But in my router control panel the firewall is configured this way:
https://i.ibb.co/J7nYXTW/image.png

And I added this manual rule (UPnP IGd is enabled):
https://i.ibb.co/hWsGpNx/image.png
NotATether
Legendary
*
Offline Offline

Activity: 1582
Merit: 6679


bitcoincleanup.com / bitmixlist.org


View Profile WWW
December 30, 2022, 02:13:45 PM
 #13

Use nmap for your public and not private IP and see what happens.

The nmap report on my public ip says:
Code:
All 1000 scanned ports on [my public ip] are filtered

But in my router control panel the firewall is configured this way:


And I added this manual rule (UPnP IGd is enabled):


What is the brand and model of your router? It seems as though it is still blocking all of your public ports, considering the SSH port is also filtered from your public IP.

.
.BLACKJACK ♠ FUN.
█████████
██████████████
████████████
█████████████████
████████████████▄▄
░█████████████▀░▀▀
██████████████████
░██████████████
████████████████
░██████████████
████████████
███████████████░██
██████████
CRYPTO CASINO &
SPORTS BETTING
▄▄███████▄▄
▄███████████████▄
███████████████████
█████████████████████
███████████████████████
█████████████████████████
█████████████████████████
█████████████████████████
███████████████████████
█████████████████████
███████████████████
▀███████████████▀
█████████
.
Evgueni Leonov (OP)
Newbie
*
Offline Offline

Activity: 7
Merit: 7


View Profile
December 30, 2022, 05:59:41 PM
 #14

What is the brand and model of your router? It seems as though it is still blocking all of your public ports, considering the SSH port is also filtered from your public IP.

Sagemcom F@st 5657
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!