For a Squad server to be reachable from outside your network, you need to open and forward a handful of UDP ports on your router and allow them through the host machine's firewall. The core set is 7787 (game traffic), 27165 (query port, for the server browser), and 21114 (RCON/remote admin), all UDP except RCON, which is TCP. Steam networking also uses 27015 in some configurations, so it is worth forwarding as well. Get these wrong and the server either does not appear in the browser or players time out after connecting.
Before touching router settings, confirm the machine hosting the server has a static local IP address. If it uses DHCP and the address changes after a reboot, your port forwards will point at nothing. Set a static address on the host itself or, better, reserve one in the router's DHCP settings so the host keeps its address. You will also need the router's admin login and the ability to log in to the server box via remote desktop or SSH.
What You'll Need
- The local IP address of the machine running the Squad server (check
ipconfigon Windows orip addron Linux). - Router admin credentials and access to its port forwarding page.
- Administrator rights on the server host, so you can edit firewall rules.
- A note of any non-default ports if you changed them in the server's startup arguments.
- A way to test from outside your network, such as a phone on mobile data or a remote machine.
Step-by-Step
- Note the ports you actually use. The defaults are 7787/UDP (game), 27165/UDP (Steam query), 21114/TCP (RCON) and 27015/UDP for Steam networking. If your startup line overrides
Port=,QueryPort=orBeaconPort, use those values instead. Every guide assumes the defaults; verify against your own config before forwarding anything. - Give the host a fixed local IP. Open the router's admin page, find the LAN or DHCP section, and create a DHCP reservation tied to the host's MAC address. Alternatively set a static IP on the host outside the DHCP pool. Labels vary by router make and firmware version, so look for terms like "DHCP Reservation", "Static Lease" or "Address Reservation".
- Create the port forwarding rules. In the router admin page, open the section labelled Port Forwarding, Virtual Server or NAT. Add one rule per port. For each:
- Name: something recognisable, such as "Squad game".
- Protocol: UDP for 7787, 27165 and 27015; TCP for 21114 (some setups also want TCP on the query port, but UDP is the one that matters).
- External and internal port: the same number for both.
- Internal IP: the fixed address from step 2.
- Enable the rule and save.
- Open the same ports in the host firewall. Forwarding on the router does nothing if the host's own firewall drops the packets. On Windows, open Windows Defender Firewall with Advanced Security and create inbound rules for UDP 7787, 27165 and 27015 plus TCP 21114, scoped to the relevant profile. On Linux, add rules with
ufw allow 7787/udp,ufw allow 27165/udp,ufw allow 21114/tcpand reload, or the equivalent in firewalld or iptables. - Restart the server and the router. Some routers only apply new forwarding rules after a reboot. Restart the Squad server process too, then give it a minute to register with Steam.
- Test locally first. From another machine on the same network, connect directly to the host's local IP. If that fails, the server is not running correctly and port forwarding is not your problem yet.
- Test from outside. Disconnect a phone from Wi-Fi and use mobile data, or ask someone on a different network to connect via the server's public IP. You can also use an online port checker to confirm the UDP ports respond, though UDP checks are less reliable than TCP ones.
- Check the public IP and dynamic DNS. If your ISP gives you a changing public IP, players will lose the server when it changes. Register a free dynamic DNS hostname and point it at your IP, then share that with players instead of a raw number.
Common Mistakes
The most frequent error is forwarding TCP when the game needs UDP. Squad's game traffic and query traffic are UDP, so a TCP-only rule will leave the server invisible. The second is forwarding ports without opening them in the host firewall or vice versa; both must allow the traffic.
Another common slip is forwarding to an IP that no longer belongs to the host because DHCP reassigned it. If the server worked last week and now does not, check this before anything else. Also watch for double NAT: if your router sits behind an ISP modem that is also routing, you get two layers of NAT and your forwards never see the traffic. Either put the modem in bridge mode or forward the ports on both devices. Finally, do not forward RCON to the whole internet unless you need it; keep that port restricted and use a strong password.
Tips
Forward a contiguous range where it makes sense to cut down on rules, but avoid opening far more ports than you need; every open port is attack surface. Write down the rules you create, along with the date and the ports, so you can undo them later. If you run multiple game servers, change Squad's ports so they do not collide with another service on the same machine, then forward the custom numbers. Keep the server host's operating system and firewall software updated, since a misconfigured firewall is often how a working server becomes an unreachable one.
Troubleshooting
Server does not appear in the browser. Confirm the query port (default 27165/UDP) is forwarded and open in the host firewall. A blocked query port is the usual cause of an invisible server that people can still join by IP.
Players time out after connecting. This almost always means 7787/UDP is not reaching the host, or the host firewall is dropping it. Recheck both the router rule and the operating system rule.
It works locally but not externally. Test whether your public IP is a shared or carrier-grade NAT address; if so, ordinary port forwarding cannot work and you need to ask the ISP for a public IP or use a tunnel service, which adds latency. Double NAT is the other suspect.
RCON connects but commands fail. Verify TCP 21114 is open and that the RCON password in the server config matches what the tool is sending. Do not expose RCON publicly if a VPN or allowlist will do.
Everything looks right but nothing works. Reboot the router, verify you saved and enabled each rule, and check for a second firewall product on the host. If a recent router firmware update changed the interface, re-enter the rules from scratch rather than trusting the old entries.
Frequently Asked Questions
Which ports does a Squad server need?
The defaults are 7787/UDP for game traffic, 27165/UDP for the Steam query, 21114/TCP for RCON and 27015/UDP for Steam networking. If you changed them in the startup arguments, use your custom values.
Do I need to forward ports on both the router and the firewall?
Yes. The router forward lets traffic reach the host; the host firewall must also permit it. Allowing only one leaves the server unreachable.
Can I host a Squad server without port forwarding?
Only if you use a tunnel or a hosting provider that handles networking for you. Otherwise players outside your network cannot reach the server.
Why does my server show up for me but not for others?
You are connecting over the local network, which does not need forwarding. Others rely on the public IP and forwarded query port, so check those first.
Is opening RCON to the internet safe?
It carries more risk than the game ports because it grants admin control. Restrict it to known addresses or a VPN, and use a long random password.
What if my ISP uses carrier-grade NAT?
Standard port forwarding will not work. Ask the ISP about a public IP option, or use a tunneling service and accept the added latency.