CS2 & CS:GO net_public_adr Command

CS:GO & CS2 Compatible
net_public_adr <IP Address>

This command sets the public IP of the server (NAT/DHCP).

Argument Information

The syntax for this command is as follows:
Name Description
IP Address

The public IP address of the server.

Extra Information

Find additional information relating to this command below.
sv_cheats Required
No
Client or Server Command
Both
Default Value
0
Total CS is the home of CS2 commands We boast the only complete, up-to-date database of all CS2 console commands. View All CS2 Commands
CS2 player
Ad

Command Generator

Adjust the settings below to automatically generate a command. Once you've got everything right, hit the Copy button and paste it into the console in CS:GO.

net_public_adr <IP Address>
0/1 arguments filled
IP Address

net_public_adr Examples

net_public_adr 123.123.123.123

This command sets the public IP address of the server to 123.123.123.123.