NB! It seems this console command is not compatible with CS2.
Command Profile

NET_STEAMCNX_ALLOWRELAY

CS:GO

This command will set whether or not steam connections are allowed to attempt to use relay servers as fallback. Default is 1 (enabled).

Syntax
net_steamcnx_allowrelay [0 / 1]

Description

This command will set whether or not steam connections are allowed to attempt to use relay servers as fallback. Default is 1 (enabled).

How To Use net_steamcnx_allowrelay

  1. Enable the developer console in Counter-Strike settings.
  2. Open the console with the tilde key (~).
  3. Enter net_steamcnx_allowrelay [0 / 1], replacing bracketed arguments with the value you want, then press Enter.

This legacy command is not currently listed as compatible with Counter-Strike 2.

Syntax And Arguments

net_steamcnx_allowrelay [0 / 1]
0 / 1 Enter 0 to disallow. Enter 1 to allow (default).

Related Commands