All projects

game-tun

In progress

GameTunnel, my own UDP transport for Xray-core, built for games and streaming where every millisecond counts. Encrypted, with traffic that looks like standard QUIC.

game-tun uuidgame-tun run -test -c /etc/game-tun.jsonsudo systemctl enable --now game-tun
game-tun has no user interface; these are the commands to run it.

What's inside

  • UDP instead of TCP: no head-of-line blocking, minimal latency
  • ChaCha20-Poly1305 encryption, Curve25519 key exchange with forward secrecy and a pre-shared key
  • Packets shaped like QUIC, with padding to mask their size
  • Server chaining and a web server fallback on the same port
  • A single-file configurator that generates matching server and client configs