What to do if port forwarding does not work

NOTE: Important!

1. When setting up port forwarding, it is necessary to have a public IP address on the router's WAN interface through which it connects to the Internet. If the router's WAN interface uses an IP address from a private subnet, port forwarding will not work.

2. To check whether port forwarding is working, you must access the router's WAN interface from the Internet. Port forwarding will not work when accessing from the local network.

3. The service or application to which port forwarding is performed must be started so that the port can be seen as 'open' during the check. For example, if the FTP server is not started and even if there is a NAT rule for port forwarding, the port status will be 'closed' during the check.

TIP: Tip: You can use special Internet services designed to check the openness of ports. For example https://hidemyna.me/en/ports/, https://www.whatsmyip.org/port-scanner/, etc.

Below are typical reasons that can lead to inoperability of port forwarding, despite the correct configuration.

1. In a port forwarding rule, the incoming interface is not correctly selected. In the 'Input' field, select the interface through which your Keenetic accesses the Internet and through which you plan to remotely access your home network device.
In most cases, you should select the 'Provider' interface. If you have an Internet connection via PPPoE, PPTP or L2TP, you should select the appropriate connection. When connecting to the Internet via a 3G/4G USB modem, you should specify this connection, and when connecting via WISP, select the connection with the name of the network to which Keenetic is connected.

2. Your computer uses a firewall or special software for Internet protection. Temporarily disable this application and check that port forwarding is working properly.

3. Some ISPs on their network use 'hidden NAT'. You need to make sure that you are accessing the Internet with the IP address that your ISP gave you and that is used on the Keenetic WAN interface. Sometimes there are situations when the ISP provides the client with a public IP address, but in fact, it goes to the Internet with a different IP address. Refer to myip.net. If your IP address is different from that used on Keenetic WAN interface, then port forwarding will not work.

4. Some ISPs filter inbound user traffic by standard protocols and ports. For example, they can filter port 21/FTP, 80/HTTP, 25/POP3, 1723/PPTP and other ports). It is necessary to know exactly whether the provider blocks traffic on any ports.
If there is such a possibility, you need to change the port number and manually set another port, which will not be blocked by your provider (for example, when port 21 is blocked, on the FTP server you can use port 2121).
If there is no possibility to change the port number of the service, you can use port mapping in the port forwarding rule in your Keenetic. You can find more information in the article 'Port forwarding'.

5. In the network settings of the host, to which the ports are forwarded, it is necessary that the IP address of the default gateway is equal to the local IP address of the Keenetic router (by default 192.168.1.1). This is the case if you manually specify the network connection settings on the host. If the host is a DHCP client, i.e. it automatically receives an IP address, subnet mask, default gateway and DNS addresses, then the default gateway will be equal to the local IP address of the Keenetic router.

6. Some details of port forwarding for Xbox and PS4 game consoles are presented in the article: 'Using Xbox and PS4 with a Keenetic router'.

7. In the KeeneticOS operating system NAT logic is implemented in accordance with RFC 4787 'Network Address Translation (NAT) Behavioral Requirements for Unicast UDP'. In particular, by default, the source UDP port changes to any other port than the original one when NAT is being passed. This can cause problems with UDP traffic passing through the NAT for some ISPs that are not aware of this RFC. In this case, try running commands in the router's command-line interface (CLI):

ip nat udp-port-preserve
system configuration save

8. When redirecting port 53 to the internal DNS server, you should take into account that if there are Internet Safety components active, Source Network Address Translation (SNAT) of the forwarded packets happens, so the source address changes to the Keenetic's IP address in the home network segment. Because of this, the DNS zones may not be synchronized. Therefore, when using your own DNS server in the home network we recommend to remove the Internet Safety components or change the port number.

9. If the recommendations above do not help, and for some reason, port forwarding still doesn't work, you can contact our technical support team and attach a self-test file. Information on how to do this can be found in the article 'Saving the self-test file'.

TIP: Tip: Keenetic routers have an ability to organize access to the router even with a private IP address on the router's external WAN interface. KeenDNS is a useful domain name service for remote access. With the help of this service you can solve 2 tasks:

— Remote access to the Keenetic's web interface. You can find the information in the article 'KeenDNS service';

— Remote access to resources (services) of the home network or on the Keenetic router. For example, access to a device with a web interface - network drive, webcam, server, or Transmission torrent client interface running in the router. This option is described in the article 'An example of remote access to home network resources with KeenDNS'.

 

Have more questions? Submit a request

Comments

0 comments

Please sign in to leave a comment.