أنشئ حسابًا أو سجّل الدخول للانضمام إلى مجتمعك المهني.
I have public IP address , for remote desktop connection one place to another place, they can't access Public IP. So that's why I need port forwading...
First, you need to gather some information about your network and assign a static IP address to the device you're using. A static IP address is an unchanging number identifying a device on your network, and to forward a port you first need to give your router the static IP address of the device for which you are opening the port.
1. From a computer connected to your network, click Start, and then type cmd into the search field. Press Enter.
2. Type ipconfig /all in the window that pops up. Press Enter.
3. Record the following numbers listed under your network connection (labeled “Local Area Connection” or “Wireless Network Connection”):
4. To set a static IP address on a Windows7 or Vista PC, open Control Panel. ClickNetwork and Internet, then Network and Sharing Center. In the left pane, click Change adapter settings in Windows7; in Vista, click Manage network connections.
4a. Right-click Local Area Connection; then click Properties.
4b. In the list, select Internet Protocol Version4 (TCP/IPv4), and click Properties.
4c. Select Use the following IP address. Add10 to the last digit of your Default Gateway number and enter it into the IP address field. For example, if your Default Gateway is192.168.1.1, the new number is192.168.1.11.
4d. Enter the numbers of the Subnet Mask, Default Gateway, and DNS Servers that you recorded earlier into their respective fields. Click OK.5. To assign a static IP to a printer, video game console, or other device on your network, you’ll need to use the device’s control panel or a Web-based interface.
Now that you have a static IP assigned to your computer or other network device, log in to your router’s interface and open a port.
1. Open a Web browser, type your Default Gateway number into the address bar, and press Enter.
2. Enter your username and password to access your router’s interface. The default username and password should be listed in your router’s documentation, on a sticker on the side of your router, or on the Port Forward website. If the username and password have been changed from the defaults and you don’t remember them, you’ll need to reset your router.
3. To forward ports on your router, look for a tab or menu labeled “Applications & Gaming,” “Advanced,” “Port Forwarding/Port Triggering,” “NAT/QoS,” or something similar.
4. No matter what the router or interface, you’ll need to enter the same basic information. Enter the port you want to open under Internal and External, or enter a range of ports to open under Start and End. If you aren’t sure what port(s) you need to open for an application, consult this Port Forward Some common ports are25565 (Minecraft),6881–6887 (BitTorrent clients), and3724 (World of Warcraft).
5. Choose the Protocol (TCP, UDP, or both).
6. Enter the static IP address you created.
7. Be sure Enable is selected if available. Enter a name under Application if you want, then save the changes.
And Check out my tips......
We can do port forwarding in router using STATIC NAT(network address translation)
For port forwarding you can use static nat ,
we can apply port forwarding by using static nat.
we do port forwarding using static natting where we have to define external and internal ports along with IPs.
use NAT
Port Forwarding in a router is the same as Static Nat. Use IP Nat commands.
By using static NATport forwarding in router
1) Enter your router’s IP address into the address bar of a web browser. This will open your router’s configuration page.
*For Windows: Open the command prompt and enter ipconfig /all. The router’s IP address is usually the same as the Default Gateway.
*For Mac: Open the terminal and enter netstat -nr.
*For Linux: Open the terminal and enter route.
2) Enter your username and password. If you've already configured the security settings for your router, enter the username and password you chose.
3) Find the Port Forwarding section. Each router will be slightly different. Common labels are Port Forwarding, Applications, Gaming, Virtual Servers. If you don't see one of these or something similar, try Advanced Settings and look for a Port Forwarding subsection.
4) Find a preconfigured entry. Many routers will have a dropdown menu with preconfigured options for well-known applications.
5) Create a custom entry. If the program you want to add is not listed, you will need to create a custom port forwarding entry. Each router will have a slightly different way of doing this, although the required information is the same for any router:
*Enter a name for the service. Name it something related to the program so that you know what the entry is for.
*Choose the service type. This can be TCP, UDP, or both. The service type depends on what program you are unblocking. If you are unsure, select the TCP/UPD option.
*Select the ports you wish to use. If you only want one port open, enter the same number in Start and End. If you wish to open a range of ports say5, you might type3784 in Start and3788 in End.
*Select the internal IP address to assign the port forwarding to. This is the IP address of the computer running the application that you are unblocking. Check out the guides for PC or Mac to find your internal IP.
6) Save your settings. You may have an Apply button instead of Save. You might need to restart your router for them to take effect.