How To Swap Ports

Table of contents:

How To Swap Ports
How To Swap Ports

Video: How To Swap Ports

Video: How To Swap Ports
Video: how to use Cisco 7200 Fiber SFP Ports | How to swap between Cisco Ethernet and Fiber SFP ports 2023, December

Users of network programs and games often face communication problems when the Internet is available but the connection is not established. This is due to the fact that the port on the router is closed, which is required for the program to work. To solve this problem, it is enough to reassign or forward ports, that is, configure rules for ports in a router or modem.

How to swap ports
How to swap ports


Step 1

Find out the IP address of your router, modem or router. Click the Start button and select the Run menu (Find Programs and Files). A line will open in which enter the cmd command and press Enter or the OK button. The system console will open, through which you can find out the details of the computer's network settings. Enter the ipconfig command in the console and press Enter. In the "Ethernet adapter" section, you will see several network addresses. One of them will be designated as the "Default Gateway" or Default Gateway. This is how your modem or router looks like in the system, through which you are connected to the Internet. Remember the IP address of your router.

Step 2

Launch any browser. In the address bar, type the address of the router, for example,, and press Enter. A window will appear asking for a username and password. Enter admin in both fields and click OK. You will be taken to the settings page for your modem router. Each manufacturer has a different menu structure, but the basic rules remain true for all models.

Step 3

Find the Port Forwarding, Virtual Servers, Server Setup, or Applications menu - this is how different companies refer to port forwarding settings in their routers. Click on the link to go to the settings section. There you will see an Add button. Click it to create a new rule.

Step 4

Create as many port forwarding rules as you need. For example, you need to swap ports 1120 to 1125 for a torrent client that uses port 2500. Find out your ip-address using the console and the ipconfig command - you will need to specify in the rule settings the computer for which the ports will be reassigned. Enter the name of the rule in the Service Name field, it can be anything you want. Next, in the Protocol field, specify the protocol used by the program. It's best to choose TCP / UDP if you don't know for sure.

Step 5

Enter the IP address of your computer in the Server IP section. If you see the inscriptions Start port and End port, you can immediately enter the range for reassignment (1120-1125). If there are no such designations, you will need to create a separate rule for each port. Enter the port number to which the program data will be received, that is, 1120 in our example, in the WAN Port or Public Port field. Specify the destination port, that is, 2500 from the example, in the Host Port or Private Port section.

Step 6

Save the created rule by clicking OK or Save / Apply. Then restart your modem router and your computer. After that, the rule will be used by the system, and you will be able to fully use your program or game.