Directly connecting to overseas game servers often results in a baseline ping of 150ms or higher, with packet loss rates during peak evening hours that can be incredibly frustrating. In FPS games, latency exceeding 150ms causes noticeable lag, and physical distance imposes an inherent latency bottleneck when connecting directly from within China to overseas servers.
There are two ways to address this: either move the server closer to you or insert an intermediary relay node to route data packets along a "smarter" path. Building your own game accelerator follows the latter approach. It does not alter your local internet speed; instead, it routes data packets away from congested public backbone networks onto an optimized path, sending them directly from the relay node to the game server's location.
This article is designed for Jtti Help Center users and provides a comprehensive guide to building a game accelerator, covering everything from node selection and VPS choice to WireGuard setup and configuration.
Choosing an Accelerator Node: Hong Kong and Japan Are the Best Options
Hong Kong nodes are the top choice for low latency. The direct distance between Hong Kong and the Chinese mainland is just over 1,000 kilometers, resulting in theoretically minimal round-trip latency for optical signals. The most critical factor for Hong Kong data centers is the network route type: CN2 GIA utilizes China Telecom’s premium nodes (specifically those starting with 59.43) for the entire journey, bypassing the congested nodes of the standard "163" public network; it represents the highest-quality return route available. In contrast, CN2 GT offers only "partial high-speed" performance—using CN2 for the outbound leg but switching back to the 163 network for the return leg—which results in significantly inferior performance.
Japan nodes are the second-best choice for players in East Asia. The physical distance from Tokyo, Japan, to China's coastal regions is approximately 2,000 kilometers, resulting in latency far lower than connections to the US or Europe. Jtti’s Tokyo data center consistently maintains a ping of around 50ms for China's coastal regions, while inland areas see stable latency between 70ms and 90ms.
Configuration Recommendations: For the VPS, a setup with a 2-core CPU, 2–4GB of RAM, and at least 5Mbps of dedicated bandwidth is recommended. Game acceleration is sensitive to single-stream latency, so a higher clock speed is preferable to a higher core count. Ubuntu 22.04 LTS or Debian 12 is recommended as the operating system. Practical Setup: Building an Acceleration Node with WireGuard
The following is a field-tested, lightweight acceleration solution. The goal is to route game traffic through a VPS to the target game server.
Step 1: Basic System Optimization
After connecting to the VPS via SSH, first tune the kernel parameters for high-speed packet forwarding:
vim /etc/sysctl.d/99-game-optimize.conf
Paste the following content:
Enable IP forwarding (required for NAT)
net.ipv4.ip_forward=1
Increase buffer sizes
net.core.rmem_max=16777216
net.core.wmem_max=16777216
net.ipv4.tcp_rmem=4096 87380 16777216
net.ipv4.tcp_wmem=4096 65536 16777216
Enable BBR congestion control (to reduce packet loss)
net.core.default_qdisc=fq
net.ipv4.tcp_congestion_control=bbr
Save the file and run `sysctl -p /etc/sysctl.d/99-game-optimize.conf` to apply the changes. Step 2: Install WireGuard and generate keys
apt update && apt install wireguard netfilter-persistent -y
cd /etc/wireguard
umask 077
wg genkey | tee privatekey | wg pubkey > publickey
Step 3: Create the WireGuard configuration file
Create `/etc/wireguard/wg0.conf`:
ini
[Interface]
Address=10.0.0.1/24
ListenPort=51820
PrivateKey=<Your Private Key>
PostUp=iptables -A FORWARD -i wg0 -j ACCEPT
PostUp=iptables -t nat -A POSTROUTING -o eth0 -j MASQUERADE
PostDown=iptables -D FORWARD -i wg0 -j ACCEPT
PostDown=iptables -t nat -D POSTROUTING -o eth0 -j MASQUERADE
[Peer]
PublicKey=<Client's Public Key>
AllowedIPs=10.0.0.2/32
Note: Replace `eth0` with your actual network interface name; you can check this using `ip addr`.
Step 4: Start WireGuard and configure the firewall
wg-quick up wg0
systemctl enable wg-quick@wg0
ufw allow 51820/udp
Step 5: Client connection
Install the WireGuard client on your local computer and import the configuration file. Key client configuration steps: enter the server's public key, enter the VPS public IP and port (e.g., `123.45.67.89:51820`), and set `AllowedIPs` to `0.0.0.0/0` for global proxying. If you only want to accelerate gaming, you can set `AllowedIPs` to the game server's IP range to avoid slowing down non-gaming applications.
Advanced optimization: Take acceleration to the next level
Enable UDP fast forwarding. Enable the BBR congestion control algorithm on the VPS to effectively reduce packet loss. For game UDP traffic, tools like udpspeeder can be used to mitigate the impact of packet loss through techniques such as packet duplication and Forward Error Correction (FEC).
Adjust the MTU value. Improper MTU settings can cause packet fragmentation and increase latency. You can determine the optimal MTU value using the command `ping -M do -s [size]` and then configure it within WireGuard.
Implement QoS traffic prioritization. If multiple services are running on the server, enable QoS policies to prioritize game traffic, preventing latency or packet loss caused by concurrent traffic conflicts.
Monitor link quality. Use tools like PingPlotter or MTR to analyze link quality in real-time and regularly monitor latency and packet loss rates.
Jtti VPS: A Reliable Foundation for Self-Hosted Game Acceleration
Performance bottlenecks in self-hosted acceleration nodes almost always lie in the network connection. Packet loss rates on standard international lines can spike above 5% during evening peak hours, whereas CN2 GIA lines keep this figure below 0.5%. Rather than over-specifying CPU and RAM, it is more effective to allocate your budget toward improving network connectivity.
Jtti’s Hong Kong nodes feature CN2 GIA direct connectivity across all three major carriers: China Telecom uses CN2, China Unicom uses AS4837, and China Mobile uses CMI; actual tests show average latency between 40ms and 63ms nationwide. Jtti’s Japan nodes utilize optimized bandwidth and direct connections via networks like AS4837 and CMI, resulting in near-zero packet loss during peak hours and latency that is 30–60ms lower than standard Japan VPS offerings.
All plans come with dedicated bandwidth as standard, eliminating issues with "noisy neighbors" competing for resources; 5Mbps of dedicated bandwidth is sufficient to stably handle game UDP packet forwarding. Jtti offers a full range of plans from entry-level to high-performance, and a "same-price renewal" policy ensures that the renewal cost matches the initial purchase price, allowing for predictable long-term operating costs amidst the 2026 price hike cycle.
The core logic behind a self-hosted accelerator is to replace shared routing with dedicated links and replace uncontrollable public nodes with controllable private ones. Visit the Jtti official website to view full specifications and test IPs for Hong Kong CN2 and Japan optimized-bandwidth cloud servers.