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

CL_HIDESERVERIP

CS:GO

Description

This console command is used to hide the IP of your server in your console. This is particularly useful if you're streaming and don't want viewers to be able to catch your IP address, giving them the chance the DDoS the server.

Syntax

cl_hideserverip [0 / 1]

Arguments

0 / 1 Use a 1 after this command to activate the hide IP command, and a 0 to turn the command off. Using the command "status" will still show the IP, though.

Related commands

mp_autokick
This command sets whether or not the auto kick feature should be enabled. The auto kick feature kicks people for being idle (AFK) and team damage. Default is 1 (enabled).
banid
This command will ban the user with the specified ID from the server, and add them to the banlist so that they cannot reconnect. The user ID of a user can be obtained by typing status into the console: the user ID is first number before a player's name in the list of players that is printed by that command.
sv_maxvelocity
This command sets the maximum speed any moving object in the game can reach. Default is 3500. Use sv_maxspeed for player speed.
changelevel
This command is used to change the map you're playing on.
rcon
This command will issue the specified rcon command (i.e. issues the specified command on your server). Rcon means remote console - it allows you to execute server commands from the client.
rcon_address
The IP address of the remote console you wish to connect to (default is the address of your own server). Change this only if the rcon address for the server you are connected to is different from the server's IP.
rcon_password
This command will authenticate you for rcon with the specified password.
sv_noclipspeed
This command sets the speed multiplier for noclip mode. With this set to 5 (default) you can reach speeds 5 times as fast as those set by sv_maxspeed.