Skip to content

Docs /

FiveM

FiveM uses port 30120 for both UDP and TCP. Today it runs on the generic UDP+TCP profile; a tuned FiveM profile is planned.

Last updated 30 November 2026 v1.1

Coming soon Ports UDP+TCP 30120

Add the server

  1. Go to Services, choose Add game server, then FiveM. The panel selects the generic UDP+TCP profile.

  2. Enter your origin IP address and port. The common default is 30120 for both UDP and TCP; check your host.

  3. Choose the location closest to your server, name the service and save.

  4. Copy the ZEROPING address from the Connect tab.

Point players at it

FiveM players connect through the server list, a cfx.re join link or connect in the F8 console. Tell the server to hand out the ZEROPING address instead of its own, and to trust the edge ranges. Use the address, the public port and the ranges from your Connect tab (the public port is not always 30120); the values below are documentation examples.

server.cfg
endpoint_add_tcp "0.0.0.0:30120"
endpoint_add_udp "0.0.0.0:30120"
set sv_endpoints "203.0.113.10:30120"
set sv_forceIndirectListing true
set sv_listingIpOverride "203.0.113.10"
set sv_proxyIPRanges "203.0.113.0/24"

sv_endpoints is the address clients are told to connect to. sv_forceIndirectListing and sv_listingIpOverride keep your origin out of the server list. sv_proxyIPRanges marks the edge as a trusted proxy, so the built-in rate limiter does not treat every player as one address. FXServer does not read PROXY protocol, so leave it off for this service. Keep your origin address out of any public config.

Close the origin

Allow 30120 over both UDP and TCP at the origin only from the ranges on the Connect tab. Keep txAdmin (default 40120) closed to the public.

Test it

Run Check connection, then join from a real client through the ZEROPING address.

Was this helpful?

Products

Games

More

Reduce motion