Installation
Automated Installer (Recommended)
bash
curl -sSL https://raw.githubusercontent.com/AnAverageBeing/RouteX-Reverse-Proxy/main/install.sh | sudo bashOr locally:
bash
sudo bash install.sh /opt/routexSupported Distributions
| Distribution | Package Manager |
|---|---|
| Debian / Ubuntu / Pop!_OS / Mint / Kali | apt |
| RHEL / CentOS / Rocky / Alma / Fedora / Amazon Linux | dnf / yum |
| Arch / Manjaro / EndeavourOS | pacman |
| Alpine Linux | apk |
What the Installer Does
- Detects OS automatically
- Installs all system dependencies (iptables, sqlite3, gcc, pkg-config)
- Installs Go 1.22+ if not present
- Checks iptables kernel modules (xt_hashlimit, xt_connlimit, xt_recent, xt_state)
- Builds RouteX →
/usr/local/bin/routex - Installs systemd service with appropriate capabilities
- Verifies firewall (UFW/firewalld) configuration
Manual Installation
Prerequisites
- Go 1.22+
- iptables
- sqlite3 + development headers
- gcc + pkg-config
Build
bash
git clone https://github.com/AnAverageBeing/RouteX-Reverse-Proxy.git
cd RouteX-Reverse-Proxy
go mod download
make buildRun
bash
./bin/routex -config configs/global.yaml -proxies configs/proxies