Skip to content

Overview

RouteX is a high-performance TCP/UDP reverse proxy designed for production infrastructure handling thousands of concurrent connections. It combines kernel-level iptables rate limiting with an in-process L7 protection engine.

Design Philosophy

  • Isolation: Each proxy config is independent. One config failing validation never affects others.
  • Defense in Depth: L3/L4 kernel rules catch volumetric attacks. L7 Go engine catches application-layer abuse.
  • API-First: Everything is manageable via REST API. No config file editing required for runtime changes.
  • Observability: Multi-format metrics, structured logging, per-connection access logs.

Protocol Support

ProtocolModeDescription
TCPFull proxyBidirectional streaming, connection tracking
UDPSession-basedPer-client session affinity, idle timeout
TCP+UDPDualBoth protocols on the same port range

Security Layers

LayerMechanismScope
1Global ACLBlock/allowed CIDRs before any proxy
2Per-Proxy ACLFine-grained per-service rules
3iptables Rate LimitingPPS, SYN flood, RST flood, connlimit
4L7 Payload InspectionProtocol validation for game traffic
5Behavioral ScoringPer-IP threat scoring → auto-ban
6Connection Cycling DetectionRapid open/close abuse
7Payload Rate LimitingPer-IP byte rate enforcement
8Bandwidth QuotasHourly/daily/weekly/monthly limits