Docs / Game Servers / Rust Game Server with Oxide Mod Support

Rust Game Server with Oxide Mod Support

By Admin · Jan 25, 2026 · Updated Apr 23, 2026 · 5 views · 3 min read

This guide covers how to set up and configure rust-game on a Linux VPS. Whether you're running a production environment or a development setup, these instructions will help you get started quickly and securely.

Server Installation

The rust-game configuration requires careful attention to resource limits and security settings. On a VPS with limited resources, it's important to tune these parameters according to your available RAM and CPU cores.


# Create a dedicated game server user
sudo useradd -m -s /bin/bash gameserver
sudo su - gameserver

# Install SteamCMD
mkdir -p ~/steamcmd && cd ~/steamcmd
curl -sqL "https://steamcdn-a.akamaihd.net/client/installer/steamcmd_linux.tar.gz" | tar zxvf -

# Install the game server
./steamcmd.sh +force_install_dir ~/servers/rust-game +login anonymous +app_update 1234567 validate +quit

Make sure to restart the service after applying these changes. Some settings require a full restart rather than a reload to take effect.

Advanced Settings

Before making changes to the configuration, always create a backup of the existing files. This ensures you can quickly roll back if something goes wrong during the setup process.

  • Use version control for configuration files
  • Set up monitoring before going to production
  • Maintain runbooks for common operations
  • Document all configuration changes
  • Test disaster recovery procedures regularly

Configuration File Setup

Security should be a primary consideration when configuring rust-game. Always use strong passwords, keep software updated, and restrict network access to only the necessary ports and IP addresses.


# Server configuration file
[Server]
ServerName=My rust-game Server
MaxPlayers=32
ServerPort=27015
Password=
AdminPassword=changeme
SaveInterval=300

These commands should be run as root or with sudo privileges. If you're using a non-root user, prefix each command with sudo.

Performance Considerations

It's recommended to test this configuration in a staging environment before deploying to production. This helps identify potential compatibility issues and allows you to benchmark performance differences.

Firewall and Port Configuration

Security should be a primary consideration when configuring rust-game. Always use strong passwords, keep software updated, and restrict network access to only the necessary ports and IP addresses.


# Create systemd service for auto-start
sudo tee /etc/systemd/system/rust-game.service << 'EOF'
[Unit]
Description=rust-game Dedicated Server
After=network.target

[Service]
User=gameserver
WorkingDirectory=/home/gameserver/servers/rust-game
ExecStart=/home/gameserver/servers/rust-game/start.sh
Restart=on-failure
RestartSec=10

[Install]
WantedBy=multi-user.target
EOF

sudo systemctl daemon-reload
sudo systemctl enable rust-game
sudo systemctl start rust-game

Make sure to restart the service after applying these changes. Some settings require a full restart rather than a reload to take effect.

Performance Optimization

It's recommended to test this configuration in a staging environment before deploying to production. This helps identify potential compatibility issues and allows you to benchmark performance differences.


# Create a dedicated game server user
sudo useradd -m -s /bin/bash gameserver
sudo su - gameserver

# Install SteamCMD
mkdir -p ~/steamcmd && cd ~/steamcmd
curl -sqL "https://steamcdn-a.akamaihd.net/client/installer/steamcmd_linux.tar.gz" | tar zxvf -

# Install the game server
./steamcmd.sh +force_install_dir ~/servers/rust-game +login anonymous +app_update 1234567 validate +quit

Make sure to restart the service after applying these changes. Some settings require a full restart rather than a reload to take effect.

Next Steps

With rust-game now set up and running, consider implementing monitoring to track performance metrics over time. Regularly review your configuration as your workload changes and scale resources accordingly.

Was this article helpful?