Dlink DSL-2540U 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:
- Setup a static IP address on either your computer or device that you want to forward a port to.
- Login to your D-Link DSL-2540U router.
- Navigate to the port forwarding section.
- Click the Advanced Setup link.
- Click on NAT.
- Click the Add button.
- Create a port forward entry.
While these steps might seem difficult at first, we will walk you through each step for your Dlink DSL-2540U 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.
When you use Network Utilities you get your port forwarded right now!
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.
- Recommended - Our free Static IP Setter will set up a static IP address for you.
- Another way to get a permanent IP address is to set up a DHCP reservation.
- Or, manually create a static ip address with our Static IP Guides.
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.
Now we are going to login to your Dlink DSL-2540U 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:
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-2540U IP Address is: 192.168.1.1
After entering the IP address of your router you can simply press enter. If all goes well you will see the following screen:
You should see a box prompting you for your username and password.
- The Default D-Link DSL-2540U Router Username is: admin
- The Default D-Link DSL-2540U Router Password is: admin
Enter your username and password, and then click the Login button to log in to your Dlink DSL-2540U 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-2540U router username and password, use our How to Reset a Router Password guide to set your Dlink DSL-2540U router back to its factory settings.
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:
Click the Advanced Setup link near the left of the page.
You should now see a new menu. In this new menu, click NAT.
Click the Add button near the center of the page.
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:
- Browsing our List of Games
- Check out our our List of Games by Genre
- See our List of all Applications
Enable the Custom Server radio button.
Create a name for this forward and put it in the Custom Server box. The name is only used as a reminder and has no effect on the port forward.
Enter the IP address that you are forwarding ports to in the Server IP Address box. This is either the IP address of a computer or the IP address of another device on your network.
If you are forwarding a range of ports then you need to enter the lowest number of the range into the External Port Start and Internal Port Start boxes and the highest number of the range into the External Port End and Internal Port End boxes. If you are only forwarding a single port then you can enter that same port number into the External Port Start, External Port End, Internal Port Start and Internal Port End boxes.
The protocol that you want to forward is selected from the Protocol box.
Type 192.168.1.1 into the Remote IP box.
When you're finished, click Save/Apply near the top of the screen to save your changes.
Test if Your Ports are Open
Now that you have forwarded ports on the Dlink DSL-2540U 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-2540U Router Screenshots
We also have the Internets largest collection of Router Screenshots.