Hey, I have been struggling for a long time with this so I would be really happy if someone can help me.
My full node at home always loses all inbound connections when my public IP changes:
I thought
externalip
together with DynDNS would fix this but that does not seem to be the case.This is my config:
##
## bitcoin.conf configuration file. Lines beginning with # are comments.
##
# I2P
i2psam=127.0.0.1:7656
i2pacceptincoming=true
# accept inbound connections
listen=1
externalip=***duckdns.org
discover=0
upnp=1
# accept JSON-RPC commands
server=1
rpcuser=bitcoin
rpcpassword=***
disablewallet=1
# Enable pruning to reduce storage requirements by deleting old blocks.
# This mode is incompatible with -txindex and -coinstatsindex.
# 0 = default (no pruning).
# 1 = allows manual pruning via RPC.
# >=550 = target to stay under in MiB.
prune=0
datadir=/home/bitcoin/.bitcoin
txindex=1
mempoolfullrbf=1
[main]
rpcport=8332
[test]
rpcport=18332
Am I doing something wrong? My DynDNS is definitely working.
The only solution I can come up with that I didn't try yet is to run my node over a proxy which has a static IP. Is this how people do this?
I checked my ISP, I cannot get a static IP without a business contract.
ssh -D
should do the job. I am googling about it rn.externalip
which should do the same thing for bitcoind but it's not working as expected.