server.maxconnectionsperip (Rust server ConVar)

server.maxconnectionsperip caps game connections from one IP on a Rust server (default 5). Shared IPs, the RCON and Rust+ limits, and how to set it.

Last updated Verified on Rust build 25582902, 2026-09-28

Kind
Variable
Value on build 25582902
5
Server help text
(Generated) Maximum number of simultaneous connections allowed from the same IP address; helps mitigate connection-flooding attacks (clamped 1 - 1000)
Applies
Immediately (runtime)
Persists in
server.cfg
Vanilla Rust
Yes, native
Example
server.maxconnectionsperip 10

Gotchas

  • Players behind one router or carrier grade NAT share an IP, so the default of 5 can block a group playing from one place.
  • The help text says values are clamped to 1 through 1000.
  • It limits game connections only. RCON has rcon.maxconnectionsperip and Rust+ has app.maxconnectionsperip.
  • The serverauto.cfg our test server wrote has no line for it, so server.writecfg does not appear to save it. Keep it in server.cfg.

server.maxconnectionsperip caps how many game connections the server accepts from a single IP address at the same time. The server's help text (marked "Generated" by Facepunch):

Maximum number of simultaneous connections allowed from the same IP address; helps mitigate connection-flooding attacks (clamped 1 - 1000)

On build 25582902 the value was 5. The help text says values are clamped to 1 through 1000.

Who hits the limit

Anyone whose players share a public IP address:

  • Several people playing from one home, dorm or office behind one router.
  • A LAN event or internet cafe.
  • Players whose ISP puts many customers behind one address (carrier grade NAT).

The sixth simultaneous connection from such an address is over the limit at the default. If you run events like that, raise the value for the event. It is a flood protection, so leaving it very high on a public server gives up some of that protection.

Three per IP limits, three ConVars

ConVarValue on 25582902Limits
server.maxconnectionsperip5Game connections (players)
rcon.maxconnectionsperip5RCON connections
app.maxconnectionsperip10Rust+ companion app connections

They are independent. An RCON tool that opens many sockets from one address counts against the RCON limit, not the player limit. The RCON help text says -1 disables its limit and that a change "Requires server restart"; the game limit's help text says neither.

Setting it

server.maxconnectionsperip 10

Unlike the RCON limit, its help text does not mention a restart, and it can be set over RCON. We have not tested whether a lower value disconnects players who are already connected.

Put the line in server.cfg so it survives a restart. The serverauto.cfg our test server wrote has no line for it, so server.writecfg does not appear to save it.

In Panelra

Add it under Settings, Custom ConVars. Panelra writes it to server.cfg and runs server.readcfg; the panel marks the entry if the server cannot read the name back.

Set it in Panelra

Change server.maxconnectionsperip from the dashboard instead of editing files over SSH.

Player management and bans

Frequently asked questions

Why can only some of my friends join from the same house?
Players behind one router share one public IP, and server.maxconnectionsperip caps how many game connections one IP may hold at the same time. The value was 5 on our test server. Raise it if more players than that share an address.
Does server.maxconnectionsperip limit RCON connections?
No. RCON has its own limit, rcon.maxconnectionsperip (5 on our server, -1 disables it, and its help text says a change needs a server restart). The Rust+ companion server has app.maxconnectionsperip (10).
  • rcon.maxconnectionsperipTotal number of allowed connections to RCON server, on a single IP. -1 to disable behaviour. Requires server restart after changes
  • app.maxconnectionsperip(Generated) Maximum simultaneous connections from the same IP address; prevents a single host from consuming all connection slots
  • server.maxplayers(Generated) Maximum number of players allowed on the server at the same time
  • server.authtimeout(Generated) Seconds an incoming connection has to complete authentication (Steam + EAC) before being forcibly disconnected
  • server.ipqueriespermin(Generated) Maximum number of Steam server browser queries allowed per minute from a single IP address

Skip the manual work: install the Panelra agent

Wipes, updates, restarts, plugins and crash alerts for your Rust servers, from one dashboard. One install command on your Linux host, no inbound ports for the agent.

Free during the open beta. Pricing will be announced before the beta ends.