Rust

Rust uses UDP for both the main game port and the query port. Swarm Hosts assigns both values dynamically and writes them back into the container environment so the server binds to the reserved ports directly.

Basics you should know

  • Default protocol: UDP
  • Typical ports: 28015/udp for game traffic and 28016/udp for queries
  • Persistent data: /steamcmd/rust
  • Save path: /steamcmd/rust/server/<RUST_SERVER_IDENTITY>
  • First boot behavior: world generation can take a long time on a fresh save, especially with larger world sizes. Leave the deployment in its starting state until Rust finishes generating and publishing the map.

1) Open Launch. 2) Choose Rust. 3) Set RUST_SERVER_NAME, RUST_SERVER_IDENTITY, RUST_SERVER_MAXPLAYERS, RUST_SERVER_WORLDSIZE, and RUST_SERVER_SEED. 4) Leave RUST_RCON_WEB=0 unless you intentionally plan to expose and manage RCON separately. 5) Rust+ companion app traffic is disabled by default in the shared wrapper image. Only enable extra companion-app ports if you intentionally plan to expose and manage them. 6) Click Launch.

Common paths

  • Server identity root: /steamcmd/rust/server/<RUST_SERVER_IDENTITY>
  • Config: /steamcmd/rust/server/<RUST_SERVER_IDENTITY>/cfg
  • Logs / generated content: under /steamcmd/rust

Player connection info

Players can connect from the Rust client console with:

client.connect <HOST_PUBLIC_IP>:<GAME_PORT>