Easiest Way to Forward Ports on the D-Link DSL-504G Router

This is the port forwarding guide for the D-Link DSL-504G.We also have port forwarding guides for the following related routers:

Pick the guide that most closely matches your router.

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

Dlink DSL-504G 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 DSL-504G router.
  3. Navigate to the port forwarding section.
    • Click the Services button.
    • Click on NAT.
    • Select NAT Rule Entry in the drop down.
    • Click the Add 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 DSL-504G 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 birthday 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 DSL-504G 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 DSL-504G 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 DSL-504G
Screenshot of Dlink DSL-504G.

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 DSL-504G 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 DSL-504G router username and password, use our How to Reset a Router Password guide to set your Dlink DSL-504G 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 DSL-504G
Screenshot of Dlink DSL-504G.

Click the Services button near the left of the page.

You should now see a new menu. In this new menu, click NAT.

Dlink DSL-504G
Screenshot of Dlink DSL-504G.

Select NAT Rule Entry from the NAT Options drop down box.

Dlink DSL-504G
Screenshot of Dlink DSL-504G.

Click the Add button near the bottom of the page.

Dlink DSL-504G
Screenshot of Dlink DSL-504G.

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 faster than ever 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 RDR from the Rule Flavor dropdown box.

Enter a number that has not yet been used into the Rule ID box.

You can leave IF Name set to ALL.

Select the protocol type of the ports you are forwarding from the Protocol box.

You need to enter the IP address that you are forwarding ports to in the Local Address From and Local Address To box. It's possible for this to be either the IP address of your computer or any other IP address on your network that you want ports forwarded to.

Try putting 192.168.0.1 in the Global Address From and Global Address To box. 192.168.0.1 is a special number that stands for any assigned IP address. When you enter that number it means any external IP address that has been assigned to your router will work. If that does not work you will have to enter your external IP address manually, which can be a problem because your external IP address may change often. If it changes then those ports will not be forwarded properly anymore.

Make sure that Destination Port From, Destination Port To and Local Port is set to Any other port.

If you are forwarding a single port, enter that port number into the Destination Port From, Local Port and the Destination Port To boxes. If you are forwarding a range of ports, enter the lowest number of that range into the Destination Port From, Local Port box. Then enter the highest number of that range into the Destination Port To box.

Click the Submit button when you are all done.

Click the Admin link near the left of the page.

You should now see a new menu. In this new menu, click Commit and Reboot.

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 DSL-504G 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.

Dlink DSL-504G Router Screenshots

We also have the Internets largest collection of Router Screenshots.

More From Portforward