Skip to main content
Federation enables multiple FreeTAKServer instances to share CoT data, allowing users connected to different servers to see each other and exchange information.

Overview

FreeTAKServer federation provides:
  • Server-to-Server Communication: Connect FTS instances across different networks
  • Distributed Operations: Support geographically dispersed teams
  • Load Balancing: Distribute client connections across servers
  • Resilience: Maintain operations if one server goes down
  • Data Sharing: Selective CoT data exchange between federated servers

Federation Architecture

Prerequisites

Before setting up federation:
  • Two or more FreeTAKServer instances installed and running
  • Network connectivity between servers (port 9000 accessible)
  • SSL certificates configured on all servers
  • Server IP addresses or hostnames known

Quick Start

Federation Configuration Reference

Configuration Parameters

Environment Variables

From MainConfig.py:

Federation Security

SSL/TLS for Federation

Federation uses the same SSL certificates as the main server:

Authentication

Federation connections authenticate using:
  1. SSL Certificate Validation: Mutual TLS verification
  2. Node ID: Unique server identifier
  3. Federation Password: Shared secret for additional security
Security best practices:
  • Use strong, unique federation passwords
  • Keep federation certificates separate from client certificates
  • Restrict federation port (9000) to known server IPs
  • Monitor federation logs for unauthorized connection attempts
  • Rotate federation passwords regularly

Firewall Configuration

Open Federation Port

Restrict to Specific IPs

For enhanced security, allow only known federation servers:

Docker Federation Setup

Docker Compose Configuration

Establish Federation Between Containers

Federation Data Flow

CoT Routing

When federation is active:
  1. Client sends CoT to local server
  2. Local server processes and stores CoT
  3. CoT is forwarded to federated servers
  4. Federated servers distribute to their clients
  5. All clients across federation see the CoT

Selective Filtering

Configure which CoT types are federated (future feature):

Troubleshooting

Federation Won’t Connect

Common issues:
  1. Port not open
  2. Certificate mismatch
  3. Wrong password
    • Verify FTS_FED_PASSWORD matches on both servers
    • Check logs for authentication errors
  4. Firewall blocking

Check Federation Logs

Verify Federation Component

Check federation service is loaded:

Debug Federation Connection

Enable debug logging:
Monitor debug output:

Advanced Federation

Multi-Server Federation

Connect more than two servers:
Each server connects to others:

Hub-and-Spoke Topology

Central hub server with regional spokes:
Only HQ server federates with all regions. Regions don’t connect to each other directly.

Persistent Federation

Ensure federation reconnects after restart:

Monitoring Federation

Federation Health Check

Metrics Collection

Monitor federation metrics:

Next Steps