Open Ports on the D-Link TM-G5240 Router

Thumbnail image of Port Forward Staff
Port Forward Staff
September 19, 2018 (Last Updated: ) | Reading Time: 3 minutes

Dlink TM-G5240 routers include a very basic firewall that helps protect your home network form unwanted access from the internet. Since this firewall blocks incoming connections you may need open a port through it for certain games and applications. This process of opening a port is frequently called a port forward, since you are forwarding a port from the internet to your home network.

The basic process to open a port is:

  1. Setup a static IP address on either your computer or device that you want to forward a port to.
  2. Login to your D-Link TM-G5240 router.
  3. Navigate to the port forwarding section.
    • Click the Advanced button.
  4. Create a port forward entry.

While these steps might seem difficult at first, we will walk you through each step for your Dlink TM-G5240 router.

We think that forwarding a port should be easy. That's why we created Network Utilities. Our software does everything that you need to forward a port.

Get Started Now!

When you use Network Utilities you get your port forwarded right now!

Step 1

It is important to setup a static ip address in the device that you are forwarding a port to. This ensures that your ports will remain open even after your device reboots.

This step is important because you want a permanent IP address in your device. If you do not set up a permanent IP address in your device, then when you device reboots it may get a new IP address.

Use a VPN Instead

Have you considered using a VPN instead of forwarding a port? For most users, a VPN is a much simpler and more secure choice than forwarding a port.

NordVPN faster than ever deal!

We use and recommend NordVPN because not only is it the fastest VPN, it includes a new feature called Meshnet that makes forwarding a port no longer necessary for most applications. With NordVPN Meshnet, you can connect to your devices from anywhere in the world, completely secure, over a highly encrypted VPN tunnel.

Every time you click on one of our affiliate links, such as NordVPN, we get a little kickback for introducing you to the service. Think of us as your VPN wingman.

Step 2

Now we are going to login to your Dlink TM-G5240 router. Your router has a web interface, so you will login to it using your web browser. This can be either Chrome, Firefox, Internet Explorer, or Edge. It usually does not matter which browser you choose to use.

Open up your web browser and find the address bar. It should look something like this:

Image of a browser address bar
Browser address bar

Above is an example of what a web browser address bar looks like. Find the address bar in your router and type in your router's IP address.

The default D-Link TM-G5240 IP Address is: 192.168.0.1

After entering the IP address of your router you can simply press enter. If all goes well you will see the following screen:

Dlink TM-G5240
Dlink TM-G5240.

You should see a box prompting you for your username and password.

Enter your username and password, and then click the Login button to log in to your Dlink TM-G5240 router.

Dlink Usernames and Passwords

If your username and password do not work then please visit our Default D-Link Router Passwords page.

If you still can't login to your router because you forgot your Dlink TM-G5240 router username and password, use our How to Reset a Router Password guide to set your Dlink TM-G5240 router back to its factory settings.

Step 3

Now we need to find the port forwarding section in your router. Here's how you do it. Starting from the first page in your router:

Dlink TM-G5240
Dlink TM-G5240.

Click the Advanced button near the top of the page.

Dlink TM-G5240 port forward
Dlink TM-G5240 port forward.

Step 4

Here are the ports to forward for Xbox Live:

  • TCP Ports: 3074
  • UDP Ports: 3074

If you are looking for the ports for a different application you can find it by either:

Don't forget to sign up for NordVPN's promo deal before it's gone.

NordVPN is the fastest VPN deal!

You might notice that most of our site doesn't have ads on it. This is because we use partnerships with companies like NordVPN to keep the site running. Thank you for supporting us by using our referral links.

Select the Enabled radio button.

Enter the name of the program into the Name box. It doesn't really matter what you put into this box, but something that will remind you why these ports are being forwarded is be a good idea.

Enter the IP address that you want to forward these ports to in the Private IP box. You can enter either the IP address of your computer or the IP address of another computer or device on your network.

Use the Protocol Type dropdown box to select the protocol type of the ports you are forwarding.

Enter the port to forward into the Private Port and the Public Port boxes.

Make sure that the Always radio button is selected.

When you are all done click the Apply button.

Your ports should now be open. It is time to test them.

Test if Your Ports are Open

Now that you have forwarded ports on the Dlink TM-G5240 you should test to see if your ports are forwarded correctly.

To test if your port has been properly forwarded, you can use our Network Utilities tool, which includes a free Open Port Checker. Our Open Port Check tool is the only online port checking tool with Guaranteed Results.

More From Portforward