About this article: This article is reviewed against the cited sources. This is source research, not lab validation. Check the stated versions and your own requirements before making changes.
The 3CX Firewall Checker, in the 3CX Admin Console, runs a short series of tests against the firewall in front of the phone system and reports whether each passes. A failure on port preservation, on the Full Cone NAT test or on the SIP ALG test points at a different part of the firewall, and the fixes are different. The 3CX one-way audio guide on Symmetric NAT and Firewall Checker warning 10 covers a different result from the same tool; the three tests here are port preservation, Full Cone NAT and SIP ALG.
The sections below explain what each test does, how to read the result, what to correct on the firewall, and the one thing to know before starting a run: the checker stops and restarts phone services. Nothing before the Fix section changes anything.
What the error means
3CX's Firewall Checker page says the tool validates a firewall's configuration for port forwarding and port preservation, over UDP. For TCP, the page says to use any of the widely available TCP port validators. The page describes three tests, and each fails for its own reason.
| Test | What it checks | What a failure means on 3CX's page |
|---|---|---|
| Test 1: port preservation and outbound connectivity | The port the firewall presents to the internet is the same as the port 3CX sent from | If another port comes back, port preservation is not working; if there is no reply, outbound or return traffic is blocked |
| Test 2: Full Cone NAT validation | Traffic from a source 3CX has not talked to is allowed back in | The firewall is blocking traffic from an address it did not expect |
| SIP ALG test | Whether anything on the path changes a SIP message | An intermediate hop has altered the message, meaning SIP ALG is active |
Port preservation
3CX's page explains that port preservation detects whether the firewall alters the port when it translates the local LAN address to the public WAN address. The page says RFCs define that a SIP server should reply to the contact IP and port in the SIP message content, but some providers might reply to the transport source port of 3CX seen in the UDP header. To prevent problems, the checker validates that a SIP message generated from a given local source port, such as 5060, keeps that port when translated to the public address.
In Test 1, 3CX temporarily stops its services to free the local ports, sends a classic STUN request from the local port to the configured STUN server on port 3478, and asks the server not to change its IP or port when replying. The reply carries a Mapped-Address field. If it shows the same port that the request was sent from, port preservation is working. In 3CX's words, "the firewall check will fail, indicating that port preservation is NOT working" if any other port is shown.
Full Cone NAT
Test 2 sends another request to the same STUN server, this time marked "Change IP and Change Port", so the reply comes from an address and port the firewall has not seen 3CX talk to. The page compares this to the audio server of a VoIP provider, which may not be the server that handled signalling. If no reply arrives, the page says Full Cone NAT is not working and the firewall is blocking this type of traffic. A successful Test 2 shows the same Mapped-Address, IP and port, as Test 1.
SIP ALG
SIP ALG, the Application Layer Gateway, is a firewall function that inspects the content of SIP packets. The page says it can cause numerous issues because changes made to SIP messages by an intermediate hop are not visible in 3CX traces. The checker sends a generic INVITE to an online service hosted by 3CX, calculates a CRC32 value locally and expects the same value back in the X-CSREQ header. A mismatch shows that something between 3CX and the service has altered the message.
Likely causes
3CX's page lists these for a failed check:
| Failed result | Cause on 3CX's page |
|---|---|
| Test 1 returns a different port | The firewall changes the source port during translation. 3CX says to contact the firewall manufacturer |
| Test 1 receives no reply | Outbound traffic is blocked by the firewall, or no return traffic is passed back to the server |
| Test 2 receives no reply | The firewall blocks traffic from a source 3CX has not directly contacted. 3CX says to contact the firewall manufacturer |
| SIP ALG check mismatch | SIP ALG or a SIP helper is enabled on the router or firewall |
| Ports closed | The ports 3CX needs are not forwarded, or the firewall has gaps in the range |
3CX adds that the port check verifies blocks of even ports at the start and end of the valid range, for brevity, and that you must allow the complete range of ports the PBX expects to have available, without gaps.
Prove the cause before changing anything
All of these steps only read.
-
Read the existing result in the Firewall Checker section of the 3CX Admin Console dashboard, and write down which test failed and what it shows. 3CX says the results display directly and indicate whether each test passed or failed.
-
If Test 1 shows no reply, treat it as a blocked path, not as port preservation. 3CX says to check the firewall settings.
-
If Test 2 fails, check the firewall logs for traffic from the 3CX STUN server addresses. 3CX says the expected answer never reached the 3CX server's network interface, so the logs can show whether it arrived at the firewall.
-
Check whether the four STUN server addresses are allowed. 3CX lists these to whitelist for a successful check: 34.40.60.101, 34.40.164.62, 34.83.212.229 and 34.138.123.132.
-
Read the SIP ALG or SIP helper setting on the router or firewall. 3CX says to ensure SIP ALG or any SIP Helper function is disabled, and calls it a common cause of SIP-related issues.
-
To confirm a SIP ALG result by hand, 3CX describes capturing the outbound INVITE to the detection service in Wireshark, copying it as a hex stream, calculating its CRC, and comparing the result with the X-CSREQ value in the 200 OK. A different value means the message changed in transit.
-
Compare your forwarded ports with 3CX's list in the Fix section.
Fix
Choose the fix that matches the proof. 3CX tells you to contact the firewall manufacturer for a port preservation or Full Cone NAT failure.
Disable SIP ALG
Write down the current SIP ALG or SIP helper setting on the router or firewall, and the time.
Risk: the next step changes SIP handling for every device behind that router or firewall, not only 3CX. Another SIP system on the same device may depend on it. Make the change when calls are not in progress.
Disable SIP ALG or the SIP helper on the router or firewall, as 3CX directs. If the device cannot disable it, 3CX's configuration page says to use a router or firewall without a SIP Helper or SIP ALG, or one on which it can be disabled.
To undo it: set the SIP ALG or SIP helper setting back to the value you wrote down.
Correct the forwarded ports and STUN access
Write down the current port forwarding rules and outbound rules for the 3CX server, and the time.
Risk: the next step changes firewall rules that decide which traffic reaches the phone system. A wrong rule can block calls or open a port you did not intend to open. Make the change through your normal change process.
3CX's page lists these key ports: 5060 inbound UDP and 5060 to 5061 inbound TCP for SIP; 9000 to 10999 inbound UDP for RTP audio; 5090 inbound UDP and TCP for the 3CX tunnel; 443 or 5001 inbound TCP for HTTPS presence and provisioning; and 443 outbound TCP for Google Android push, with 443, 2197 and 5223 outbound TCP for Apple iOS push. Its configuration page adds that each call needs two RTP ports, so the number of ports to open is double the number of simultaneous calls. Correct any rule that differs, and allow the four STUN addresses.
To undo it: put the rules back to the list you wrote down.
Port preservation and Full Cone NAT
For a Test 1 port change or a Test 2 failure, 3CX says to contact the firewall manufacturer. Our own advice: ask which setting controls port translation on your model, and what changing it affects.
Windows firewall on the 3CX server, for detailed analysis only
3CX's page says that, for detailed analysis on Windows installations, it is recommended to disable the Windows firewall on the 3CX server during testing, because while 3CX creates exceptions for its applications, it might not for the firewall checker itself. This step applies only to a Windows installation.
Write down the current Windows firewall state on the 3CX server (on or off for each profile), and the time.
Risk: while the Windows firewall is off, the 3CX server is not protected by it. Keep the time off as short as possible.
Turn the Windows firewall off on the 3CX server for the test run.
To undo it: turn the Windows firewall back on, to the state you wrote down, as soon as the run has finished.
Run the checker again
3CX's steps: in the 3CX Admin Console, go to Dashboard, find the Firewall Checker section, open it, and click Start. The page says PBX services will be stopped and restarted during the process, and that you can end it by pressing Stop.
Write down the time and the result currently shown in the Firewall Checker.
Disruptive step: the next step stops and restarts the PBX services, which drops any call in progress and interrupts the phone system while the test runs. Calls dropped by the run cannot be recovered. Run it outside business hours.
Click Start in the Firewall Checker section.
To undo it: nothing is restored by the run. To end it early, click Stop, which is the way 3CX's page gives for ending the process. Calls dropped during the run cannot be recovered.
Confirm the fix
- A new run shows Test 1, Test 2 and the SIP ALG test passing.
- The Test 1 Mapped-Address port equals the local source port, for example 5060, and Test 2 shows the same IP and port as Test 1.
- The X-CSREQ value matches the locally calculated CRC32.
- Calls to and from a SIP trunk have audio in both directions.
What to watch afterwards
- Firewall logs for blocked traffic on the ports 3CX uses, especially during a failed run.
- Gaps in the forwarded port range as the number of simultaneous calls grows.
Read next
Related articles you may want next.
- Troubleshooting3CX one-way audio: Symmetric NAT and Firewall Checker warning 103CX one-way audio: Symmetric NAT fails Firewall Checker (warning 10). Use Full Cone NAT / static RTP port mappings.Read article
- TroubleshootingConnections Half-Work Through Two Gateways: Proving Asymmetric RoutingTwo gateways or a second NIC and connections reset or hang? Prove the return path with captures on both legs, then fix routing, not the firewall's state checks.Read article
- TroubleshootingConnections drop after a few idle minutes through a firewall or load balancer: idle timers and TCP keepaliveTCP sessions die after the same idle time through a firewall or load balancer. Find the idle timer and set keepalive below it on Linux, nginx or SSH.Read article
Risks and limits
These steps are drawn from 3CX's pages and have not been lab-tested. 3CX's Firewall Checker page covers UDP only, and its configuration page is written for on-premise installations. The fixes for port preservation and Full Cone NAT depend on the firewall manufacturer, and the fixes for port preservation and Full Cone NAT depend on the firewall manufacturer. A run of the checker interrupts the phone system, and a passing run does not prove call quality.
Sources
- Why the Firewall Checker Does Not Lie — 3CX, page dated 02 June 2026, accessed 4 December 2026
- Firewall & Router Configuration — 3CX, page dated 25 September 2026, accessed 4 December 2026
This article was originally published on .