Exclusive Metin2 game shield on FreeBSD: Automatic siege mode, VIP list, and whitelist from your dashboard. See how it works
Create a server
Xernode/ Blog/#networking

Blog

#networking

Posts tagged with “networking”.

How to Configure IPv6 on Your VPS

  • Xernode
  • 4-minute read
  • linux

More and more users and mobile networks are connecting via IPv6. If your VPS only has IPv4, they can still access your website, but through their carrier’s gateways, which may introduce latency. In this guide, you’ll check whether your VPS already has IPv6, configure it if it’s missing, and verify that your firewall, website, and DNS are set up for the new address.

… Read the complete guide

How to Tell If Your Game Server's Lag Is Caused by the Network or the CPU

  • Xernode
  • 3-minute read
  • performance

Players call everything “lag”: stuttering, teleportation, commands that take a while to respond. But a server that can’t process its tick and a network path that loses packets require different solutions, and using more CPU power won’t fix a bad network path. With three tests, you’ll know which one applies to you.

Quick Tip: Who Is Affected by Lag?

… Read the complete guide

How to Set Up Failover IP in Linux

  • Xernode
  • 1-minute read
  • linux

A Failover (floating/additional) IP lets you move a service between hosts. On modern Ubuntu you declare it in netplan.

Steps

  1. List interfaces and current netplan config:

    ip -br addr
    ls /etc/netplan/
    sudo cat /etc/netplan/*.yaml
  2. Add the extra IP on the primary NIC (example — replace names/addresses):

… Read the complete guide

How to Install and Use wget and curl

  • Xernode
  • 1-minute read
  • linux

wget and curl fetch files and talk to APIs from the shell. On a VPS you will use them for ISOs, scripts, health checks and HTTP debugging.

Steps

  1. Install both tools (Ubuntu/Debian):

    sudo apt update
    sudo apt install -y wget curl
  2. Download a file with wget (follows redirects, shows progress):

… Read the complete guide

How to Install and Use lsof

  • Xernode
  • 1-minute read
  • linux

lsof (list open files) shows which process holds a file or a port. Perfect when a service fails to start because the port is already taken.

Steps

  1. Install lsof:

    sudo apt update
    sudo apt install -y lsof
  2. Who is listening on port 80?

    sudo lsof -iTCP:80 -sTCP:LISTEN

Tips

… Read the complete guide

How to Install and Use netstat

  • Xernode
  • 1-minute read
  • linux

etstat lists sockets and connections. On recent Ubuntu the recommended tool is ss (from iproute2); both show which ports are open.

Steps

  1. Install net-tools (netstat) if you need it; ss is usually already there:

    sudo apt update
    sudo apt install -y net-tools iproute2
  2. TCP/UDP listeners with netstat:

… Read the complete guide

How to Set a Static IP on Ubuntu

  • Xernode
  • 1-minute read
  • ubuntu

On a cloud VPS the IP often comes via hypervisor DHCP. If you must pin it in the guest (labs, templates), netplan is the path on modern Ubuntu.

Steps

  1. Check the interface and current config:

    ip -br a
    ls /etc/netplan/
  2. Edit the netplan YAML (example — match names/IPs to your panel):

… Read the complete guide