net_public_adr Command


net_public_adr [IP Address]

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

Arguments


Arguments are parameters that you add to a command. Find information about this command's arguments below.

IP AddressThe public IP address of the server.

Extra Info

Sv_cheats Required? No
Client or Server Command? Both
Default Value 0

net_public_adr Examples


Find below working examples of this command (copy and paste into console).


net_public_adr 123.123.123.123

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