How To Port Foward Your Router Using Cmd?


Do you ever find yourself wishing you could port forward your router in order to access specific networks or devices remotely? Are you stuck in an annoying situation where you need to connect to your office’s wireless but can’t because it’s blocked by a security measure? If so, then you’re not alone. Port forwarding is a common problem that many people face on a daily basis. In this blog post, we will show you how to easily port forward your router using Windows Command Prompt.

What is Command Line Interface?

The command line interface (CLI) is a powerful tool that allows you to interact with your router from a Command Prompt window. This allows you to perform actions such as port forwarding and configure advanced settings. There are different ways to access the CLI depending on the router model and manufacturer, but all should be relatively easy to find. Once you have accessed the CLI, you will need to provide some information about your router, such as its IP address or name. You can then use various commands to manage your router’s settings.

How to Port Forward a Router using Cmd?

To port forward a router using the command line, open a Terminal window and type the following:

sudo telnet localhost 80

Once you have logged in to your router, type the following commands:

Click here to view full article

What are the Different Types of Ports?

There are a few different types of ports that can be used on routers.

The most common port is the lan port, which is used to connect devices in your home or office network.

One other common port is the DMZ port, which is used to allow certain devices access to your router while protecting other devices from intrusion.

Finally, there are a few other ports that can be useful in specific situations.

For example, the WAN port can be used to connect your router to the internet, while the USB port can be used to connect a printer or storage device.

How to Find out the IP Address of a Router?

How to find out the IP address of a router?
There are a few ways to find out the IP address of a router. The most common way is to use a web browser and type in the router’s IP address into the address bar. However, this method is not always reliable because routers can change their IP addresses often.
Another way to find out the IP address of a router is to use a command-line tool called ipconfig. You can access this tool by opening a Command Prompt window and typing “ipconfig.” This tool will display all the information about your computer’s network connection, including your router’s IP address.
If you don’t have access to a command prompt, you can also find your router’s IP address using a software application called Billion OS Router Tracker. This application allows you to track down missing devices on your network, and it includes an IPAddress search option that can help you find your router’s IP address.

How to Port Forward on a MAC Address?

How To Port Forward on a MAC Address?

When you want to port forward on your router, it can be a little confusing because there are different ways to do it depending on the router and your operating system. This tutorial will walk you through the process of port forwarding using the command line on a Mac.

First, open up a terminal window by going to Applications > Utilities > Terminal. Once you have open the terminal window, type in these commands:

  1.  ipconfig /all
  2.  Then, use the find command to locate your router’s IP address. In my example, my router’s IP address is
  3.  Next, enter this command into the terminal window:

    portforwarding= 8080

What is Cmd?

Cmd is a command line utility used to forward network traffic. It can be used on routers and switches to help improve network performance. By default, your router will not forward traffic. Cmd can be used to enable forwarding on your router.

To forward network traffic using Cmd, you must first determine what type of port your router uses for forwarding. The most common types of ports are:

TCP – TCP is the most commonly used protocol on the internet. When you use Cmd to forward TCP traffic, you will improve your connection speed and reliability.

UDP – UDP is often used in gaming applications and VoIP services. When you use Cmd to forward UDP traffic, you will improve your game or VoIP experience by allowing more packets through at once.

You can also use Cmd to view current routing information and change settings on your router.

How to use Cmd to Port Forward a Router?

Use Cmd to Port Forward a Router

In this tutorial, we will show you how to port forward a router using the command line. This is useful if you want to configure a router from a remote location or you need to troubleshoot networking issues.

To begin, open a command prompt and type the following:

ipconfig /all
This will display your computer’s current IP address and other information about your network connection.
Next, type the following command:
tcpipconfig /all This will display all enabled TCP and UDP services on your computer and also list any active port forwarding rules that are configured on your router. Now we’ll use the port forwarding command to enable port forwarding on our router: ipconfig /setforwardport This will enable port forwarding on the specified TCP or UDP port on your router for incoming traffic on the specified protocol towards the specified remote hostname or IP address. In our example, we’ll use the default gateway (DHCP) server as our remote hostname, so we’ll type: ipconfig /setforwardport 6775 tcp udp <> If you only want specific programs or applications to be able to access specific ports through port forwarding, then you can use the wildcard character * in place of each parameter listed above. For example, if you wanted to forward all traffic destined for port 80 on the computer to the IP address, you would type: ipconfig /setforwardport *80 tcp udp
Now reload your router’s configuration by typing the following command: reboot Now you should be able to access your computer’s ports through the forwarding rule that was just created.

Guidelines for Port Forwarding

If you’re looking to forward a port on your router, there are a few guidelines you should follow.
First, make sure that the port you’re forwarding is not in use by another service or application.
Second, if you’re forwarding a port for gaming purposes, make sure that your game is compatible with using port forwarding.
Finally, be sure to check your router’s documentation to ensure that you’re forwarding the correct port.


If you’re like most people, you probably use your router to do a bunch of different things. Maybe you use it to connect your computer to the internet, or maybe you use it to share files with other devices in your home. But have you ever wondered how you could port forward your router using a command line? Well, thanks to this guide, now you can! By following these simple steps, you can easily forward ports on your router so that you can access all of the resources on the network even when you’re not at

Leave a Reply

Your email address will not be published. Required fields are marked *