Go to file
onyx-and-iris c2266ac9d9 target host is now configurable.
stale session timeout default value increased
2024-11-29 04:33:47 +00:00
.vscode fix path 2024-01-27 17:03:50 +00:00
cmd/q3rcon-proxy target host is now configurable. 2024-11-29 04:33:47 +00:00
debian add example debian unit file 2024-03-24 12:31:04 +00:00
pkg/udpproxy target host is now configurable. 2024-11-29 04:33:47 +00:00
.dockerignore add .dockerignore 2024-11-12 10:12:36 +00:00
.gitignore target host is now configurable. 2024-11-29 04:33:47 +00:00
CHANGELOG.md upd changelog 2024-03-21 08:42:58 +00:00
Dockerfile upd comment 2024-10-19 22:01:47 +01:00
go.mod add logrus dependency 2024-03-08 02:29:40 +00:00
go.sum add logrus dependency 2024-03-08 02:29:40 +00:00
LICENSE Create LICENSE 2024-01-25 18:03:56 -06:00
Makefile upd makefile 2024-01-27 14:46:50 +00:00
README.md add link to q3rcon client 2024-11-29 04:29:18 +00:00

Q3 Rcon Proxy

A modification of lilproxy that forwards only Q3 rcon/query packets. Useful for separating the rcon port from the game server port.

Why

Unfortunately the Q3Rcon engine ties the rcon port to the game servers public port used for client connections. This proxy will allow you to run rcon through a separate whitelisted port.

Use

Run one or multiple rcon proxies by setting an environment variable Q3RCON_TARGET_PORTS

for example:

export Q3RCON_TARGET_PORTS="20000:28960;20001:28961;20002:28962"

This would configure q3rcon-proxy to run 3 proxy servers listening on ports 20000, 20001 and 20002 that redirect rcon requests to game servers on ports 28960, 28961 and 28962 respectively.

Then just run the binary which you can compile yourself, download from Releases or use the included Dockerfile.

Logging

Set the log level with environment variable Q3RCON_LOGLEVEL:

0 = Panic, 1 = Fatal, 2 = Error, 3 = Warning, 4 = Info, 5 = Debug, 6 = Trace

Special Thanks

Dylan For writing lilproxy.

Further Notes

For a compatible rcon client also written in Go consider checking out the Q3 Rcon package.