Relay Node and Block node behine a Nat ROUTER

Hello
with Version-Info: cli 1.27.0 / node 1.27.0
I am running my relay node and Block producing node with NAT generated TCP/IP address
When I setup my Relay Node mainnet-topology.json it asks for the real ipaddress of my Block producing node - do I enter the TCP/ip address generated by by NAT router
When I setup my Block Relay Node mainnet-topology.json it asks for the real ipaddress of my Relay node do I enter the TCP/ip address generated by by NAT router

Or do I find the real IP address and try and port forward from the router to the relay node and the Block Producing Node, which will have the same real IP address the other side of the NAT router our in the big nasty internet. - how would i do this ?

When I run POOL VET with my node address I get the following errors
"Can’t reach relay node 192.168.0.24:3001
Check manually that the topology for relay node 192.168.0.24:3001 is configured

Relay node 192.168.0.24:3001 is missing in topology.json
where the 192.168.0.24 is the NAT address of my Relay node"

If you can point me in the right direction that would be great ,as an old retired IT guy I am having a lot of Fun with this - thanks in advance

you have the servers behind a PRIVATE LAN

  • connect the nodes via private IPs
  • configure a port forward on router for the RELAY
  • register the Relay with the public IP not with the private IP

Cheers,

2 Likes

Hi Alex
Thanks for your help
I made the changes you suggested
Then I ran the Stake Pool Operator Script
05a_genStakepoolCert.sh myPool
and then
05c_regStakepoolCert.sh REREG

This worked
I did need to power down both and restarted my nodes.
I can now see my stake pool in Daelus Wallet

I do get one warning Message when I run Pool Vet

"PASS: Relay node 121.211.82.47:3001 is reachable

Check manually that the topology for relay node 121.211.82.47:3001 is configured

"If you are using topologyUpdater, the subscription is not set up correctly. Check crontab, the topologyUpdater logs, and that you subscribed the node with the correct address and port

Relay node 121.211.82.47:3001 is missing in topology.json "

Do i need to be concerned by pool.vet warnings as everything else seems ok?

Thanks again
Martin

How many relays do u have? U will need to run the topology updater script once/hour

Hi Alex
I have one relay node
Dumb question what is a
“topology updater script once/hour”
where would I run this on my Relaynode or Block node?
thanks
Martin

Only on relay node… what guide did u followed?

Hi Alex
mainly stakepool247.eu

Cardano Node 1.27.0 (Stake Pool) installation guide for dummies

Martin

Try Guide: How to build a Cardano Stake Pool - CoinCashew

Chapter 14

Hello Alex
Thanks it worked
I followed the coin cashew guide section 14

I placed it in crontab .

I had to down load the latest topologyUpdater.sh from github and change
the line to BATCH_AUTO_UPDATE=Y from N as every now and then it would stop and ask to update the file, which would screw with crontab job.

thanks again
regards
Martin

1 Like