Hey Alex, would you mind elaborating on your 2nd bullet point? I have tried opening the port on the BP (to match the external relay’s CNodePort) but still no incoming connection (still 3in/4out). For some context:
My 3 local relay nodes are using a private LAN to connect to my BP. My router allows me to select each of my relay machines from a list for port forward. Usually, I select each of my local relays from this list, choose the port, then open it for external and internal connections. My block producer typically remains hidden with no ports open. My BP’s topology points at the iPv4 of each relay and the topology of the local relays point at the IPv4 of the BP.
In the case of this new external relay, I have tried selecting my BP from the list, then port forwarding it on port X, opening it for internal and external connections.
Port X = a port I randomly selected between 6010-6063. Matches my CNodePort
Port X is set as my CNodePort on the external relay, with the mainnet topology and topology pull pointing at my BP’s public IP (I also tried my BP’s IPv4 with the same effect). The BP still shows 3in/4out & port X still registers as closed on yougetsignal. Also, the telnet command shows as unable to connect from the external relay.
Below are key sections of my relay’s files:
Relay topology pull
#!/bin/bash
BLOCKPRODUCING_IP=MY PUBLIC IP
BLOCKPRODUCING_PORT=6000
curl -s -o...
Mainnet topology
{ "resultcode": "201", "networkMagic": "764824073", "ipType":4, "requestedIpVersion":"4", "Producers": [
{ "addr": "MY PUBLIC IP, "port": 6000, "valency": 1 } ,
{ "addr": "relays-new.cardano-mainnet.iohk.io", "port": 3001, "valency": 2 } ,
Topology updater
#!/bin/bash
# shellcheck disable=SC2086,SC2034
USERNAME=MY USERNAME
CNODE_PORT=PORT X
CNODE_BIN...
start relay node
#!/bin/bash
DIRECTORY=/home/MY USERNAME/cardano-my-node
PORT=6000
...
Env CNodePort is set to port X
Please also note that the firewall is completely disabled on my external relay. After several restarts and reconfigurations today, it is currently at 2in/22out. One of the “in” connections appears to be my block producer, whose topology is pointed at port X and IPv4 of the external relay. The block producer also shows that it has an “out” connection with the external relay.
What can I do to make the BP accept the incoming connection from the external relay? I’ve done a pretty good amount of troubleshooting today and couldn’t get to the bottom of it yet.
Perhaps, instead of opening both the external and internal port on the BP, should I open the external on a local relay and the internal on the block producer? Would this forward the connection through the relay to the BP?
Cheers my friend. Appreciate your help as always