left4me: drop +sv_lan 0 from srcds ExecStart
The original LAN-mode rejection turned out to be a downstream cascade
from Steam SDK init failure (.steam dir invisible + cpu.cpp assert
on hidden /proc/cpuinfo) — fixed in subsequent commits by binding
/var/lib/left4me/.steam + /opt/left4me/steam back through
TemporaryFileSystem and dropping ProcSubset=pid. With Steam master-
server registration now succeeding ("Connection to Steam servers
successful. VAC secure mode is activated."), the server defaults to
internet mode (sv_lan=0) on its own.
Drop the explicit override. If LAN-mode rejection ever recurs the
fix is to identify the upstream Steam-registration issue, not to
re-set this cvar.
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
This commit is contained in:
parent
4339289bad
commit
9a4e184378
1 changed files with 1 additions and 5 deletions
|
|
@ -378,11 +378,7 @@ def systemd_units(metadata):
|
||||||
# without this, Source auto-selects the primary IP and the web
|
# without this, Source auto-selects the primary IP and the web
|
||||||
# app's 127.0.0.1 RCON connect gets ECONNREFUSED. External TCP
|
# app's 127.0.0.1 RCON connect gets ECONNREFUSED. External TCP
|
||||||
# on the game port range is firewall-blocked in nftables_input.
|
# on the game port range is firewall-blocked in nftables_input.
|
||||||
# +sv_lan 0 is required alongside +ip 0.0.0.0 — when the bind
|
'ExecStart': '/var/lib/left4me/runtime/%i/merged/srcds_run -game left4dead2 +ip 0.0.0.0 +hostport ${L4D2_PORT} $L4D2_ARGS',
|
||||||
# IP is wildcard, Source can't auto-detect "public server" and
|
|
||||||
# falls into LAN mode, rejecting non-RFC1918 clients with
|
|
||||||
# "LAN servers are restricted to local clients (class C)".
|
|
||||||
'ExecStart': '/var/lib/left4me/runtime/%i/merged/srcds_run -game left4dead2 +ip 0.0.0.0 +sv_lan 0 +hostport ${L4D2_PORT} $L4D2_ARGS',
|
|
||||||
'ExecStopPost': '+/usr/bin/nsenter --mount=/proc/1/ns/mnt -- /usr/local/libexec/left4me/left4me-overlay umount %i',
|
'ExecStopPost': '+/usr/bin/nsenter --mount=/proc/1/ns/mnt -- /usr/local/libexec/left4me/left4me-overlay umount %i',
|
||||||
'Restart': 'on-failure',
|
'Restart': 'on-failure',
|
||||||
'RestartSec': '5',
|
'RestartSec': '5',
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue