{"id":22070,"date":"2026-06-11T12:22:33","date_gmt":"2026-06-11T12:22:33","guid":{"rendered":"https:\/\/xgamingserver.com\/blog\/how-to-port-forward-a-fivem-server\/"},"modified":"2026-06-11T12:22:33","modified_gmt":"2026-06-11T12:22:33","slug":"how-to-port-forward-a-fivem-server","status":"publish","type":"post","link":"https:\/\/xgamingserver.com\/blog\/how-to-port-forward-a-fivem-server\/","title":{"rendered":"How to Port Forward a FiveM Server (Port 30120)"},"content":{"rendered":"\n<p class=\"wp-block-paragraph\">If players cannot connect to your FiveM server, the root cause is almost always the same: port 30120 is not open for both TCP and UDP traffic. This guide walks you through every layer \u2014 from <code>server.cfg<\/code> endpoint directives to your router&#8217;s port forwarding table \u2014 so you can get your server publicly reachable in one pass.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Why FiveM Uses Port 30120<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">FiveM&#8217;s underlying engine, FXServer, uses a single port (30120 by default) for all external traffic. The TCP side handles resource downloads and server-browser communication; the UDP side carries live game data and player connections. Both protocols must be open on the same port number for the server to function correctly. If either one is blocked, players will either fail to connect entirely or experience resource-download failures mid-join.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Step 1 \u2014 Configure endpoint_add_tcp and endpoint_add_udp in server.cfg<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">Open your <code>server.cfg<\/code> file. The two endpoint directives tell FXServer which network interface and port to bind. The official default, taken directly from the Cfx.re documentation, is:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>endpoint_add_udp \"0.0.0.0:30120\"\nendpoint_add_tcp \"0.0.0.0:30120\"<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">A few important notes about these two lines:<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li><strong>Order matters.<\/strong> The Cfx.re proxy documentation explicitly states that <code>endpoint_add_udp<\/code> must appear <em>above<\/em> <code>endpoint_add_tcp<\/code> in the file. If you use the default port (30120 for both), the order makes no practical difference for most setups \u2014 but if you ever change the TCP port for a proxy configuration, the UDP line must come first or the port change will not take effect.<\/li>\n<li><strong>0.0.0.0 = all interfaces.<\/strong> Only replace this with a specific IP address if your machine has multiple network adapters and you want to restrict which one FXServer listens on. For a typical single-NIC VPS or home server, leave it as <code>0.0.0.0<\/code>.<\/li>\n<li><strong>Changing the port.<\/strong> If port 30120 is already in use, increment both lines to the same alternate port (for example, 30121). Whatever port you set here is the port you must open everywhere else in this guide.<\/li>\n<\/ul>\n\n\n\n<p class=\"wp-block-paragraph\">Save the file and restart FXServer before continuing.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Step 2 \u2014 Open Port 30120 in the OS Firewall<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">Even with correct endpoint lines, the OS firewall can silently drop packets before they reach FXServer.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">Windows (PowerShell \u2014 run as Administrator)<\/h3>\n\n\n\n<pre class=\"wp-block-code\"><code>netsh advfirewall firewall add rule name=\"FXServer TCP 30120\" dir=in action=allow protocol=TCP localport=30120\nnetsh advfirewall firewall add rule name=\"FXServer UDP 30120\" dir=in action=allow protocol=UDP localport=30120<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">You can also add the rules through Windows Defender Firewall with Advanced Security \u2014 create two new Inbound Rules (one for TCP, one for UDP), set the local port to 30120, and allow the connection. Repeat for Outbound Rules if your policy blocks outbound traffic by default.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">Linux (ufw)<\/h3>\n\n\n\n<pre class=\"wp-block-code\"><code>ufw allow 30120\/tcp\nufw allow 30120\/udp\nufw reload<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">If you use <code>iptables<\/code> directly or a cloud provider&#8217;s security group, add equivalent inbound rules for port 30120 TCP and UDP.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Step 3 \u2014 Forward Port 30120 on Your Router (Home Servers Only)<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">If your FiveM server runs on a machine inside a home network (behind a consumer router), you must tell the router to forward incoming traffic on port 30120 to the server machine&#8217;s local IP address. VPS and dedicated servers skip this step \u2014 they have a public IP directly assigned to the network interface.<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Log in to your router admin panel (commonly at <code>192.168.1.1<\/code> or <code>192.168.0.1<\/code> \u2014 check the label on the router).<\/li>\n<li>Navigate to the port-forwarding section (sometimes called &#8220;Virtual Servers&#8221;, &#8220;NAT&#8221;, or &#8220;Applications and Gaming&#8221;).<\/li>\n<li>Create a new rule with: external port <strong>30120<\/strong>, internal port <strong>30120<\/strong>, protocol <strong>Both (TCP + UDP)<\/strong>, and the local IP address of the server machine.<\/li>\n<li>Save and reboot the router if prompted.<\/li>\n<\/ul>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>Assign a static local IP.<\/strong> If your server machine gets its local IP via DHCP, the IP can change and break the forwarding rule. Either set a static IP in the machine&#8217;s network settings, or configure a DHCP reservation in the router so the server machine always gets the same address.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Router UIs differ significantly between manufacturers. Search for &#8220;<em>[your router model] port forwarding<\/em>&#8221; if you cannot find the setting.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Step 4 \u2014 Verify the Port Is Reachable<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">The fastest test is to open a browser on a device <em>outside<\/em> your network (a phone on mobile data works) and visit:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>http:\/\/YOUR_PUBLIC_IP:30120\/info.json<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">If the page returns a JSON object with your server&#8217;s name and build info, the port is open and FXServer is reachable. If it times out or returns nothing, the port is still blocked somewhere in the chain. You can also use <a href=\"https:\/\/canyouseeme.org\" rel=\"noopener noreferrer\" target=\"_blank\">canyouseeme.org<\/a> to test port 30120 from an external vantage point.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Quick Reference: Port Summary<\/h2>\n\n\n\n<figure class=\"wp-block-table is-style-stripes\"><table><thead><tr><th>Port<\/th><th>Protocol<\/th><th>Purpose<\/th><th>Required?<\/th><\/tr><\/thead><tbody><tr><td>30120<\/td><td>TCP<\/td><td>Resource downloads, server browser listing, client handshake<\/td><td>Yes<\/td><\/tr><tr><td>30120<\/td><td>UDP<\/td><td>Live game data, player movement, voice (non-pma-voice)<\/td><td>Yes<\/td><\/tr><tr><td>40120<\/td><td>TCP<\/td><td>txAdmin web panel (local access only by default)<\/td><td>No \u2014 keep closed externally<\/td><\/tr><\/tbody><\/table><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">The txAdmin panel port (40120 by default) should <strong>not<\/strong> be publicly exposed. Access it over an SSH tunnel or a VPN instead.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Common Reasons Players Still Cannot Connect<\/h2>\n\n\n\n<ul class=\"wp-block-list\">\n<li><strong>Missing sv_licenseKey.<\/strong> FXServer will not start correctly without a valid <code>sv_licenseKey<\/code> in <code>server.cfg<\/code>. An unlicensed server appears offline to external players even if the port is open.<\/li>\n<li><strong>New server not yet listed.<\/strong> The Cfx.re server browser can take up to 8 minutes to index a newly started server. Use direct connect (<code>connect IP:30120<\/code> in the F8 console) to test before assuming a listing problem.<\/li>\n<li><strong>NAT hairpin issue.<\/strong> You cannot connect to your own server using your public IP from inside the same network on many routers. Test from an external device, not the host machine or another device on the same LAN.<\/li>\n<li><strong>DDoS protection whitelist.<\/strong> If your server is behind a DDoS mitigation service, the Cfx.re polling IPs must be whitelisted. The full current list is maintained at <code>https:\/\/static.cfx.re\/ips.txt<\/code>.<\/li>\n<li><strong>Hosting provider firewall.<\/strong> VPS hosts (and some dedicated server providers) have an additional firewall layer in their control panel, separate from the OS firewall. Check your provider&#8217;s network\/firewall settings and open 30120 TCP + UDP there as well.<\/li>\n<\/ul>\n\n\n\n<p class=\"wp-block-paragraph\">If you want to skip all of this \u2014 router config, OS firewall, license management \u2014 consider running your server through a <a href=\"https:\/\/xgamingserver.com\/five-m-server-hosting\">managed FiveM server panel<\/a> where ports and networking are pre-configured. You can also check the <a href=\"https:\/\/xgamingserver.com\/docs\/fivem\">FiveM server docs<\/a> for step-by-step panel guides covering everything from first launch to txAdmin setup.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">For related FiveM server management topics, see the <a href=\"https:\/\/xgamingserver.com\/blog\/fivem-resource-loading-errors-troubleshooting-guide\/\">FiveM resource loading errors troubleshooting guide<\/a> and the <a href=\"https:\/\/xgamingserver.com\/blog\/fivem-server-backup-guide\/\">FiveM server backup guide<\/a>.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Frequently Asked Questions<\/h2>\n\n\n\n<h3 class=\"wp-block-heading\">Do I need to open a different port for txAdmin?<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">txAdmin defaults to port 40120 for its web panel. You do <em>not<\/em> need to open this port publicly \u2014 doing so would expose your admin interface to the internet. Access txAdmin over an SSH tunnel (forward remote port 40120 to a local port) or through your hosting provider&#8217;s built-in panel access. Only port 30120 TCP and UDP needs to be publicly reachable for players to connect.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">Can I change FiveM from port 30120 to a different port?<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">Yes. Edit both <code>endpoint_add_tcp<\/code> and <code>endpoint_add_udp<\/code> in <code>server.cfg<\/code> to use the new port number, then open that port in your firewall and router forwarding rules instead of 30120. If you are on a managed hosting panel, you will also need to allocate the new port in the panel&#8217;s Network settings before restarting the server. Players connect by specifying the port explicitly: <code>connect IP:newPort<\/code>.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">My server shows in the browser but players get &#8220;connection timed out&#8221; \u2014 what&#8217;s wrong?<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">A server visible in the browser but unreachable on direct connect almost always means UDP 30120 is blocked while TCP 30120 is open. The server browser polling uses TCP (HTTP requests to <code>\/info.json<\/code>), so it sees the server \u2014 but the actual game connection uses UDP, which is still being dropped. Double-check that your firewall rule and router forwarding rule both specify <strong>UDP<\/strong> (or &#8220;Both&#8221;) for port 30120, not TCP only.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>If players cannot connect to your FiveM server, the root cause is almost always the same: port 30120 is not open for both TCP and UDP traffic. This guide walks you through every layer \u2014 from server.cfg endpoint directives to your router&#8217;s port forwarding table \u2014 so you can get your server publicly reachable in [&hellip;]<\/p>\n","protected":false},"author":2,"featured_media":22045,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_gspb_post_css":"","_monsterinsights_skip_tracking":false,"_monsterinsights_sitenote_active":false,"_monsterinsights_sitenote_note":"","_monsterinsights_sitenote_category":0,"jetpack_post_was_ever_published":false,"_jetpack_newsletter_access":"","_jetpack_dont_email_post_to_subs":false,"_jetpack_newsletter_tier_id":0,"_jetpack_memberships_contains_paywalled_content":false,"_jetpack_memberships_contains_paid_content":false,"footnotes":"","jetpack_publicize_message":"","jetpack_publicize_feature_enabled":true,"jetpack_social_post_already_shared":true,"jetpack_social_options":{"image_generator_settings":{"template":"highway","default_image_id":0,"font":"","enabled":false},"version":2}},"categories":[142],"tags":[],"class_list":["post-22070","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-fivem"],"blocksy_meta":[],"yoast_head":"<!-- This site is optimized with the Yoast SEO Premium plugin v24.5 (Yoast SEO v26.7) - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>How to Port Forward a FiveM Server (Port 30120) 2026<\/title>\n<meta name=\"description\" content=\"Step-by-step guide to port forwarding your FiveM server on port 30120 TCP and UDP \u2014 endpoint_add_tcp, endpoint_add_udp, router setup, and connection fixes.\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/xgamingserver.com\/blog\/how-to-port-forward-a-fivem-server\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"How to Port Forward a FiveM Server (Port 30120)\" \/>\n<meta property=\"og:description\" content=\"Step-by-step guide to port forwarding your FiveM server on port 30120 TCP and UDP \u2014 endpoint_add_tcp, endpoint_add_udp, router setup, and connection fixes.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/xgamingserver.com\/blog\/how-to-port-forward-a-fivem-server\/\" \/>\n<meta property=\"og:site_name\" content=\"XGamingServer\" \/>\n<meta property=\"article:publisher\" content=\"https:\/\/web.facebook.com\/xgamingserver69\/\" \/>\n<meta property=\"article:published_time\" content=\"2026-06-11T12:22:33+00:00\" \/>\n<meta name=\"author\" content=\"Hectar Carson\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:creator\" content=\"@xgamingserver\" \/>\n<meta name=\"twitter:site\" content=\"@xgamingserver\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Hectar Carson\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"6 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\/\/xgamingserver.com\/blog\/how-to-port-forward-a-fivem-server\/#article\",\"isPartOf\":{\"@id\":\"https:\/\/xgamingserver.com\/blog\/how-to-port-forward-a-fivem-server\/\"},\"author\":{\"name\":\"Hectar Carson\",\"@id\":\"https:\/\/xgamingserver.com\/blog\/#\/schema\/person\/561042c617869348e75abfe16a269f8d\"},\"headline\":\"How to Port Forward a FiveM Server (Port 30120)\",\"datePublished\":\"2026-06-11T12:22:33+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\/\/xgamingserver.com\/blog\/how-to-port-forward-a-fivem-server\/\"},\"wordCount\":1213,\"commentCount\":0,\"publisher\":{\"@id\":\"https:\/\/xgamingserver.com\/blog\/#organization\"},\"image\":{\"@id\":\"https:\/\/xgamingserver.com\/blog\/how-to-port-forward-a-fivem-server\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/xgamingserver.com\/blog\/wp-content\/uploads\/2026\/06\/fivem-1.webp\",\"articleSection\":[\"FiveM\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\/\/xgamingserver.com\/blog\/how-to-port-forward-a-fivem-server\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/xgamingserver.com\/blog\/how-to-port-forward-a-fivem-server\/\",\"url\":\"https:\/\/xgamingserver.com\/blog\/how-to-port-forward-a-fivem-server\/\",\"name\":\"How to Port Forward a FiveM Server (Port 30120) 2026\",\"isPartOf\":{\"@id\":\"https:\/\/xgamingserver.com\/blog\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\/\/xgamingserver.com\/blog\/how-to-port-forward-a-fivem-server\/#primaryimage\"},\"image\":{\"@id\":\"https:\/\/xgamingserver.com\/blog\/how-to-port-forward-a-fivem-server\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/xgamingserver.com\/blog\/wp-content\/uploads\/2026\/06\/fivem-1.webp\",\"datePublished\":\"2026-06-11T12:22:33+00:00\",\"description\":\"Step-by-step guide to port forwarding your FiveM server on port 30120 TCP and UDP \u2014 endpoint_add_tcp, endpoint_add_udp, router setup, and connection fixes.\",\"breadcrumb\":{\"@id\":\"https:\/\/xgamingserver.com\/blog\/how-to-port-forward-a-fivem-server\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/xgamingserver.com\/blog\/how-to-port-forward-a-fivem-server\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/xgamingserver.com\/blog\/how-to-port-forward-a-fivem-server\/#primaryimage\",\"url\":\"https:\/\/xgamingserver.com\/blog\/wp-content\/uploads\/2026\/06\/fivem-1.webp\",\"contentUrl\":\"https:\/\/xgamingserver.com\/blog\/wp-content\/uploads\/2026\/06\/fivem-1.webp\",\"width\":640,\"height\":360},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/xgamingserver.com\/blog\/how-to-port-forward-a-fivem-server\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/xgamingserver.com\/blog\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"FiveM\",\"item\":\"https:\/\/xgamingserver.com\/blog\/category\/fivem\/\"},{\"@type\":\"ListItem\",\"position\":3,\"name\":\"How to Port Forward a FiveM Server (Port 30120)\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/xgamingserver.com\/blog\/#website\",\"url\":\"https:\/\/xgamingserver.com\/blog\/\",\"name\":\"XGamingServer\",\"description\":\"Dedicated Game Server Hosting\",\"publisher\":{\"@id\":\"https:\/\/xgamingserver.com\/blog\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/xgamingserver.com\/blog\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Organization\",\"@id\":\"https:\/\/xgamingserver.com\/blog\/#organization\",\"name\":\"XGamingServer\",\"url\":\"https:\/\/xgamingserver.com\/blog\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/xgamingserver.com\/blog\/#\/schema\/logo\/image\/\",\"url\":\"https:\/\/xgamingserver.com\/blog\/wp-content\/uploads\/2020\/09\/logo.svg\",\"contentUrl\":\"https:\/\/xgamingserver.com\/blog\/wp-content\/uploads\/2020\/09\/logo.svg\",\"width\":\"1024\",\"height\":\"1024\",\"caption\":\"XGamingServer\"},\"image\":{\"@id\":\"https:\/\/xgamingserver.com\/blog\/#\/schema\/logo\/image\/\"},\"sameAs\":[\"https:\/\/web.facebook.com\/xgamingserver69\/\",\"https:\/\/x.com\/xgamingserver\",\"https:\/\/www.instagram.com\/xgamingserver\/\",\"https:\/\/www.linkedin.com\/company\/xgamingserver\/\",\"https:\/\/www.pinterest.com\/xgamingserver\/\",\"https:\/\/www.youtube.com\/channel\/UCHnOtWxpzaL2r3jM9Jm40EQ\"]},{\"@type\":\"Person\",\"@id\":\"https:\/\/xgamingserver.com\/blog\/#\/schema\/person\/561042c617869348e75abfe16a269f8d\",\"name\":\"Hectar Carson\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/xgamingserver.com\/blog\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/1cbcd42dac6c5f21cb52dd64f03fd442250a15f7bb1ade04e23002eb5b384de5?s=96&d=mm&r=g\",\"contentUrl\":\"https:\/\/secure.gravatar.com\/avatar\/1cbcd42dac6c5f21cb52dd64f03fd442250a15f7bb1ade04e23002eb5b384de5?s=96&d=mm&r=g\",\"caption\":\"Hectar Carson\"}}]}<\/script>\n<!-- \/ Yoast SEO Premium plugin. -->","yoast_head_json":{"title":"How to Port Forward a FiveM Server (Port 30120) 2026","description":"Step-by-step guide to port forwarding your FiveM server on port 30120 TCP and UDP \u2014 endpoint_add_tcp, endpoint_add_udp, router setup, and connection fixes.","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/xgamingserver.com\/blog\/how-to-port-forward-a-fivem-server\/","og_locale":"en_US","og_type":"article","og_title":"How to Port Forward a FiveM Server (Port 30120)","og_description":"Step-by-step guide to port forwarding your FiveM server on port 30120 TCP and UDP \u2014 endpoint_add_tcp, endpoint_add_udp, router setup, and connection fixes.","og_url":"https:\/\/xgamingserver.com\/blog\/how-to-port-forward-a-fivem-server\/","og_site_name":"XGamingServer","article_publisher":"https:\/\/web.facebook.com\/xgamingserver69\/","article_published_time":"2026-06-11T12:22:33+00:00","author":"Hectar Carson","twitter_card":"summary_large_image","twitter_creator":"@xgamingserver","twitter_site":"@xgamingserver","twitter_misc":{"Written by":"Hectar Carson","Est. reading time":"6 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/xgamingserver.com\/blog\/how-to-port-forward-a-fivem-server\/#article","isPartOf":{"@id":"https:\/\/xgamingserver.com\/blog\/how-to-port-forward-a-fivem-server\/"},"author":{"name":"Hectar Carson","@id":"https:\/\/xgamingserver.com\/blog\/#\/schema\/person\/561042c617869348e75abfe16a269f8d"},"headline":"How to Port Forward a FiveM Server (Port 30120)","datePublished":"2026-06-11T12:22:33+00:00","mainEntityOfPage":{"@id":"https:\/\/xgamingserver.com\/blog\/how-to-port-forward-a-fivem-server\/"},"wordCount":1213,"commentCount":0,"publisher":{"@id":"https:\/\/xgamingserver.com\/blog\/#organization"},"image":{"@id":"https:\/\/xgamingserver.com\/blog\/how-to-port-forward-a-fivem-server\/#primaryimage"},"thumbnailUrl":"https:\/\/xgamingserver.com\/blog\/wp-content\/uploads\/2026\/06\/fivem-1.webp","articleSection":["FiveM"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/xgamingserver.com\/blog\/how-to-port-forward-a-fivem-server\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/xgamingserver.com\/blog\/how-to-port-forward-a-fivem-server\/","url":"https:\/\/xgamingserver.com\/blog\/how-to-port-forward-a-fivem-server\/","name":"How to Port Forward a FiveM Server (Port 30120) 2026","isPartOf":{"@id":"https:\/\/xgamingserver.com\/blog\/#website"},"primaryImageOfPage":{"@id":"https:\/\/xgamingserver.com\/blog\/how-to-port-forward-a-fivem-server\/#primaryimage"},"image":{"@id":"https:\/\/xgamingserver.com\/blog\/how-to-port-forward-a-fivem-server\/#primaryimage"},"thumbnailUrl":"https:\/\/xgamingserver.com\/blog\/wp-content\/uploads\/2026\/06\/fivem-1.webp","datePublished":"2026-06-11T12:22:33+00:00","description":"Step-by-step guide to port forwarding your FiveM server on port 30120 TCP and UDP \u2014 endpoint_add_tcp, endpoint_add_udp, router setup, and connection fixes.","breadcrumb":{"@id":"https:\/\/xgamingserver.com\/blog\/how-to-port-forward-a-fivem-server\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/xgamingserver.com\/blog\/how-to-port-forward-a-fivem-server\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/xgamingserver.com\/blog\/how-to-port-forward-a-fivem-server\/#primaryimage","url":"https:\/\/xgamingserver.com\/blog\/wp-content\/uploads\/2026\/06\/fivem-1.webp","contentUrl":"https:\/\/xgamingserver.com\/blog\/wp-content\/uploads\/2026\/06\/fivem-1.webp","width":640,"height":360},{"@type":"BreadcrumbList","@id":"https:\/\/xgamingserver.com\/blog\/how-to-port-forward-a-fivem-server\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/xgamingserver.com\/blog\/"},{"@type":"ListItem","position":2,"name":"FiveM","item":"https:\/\/xgamingserver.com\/blog\/category\/fivem\/"},{"@type":"ListItem","position":3,"name":"How to Port Forward a FiveM Server (Port 30120)"}]},{"@type":"WebSite","@id":"https:\/\/xgamingserver.com\/blog\/#website","url":"https:\/\/xgamingserver.com\/blog\/","name":"XGamingServer","description":"Dedicated Game Server Hosting","publisher":{"@id":"https:\/\/xgamingserver.com\/blog\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/xgamingserver.com\/blog\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/xgamingserver.com\/blog\/#organization","name":"XGamingServer","url":"https:\/\/xgamingserver.com\/blog\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/xgamingserver.com\/blog\/#\/schema\/logo\/image\/","url":"https:\/\/xgamingserver.com\/blog\/wp-content\/uploads\/2020\/09\/logo.svg","contentUrl":"https:\/\/xgamingserver.com\/blog\/wp-content\/uploads\/2020\/09\/logo.svg","width":"1024","height":"1024","caption":"XGamingServer"},"image":{"@id":"https:\/\/xgamingserver.com\/blog\/#\/schema\/logo\/image\/"},"sameAs":["https:\/\/web.facebook.com\/xgamingserver69\/","https:\/\/x.com\/xgamingserver","https:\/\/www.instagram.com\/xgamingserver\/","https:\/\/www.linkedin.com\/company\/xgamingserver\/","https:\/\/www.pinterest.com\/xgamingserver\/","https:\/\/www.youtube.com\/channel\/UCHnOtWxpzaL2r3jM9Jm40EQ"]},{"@type":"Person","@id":"https:\/\/xgamingserver.com\/blog\/#\/schema\/person\/561042c617869348e75abfe16a269f8d","name":"Hectar Carson","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/xgamingserver.com\/blog\/#\/schema\/person\/image\/","url":"https:\/\/secure.gravatar.com\/avatar\/1cbcd42dac6c5f21cb52dd64f03fd442250a15f7bb1ade04e23002eb5b384de5?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/1cbcd42dac6c5f21cb52dd64f03fd442250a15f7bb1ade04e23002eb5b384de5?s=96&d=mm&r=g","caption":"Hectar Carson"}}]}},"jetpack_publicize_connections":[],"jetpack_featured_media_url":"https:\/\/xgamingserver.com\/blog\/wp-content\/uploads\/2026\/06\/fivem-1.webp","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/xgamingserver.com\/blog\/wp-json\/wp\/v2\/posts\/22070","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/xgamingserver.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/xgamingserver.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/xgamingserver.com\/blog\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/xgamingserver.com\/blog\/wp-json\/wp\/v2\/comments?post=22070"}],"version-history":[{"count":0,"href":"https:\/\/xgamingserver.com\/blog\/wp-json\/wp\/v2\/posts\/22070\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/xgamingserver.com\/blog\/wp-json\/wp\/v2\/media\/22045"}],"wp:attachment":[{"href":"https:\/\/xgamingserver.com\/blog\/wp-json\/wp\/v2\/media?parent=22070"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/xgamingserver.com\/blog\/wp-json\/wp\/v2\/categories?post=22070"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/xgamingserver.com\/blog\/wp-json\/wp\/v2\/tags?post=22070"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}