Articles on: ggRock

⚕️ ggRock Remote Access (Static IP) Configuration

Configuring a static IP address on your Debian-based ggRock server is essential for consistent network communication and remote access. Here's a streamlined guide to set it up:


  1. Access the Server:


  • Log in as the root user using the password established during the Debian OS installation.


  1. Backup Current Network Configuration:


  • Create a backup of the existing network interfaces file:


  cp /etc/network/interfaces /etc/network/interfaces.bak


  1. Edit Network Interfaces File:


  • Open the network configuration file with a text editor:


  nano /etc/network/interfaces
  • Locate the section for your primary network interface. It might look like:


  auto vmbr0
iface vmbr0 inet dhcp
  • Modify it to set a static IP address:


  auto vmbr0
iface vmbr0 inet static
address 192.168.1.66
netmask 255.255.255.0
gateway 192.168.1.1
  • Replace 192.168.1.66 with your desired static IP address.
  • Ensure the netmask matches your network's subnet mask.
  • Set the gateway to your network's router IP address.


  1. Configure DNS Settings:


  • Backup the current DNS configuration:


  cp /etc/resolv.conf /etc/resolv.conf.bak


  nano /etc/resolv.conf
  • Replace its contents with:


  nameserver 8.8.8.8
nameserver 8.8.4.4


These are Google's public DNS servers; adjust if you have preferred DNS servers.


  1. Apply Changes:


  • Reboot the server to implement the new network settings:


  reboot


  1. Update ggRock Configuration (If IP Address Changed):


  • If you've altered the server's IP address, rerun the ggRock configuration utility:


  ggrock-linux-configurator
  • Follow the on-screen prompts to complete the reconfiguration.


By following these steps, your ggRock server will have a consistent static IP address, facilitating reliable remote access and network stability.

Updated on: 10/12/2025

Was this article helpful?

Share your feedback

Cancel

Thank you!