nixos/ports.toml
ediblerope 611ed162c3 ports: forward UDP/2603 to fix DR XP reports
DR_Server binds UDP/2603 in addition to TCP/2603 — that's where the
DSOUND.dll mod's NAT-punched XP-report socket sends client kill XP
back to the server (see ChatCommandHandler.cs / [DLL XP REPORT] path
in the source). The original forward was tcp-only, so every WAN
client's UDP XP packet was dropped at the router. Symptom: every
character stuck at lvl 1/xp 0 regardless of how the client launched.

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
2026-05-09 19:29:11 +01:00

66 lines
1.1 KiB
TOML

# ports.toml — WAN → LAN port forwards for the router (services/router.nix)
#
# Each [[forward]] block adds a DNAT rule from WAN to the LAN IP below.
# Fields:
# name — human label, appears in journal logs
# port — single port (number), e.g. 443
# ports — port range as a string, e.g. "26901-26902"
# protocol — "tcp", "udp", or "both"
# dest — LAN IP to forward to (optional; defaults to 10.0.0.1)
dest_default = "10.0.0.1"
[[forward]]
name = "HTTP"
port = 80
protocol = "tcp"
[[forward]]
name = "HTTPS"
port = 443
protocol = "tcp"
[[forward]]
name = "SSH"
port = 22
protocol = "tcp"
[[forward]]
name = "7DTD game"
port = 26900
protocol = "both"
[[forward]]
name = "7DTD voice/dynamic"
ports = "26901-26902"
protocol = "udp"
[[forward]]
name = "7DTD-coop game"
port = 26910
protocol = "both"
[[forward]]
name = "7DTD-coop voice/dynamic"
ports = "26911-26912"
protocol = "udp"
[[forward]]
name = "DR auth"
port = 2110
protocol = "tcp"
[[forward]]
name = "DR game"
port = 2603
protocol = "both"
[[forward]]
name = "DR aux UDP"
ports = "2604-2605"
protocol = "udp"
[[forward]]
name = "DR queue"
port = 2606
protocol = "tcp"