Factorio Admin RCON Source code

Overview

A web interface that drives a headless Factorio server over RCON, with roles, an audit log and bounded commands.

This panel exposes a headless Factorio server through the RCON protocol, from a browser. It exists because raw RCON is an all-or-nothing door: a single password, no rate limiting, no trace, and complete control of the server for whoever gets through it.

The panel puts three things in front of that door:

What it does#

Quick start#

Without cloning anything, paste the ready-made docker-compose.yml: it pulls the published images and starts the game server and the panel together.

From the repository, the factorio-admin service already lives in its docker-compose.yml, next to the game server.

git clone https://github.com/EdwinAlkins/factorio-admin-rcon.git
cd factorio-admin-rcon

# Writes ./.env: one password per role, plus the session signing key
./setup-admin.sh

docker compose up -d --build factorio-admin
# → http://127.0.0.1:3010
The panel is not published on the network By default it only listens on 127.0.0.1. That is deliberate: it grants full RCON access. To expose it, put an HTTPS reverse proxy in front and read the matching section.

How to read this documentation#