Is it possible to select the public IP the node is running on?

Hello,

I have a dedicated server with multiple public IP Addresses.

I was just wondering if there is any command line option with NKND or any settings file where the node’s public IP can be set? I guess it’s automatically using the primary public IP currently.

Thanks in advance to anyone that can shed some light on this :slight_smile:

1 Like

There are two parts here:

  1. Setting the listening IP of nknd. This can be done by setting Hostname in config.json.
  2. Setting the outgoing IP of nknd. This relies on OS. You need to make sure when nknd sends out packet, it will use the IP address you want. This is outside nknd’s control and you need to set in OS-wide.
1 Like