Relay Node Setup

Relay Node Setup

The Relay Node helps route traffic within the BrinX AI network. To set up your Relay Node, follow these instructions:

Relay Node Requirements

Ensure Port 1194 (UDP) is open on your system for node communication.

Relay Node Installation Steps

1. Configure Your Firewall

Open the required ports:

bashCopy codesudo apt-get install -y ufw && sudo ufw allow ssh && sudo ufw allow 1194/udp && sudo ufw enable && sudo ufw status

2. Check CPU Architecture

Determine your system’s architecture to download the correct Docker image:

bashCopy codeuname -m
  • x86_64 → AMD64 architecture

  • aarch64 or arm64 → ARM64 architecture (for systems like Raspberry Pi)

3. Pull the BrinX AI Relay Docker Image

Use the command below based on your architecture:

  • For AMD64:

    bashCopy codedocker pull admier/brinxai_nodes-relay:latest
  • For ARM64 (Raspberry Pi):

    bashCopy codedocker pull admier/brinxai_nodes-relay:arm64

4. Run the Relay Node

Execute the Docker command based on your architecture:

  • For AMD64:

    bashCopy codesudo docker run -d --name brinxai_relay --cap-add=NET_ADMIN admier/brinxai_nodes-relay:latest
  • For ARM64 (Raspberry Pi):

    bashCopy codesudo docker run -d --name brinxai_relay --cap-add=NET_ADMIN admier/brinxai_nodes-relay:arm64

5. Register Your Relay Node

  1. Log in and select Add Relay Node.

  2. Enter your Node IP Address and complete registration.

  3. Your Relay Node is now operational!

Last updated