DDoS protection for Ragnarok Online servers

rAthena counts connections inside the emulator; a flood that fills the network port never gets that far. Every Clouduxe plan puts Prism, our XDP/eBPF filter, in front of your server at the network driver, with port rules for 6900, 6121, 5121 and 8888. This page says exactly what each layer does, and what we do not claim.

Ports to open
TCP 6900, 6121, 5121, 8888
Filtered at
The driver of the host's 25 Gbit/s card, before your 1 Gbit/s port
Checks
Layer 3 and layer 4, plus the port rules you write
One-click preset
None: one rule per port
Reading Ragnarok packets
Not claimed
What it costs
Included on every plan

Why Ragnarok servers get flooded. A private server's address is public by design, and its busiest moments are announced in advance.

The opening

Owners post the opening date, time and rates on listing sites in advance. Anyone who wants a new server to fail knows exactly when to hit it.

Rival servers

Ragnarok players move between servers with similar rates. A flood during a rival's peak hours is a cheap way to push its players elsewhere.

Banned players

A ban leaves someone with a grudge and your address. The login port is the first thing they will try.

What rAthena's own protection does. It counts connections and failed logins per address, inside the emulator.

rAthena's built-in connection and login limits, as shipped
SettingAs shippedWhat it does
enable_ip_rulesyesTurns on the address rules, and with them the connection counting below.
ddos_interval3000The window, in milliseconds: 3 seconds.
ddos_count5Connection attempts from one address inside that window before it is treated as an attack.
ddos_autoreset600000How long the restriction lasts, in milliseconds: 10 minutes.
ipban_dynamic_pass_failure_banyesBans an address after 7 failed logins within 5 minutes, for 5 minutes. Needs log_login on.

Where it helps

One address hammering the login server, or guessing passwords, gets refused or banned without you lifting a finger. Keep both on.

Where it stops

The counting happens after a packet has crossed the network and reached the emulator. A flood that fills the server's port is over before rAthena sees a single connection, and many addresses each under the limit all pass.

In front of the emulator: the same filter as every plan. Prism runs at the network driver of the host, before traffic reaches your server's port.

  • Dropped before your port fills

    Floods too big for the link are absorbed upstream. What is left meets Prism at the driver of the host's 25 Gbit/s network card, which drops a flood before it can fill your 1 Gbit/s port.

  • Layer 3: the address

    Blocked sources and malformed packets, at the lowest possible cost.

  • Layer 4: the transport

    Spoofed and stateless floods, and traffic above the ceilings on your port rules. On TCP rules such as 6900, 6121 and 5121, the TCP fingerprint engine also runs: drops SYNs whose TCP stack fingerprint looks forged.

  • Only the ports you open

    Add a rule for each of 6900, 6121, 5121 and 8888 on the Firewall tab. The database on 3306 stays private because MariaDB is bound to localhost. Setting "Default for unlisted ports" to Deny all in the panel closes everything you did not add a rule for. Port rules

  • A record of what was dropped

    The Attacks tab shows each attack, and Address lookup tells you whether one address was dropped and by which check. Attack analytics

Players'clientsYour serverLogin6900Character6121Map5121Web8888Database3306From outside:refusedlocalhost only

Behind a proxy, every player has the same address. Then rAthena's connection counting trips on the proxy itself, unless you tell it not to.

  • What goes wrong

    A proxy in front of rAthena opens every player's connection from its own address. At opening, a handful of players joining a second or two apart look like one address flooding, and rAthena refuses the proxy for 10 minutes: everyone is locked out.

  • The fix

    Add the proxy's address range to an allow: line in packet_athena.conf. rAthena accepts connections from an allowed range even when they are flagged as an attack.

  • Or skip the proxy

    On Clouduxe the filter works on the server's own address, so players connect straight to it and rAthena sees their real addresses.

conf/import/packet_conf.txt

// Accept the proxy even when it trips ddos_count
allow: <your proxy's address range>

Put local changes in the import folder, which rAthena reads after the main file, so updates never overwrite them.

Before the opening. Four things that decide whether opening day is about the game or about the attack.

  1. 1

    Patch first

    CVE-2025-58447 crashes the login server with one packet, before anyone logs in. Build from a commit after 2f5248b.

  2. 2

    Rules before the address

    Write the port rules for 6900, 6121, 5121 and 8888 before you post the server anywhere.

  3. 3

    Size for the peak

    A rule tighter than your opening hour drops players and looks exactly like an attack. Watch the first hour on the Attacks tab.

  4. 4

    Change the defaults

    The s1 and p1 inter-server login and the ragnarok database login ship in every stock config.

What we do not claim. So you can compare this page with any other host's on equal terms.

  • No reading of Ragnarok packets

    rAthena obfuscates its packets by default on modern clients, and anti-cheat tools add their own encryption. A Ragnarok-specific check has not been tested against either, so none is claimed here.

  • No promise that every attack fails

    The filter drops what it can identify. No host can promise more, and a host that does is guessing.

  • No one-click preset

    No game preset is listed for Ragnarok. You add one rule per port, which takes a minute. Then set "Default for unlisted ports" to Deny all so everything you did not add a rule for is closed.

  • No ping figures

    None has been measured from Southeast Asian networks to our servers, so none is quoted.

Ragnarok Online protection questions

Can rAthena's ddos settings stop a real attack?

They stop one address opening connections too fast. The conf comment says 5 in 3 seconds, but the code flags around the 6th or 7th fast connection, and the login, char and map server processes each count on their own. They cannot stop a flood that fills the network port, because that traffic never reaches the emulator, and they count per address, so many addresses each staying under the limit pass. Keep them on, with a network filter in front.

Should I change the default ports?

You can, but it hides nothing from anyone who has your client, because every client has to know the login address and port. A new number only keeps out blind scans. If you change one, change the firewall rule with it.

How do I hide my server IP?

From players, you cannot: the login server hands every client the character and map addresses set in char_ip and map_ip. A proxy in front can keep the server's own address private, at the cost of an extra hop and the allow-list step on this page. The filter here works on the server's own address, with no proxy needed.

Will protection drop real players?

It can, when a rule is tighter than your busiest hour. Address lookup on the Attacks tab names the check that dropped a player, so you can loosen that one rule rather than switch protection off.

Does Gepard Shield protect against DDoS?

No. Gepard Shield is client anti-cheat: it guards the game client, and does nothing about a flood that fills the network port before any packet reaches your server.

Does the filter look inside Ragnarok packets?

We make no such claim. It judges addresses, transport behaviour and your port rules. Packet obfuscation and anti-cheat encryption change what Ragnarok packets look like on the wire, and we have not tested a Ragnarok-specific check against them, so we make no claim for one.

The filter comes with the server.

Every plan, every region, nothing to add at checkout. For Ragnarok, start on VPS Mini in Singapore.