Port Forwarding Not Working? CGNAT, Double NAT, Wrong Rule Fixing Methods

You went into your router's admin panel and created a port forwarding rule. You entered the external port, internal port, protocol, and internal IP correctly. But when you check the port from outside, the result says "closed" or "timed out." Most people repeatedly delete and recreate the rule, reboot the router, or change the firmware. Yet the real problem is often outside the rule, in the ISP's network or in your own network topology.
This guide has a 3-step test. It will show you whether the problem is in your rule, in your ISP's CGNAT, or in the Double NAT caused by a second router. Identify the cause first, then fix it.
The 3 Real Reasons Port Forwarding Fails
1. CGNAT (Carrier-Grade NAT): Your ISP does not give you a dedicated public IPv4 address. One public IP is shared among many customers. The ISP's NAT gateway sits right before you, so inbound connections from outside never reach your router. Your rule is completely ineffective here, because you do not control the NAT mapping.
2. Double NAT: There is another NAT device before your router's WAN port, such as the ISP's ONU/modem-router. If there is no port forward on the first device, inbound traffic is dropped there. In Bangladesh, connecting your own Wi-Fi router behind the ISP's ONT/router is very common, so this problem is seen far more often here.
3. Rule or Firewall Mistake: A wrong internal IP, a wrong protocol (UDP instead of TCP), the device's IP changing through DHCP, or the device's own firewall. This is the easiest one to fix.
Step 1: Compare Your Router's WAN IP With Your Public IP
This comparison is the foundation of the whole test. You need to get the two IPs from two different places.
Find the WAN IP: Log in to the router's admin panel (usually 192.168.0.1 or 192.168.1.1). Go to the Status, Internet, or WAN section. It will show "WAN IP" or "Internet IP Address." This is the address assigned to your router's WAN interface.
Find the Public IP: Open What Is My IP? in your device's browser. This is the IP that other servers on the internet see as the source of your traffic.
Compare them: Enter both IPs in the CGNAT Checker and the tool will show the result itself. If you want to compare manually, see Step 2 below.
Step 2: Read the Result
There are three possible situations.

| WAN IP | Matches Public IP? | Meaning |
|---|---|---|
| 100.64.0.0 to 100.127.255.255 | No | CGNAT |
| 10.x.x.x, 172.16.x.x–172.31.x.x, 192.168.x.x | No | Double NAT |
| Any public IP | Yes | Direct public IP, the problem is in the rule/firewall |
Rule for identifying CGNAT: According to RFC 6598, the 100.64.0.0/10 range is reserved only as ISP shared address space. If your WAN IP falls in this range, you are almost certainly behind CGNAT. Some ISPs also use ordinary private ranges for CGNAT, so if the result looks suspicious, verify the address type with the IP Address Type Checker.
Rule for identifying Double NAT: If the WAN IP is from a private range, there is another NAT device above your router. To be more certain, run tracert 8.8.8.8 (Windows) or traceroute 8.8.8.8 (Linux/macOS). If the first two hops are both private IPs, it is confirmed Double NAT. The first hop is your router and the second hop is the upstream device. For a detailed analysis, use the Double NAT Checker.
If it is a direct public IP: If the WAN IP and the public IP are the same, there is no NAT problem. Go to Step 3.
You went into your router's admin panel and created a port forwarding rule. You entered the external port, internal port, protocol, and internal IP correctly. But when you check the port from outside, the result says "closed" or "timed out." Most people repeatedly delete and recreate the rule, reboot the router, or change the firmware. Yet the real problem is often outside the rule, in the ISP's network or in your own network topology.
This guide has a 3-step test. It will show you whether the problem is in your rule, in your ISP's CGNAT, or in the Double NAT caused by a second router. Identify the cause first, then fix it.
The 3 Real Reasons Port Forwarding Fails
1. CGNAT (Carrier-Grade NAT): Your ISP does not give you a dedicated public IPv4 address. One public IP is shared among many customers. The ISP's NAT gateway sits right before you, so inbound connections from outside never reach your router. Your rule is completely ineffective here, because you do not control the NAT mapping.
2. Double NAT: There is another NAT device before your router's WAN port, such as the ISP's ONU/modem-router. If there is no port forward on the first device, inbound traffic is dropped there. In Bangladesh, connecting your own Wi-Fi router behind the ISP's ONT/router is very common, so this problem is seen far more often here.
3. Rule or Firewall Mistake: A wrong internal IP, a wrong protocol (UDP instead of TCP), the device's IP changing through DHCP, or the device's own firewall. This is the easiest one to fix.
Step 1: Compare Your Router's WAN IP With Your Public IP
This comparison is the foundation of the whole test. You need to get the two IPs from two different places.
Find the WAN IP: Log in to the router's admin panel (usually 192.168.0.1 or 192.168.1.1). Go to the Status, Internet, or WAN section. It will show "WAN IP" or "Internet IP Address." This is the address assigned to your router's WAN interface.
Find the Public IP: Open What Is My IP? in your device's browser. This is the IP that other servers on the internet see as the source of your traffic.
Compare them: Enter both IPs in the CGNAT Checker and the tool will show the result itself. If you want to compare manually, see Step 2 below.
Step 2: Read the Result

There are three possible situations.
| WAN IP | Matches Public IP? | Meaning |
|---|---|---|
| 100.64.0.0 to 100.127.255.255 | No | CGNAT |
| 10.x.x.x, 172.16.x.x–172.31.x.x, 192.168.x.x | No | Double NAT |
| Any public IP | Yes | Direct public IP, the problem is in the rule/firewall |
Rule for identifying CGNAT: According to RFC 6598, the 100.64.0.0/10 range is reserved only as ISP shared address space. If your WAN IP falls in this range, you are almost certainly behind CGNAT. Some ISPs also use ordinary private ranges for CGNAT, so if the result looks suspicious, verify the address type with the IP Address Type Checker.
Rule for identifying Double NAT: If the WAN IP is from a private range, there is another NAT device above your router. To be more certain, run tracert 8.8.8.8 (Windows) or traceroute 8.8.8.8 (Linux/macOS). If the first two hops are both private IPs, it is confirmed Double NAT. The first hop is your router and the second hop is the upstream device. For a detailed analysis, use the Double NAT Checker.
If it is a direct public IP: If the WAN IP and the public IP are the same, there is no NAT problem. Go to Step 3.

Comments
Leave a Comment
Your email address will not be published. Comments are reviewed before appearing.