net_public_adr Command

Explore usage, syntax, and examples for the net_public_adr CS2 developer console command.

net_public_adr

CS2 and CSGO

Command

net_public_adr

<IP Address>

Sets the server's public IP address used for NAT or DHCP configurations.

<IP Address>

Enter the server's public IP address.

sv_cheats Required

No

Client or Server Command

Client

Server

Default Value

0

net_public_adr Generator

Command

net_public_adr

<IP Address>
0/1 Arguments Selected

Set the options below to auto-generate your command. When everything looks good, click the Copy button and paste it into your in-game console.

net_public_adr Examples

Command

net_public_adr

123.123.123.123

Sets the server's public IP address to 123.123.123.123.