Using only one public IP for my stake pool

As a basic stake pool, I have one relay and one block-producer. So this is my setup:

// relay topology
{
    "Producers": [
      {
        "addr": "relays-new.cardano-mainnet.iohk.io",
        "port": 3001,
        "valency": 2
      }
    ]
  }

And

// block-producer topology
{
  "Producers": [
    {
      "addr": <RELAY PUBLIC IP ADDRES>,
      "port": 3001,
      "valency": 2
    }
  ]
}

Not sure if this is correct or I should include the block-producer IP in the relay topology. But this way the IP of my block-producer is not exposed. Maybe this is the reason why the Processes TX and Mempool TX is always 0.

relay:
image

block-producer:
image

Not ok, u will need to set:

  • for the producer:
  1. in the topology file add only your relay IP + port
  2. u will need to allow in fw only the relay
    sudo ufw allow proto tcp from Relay_IP to any port Producer_CNODE_port
  • for the Relay
  1. U will need to use topology updater script and add the Block Producer IP + port inside the script (depending of what guide u followed to setup the pool)

!!! The topology updater must run all the time once/hour

  1. In fw u will need to keep the port open for any

If all above the steps were made correct then:

  • on Producer u should see ur relay to IN/OUT peers
  • on Relay u should see the Producer to OUT/IN peers + other public nodes

!!! To see the peers infos press I in glive

  • on both servers u will have tx processed
1 Like

Seems like ok now.

relay:
image
producer:
image

yeah, now is fine, as long you are processing tx is fine, and also the producer should start as a core node, with kes expiration, blocks infos, etc