Sunday, April 18, 2010

How is Port Forwarding Configured?

How is Port Forwarding Configured?

Software ports are numbered connections that a computer uses to sort types of network traffic. A port may support incoming traffic, outgoing traffic, or both. A few services, such as FTP (on port 21), and HTTP (on port 80), are assigned by default to open ports where operating systems can easily find them easily. When a port is opened a service is assigned to it, for example, an online game. For security, by default all ports to the Internet, and most LAN ports are closed so that traffic cannot flow through them.

Common ports are listed in Port Numbers for Port Forwarding.

To test whether your port forwarding is secure, see How Are a Computer's or a Router's Ports Secured?

Click link for your router's instructions. (There may be more information in the online manual.)


Instructions for RP614, MR814, WGR101, WGR614, WGT624, WGT634U, WGU624, WGM124, or WPN824

These routers do port forwarding by assigning port numbers to a "service" that is associated with the application you want to run.

To Let an Application Use Port Forwarding

  1. Type the router's address in an Internet browser's address bar. (By default the router's address is 192.168.0.1). The Setup Wizard appears.
  2. Enter the router's username and password.
  3. Under Advanced, click Port Forwarding on the left menu bar.
  4. A Port Forwarding Screen (Varies Slightly by Router)

  5. From the Service & Game (or Service Name) pull down, select the service that you will host. The services the router knows about are listed here. If the service does not appear in the drop down, add a service as described in the next section, then return to this step.
  6. Enter the IP address of your local server in the Server IP Address box.
  7. Click Add.
  8. Click Logout to exit from router settings.

To Add a Service for These Routers

To define a service not in the Service Name list, determine what port numbers are used by the service.

  1. Click Add Custom Service.
  2. Enter the first port number in an unused Start Port box.
  3. If only one port number is to be forwarded, enter the same number in End Port. To specify a range of ports, enter the last port to be forwarded in the End Port box.
  4. Enter any name you choose for the service.
  5. Click Apply.


Instructions for DG834, DG834G, DG824M, FR114W, FM114P, FR114P, FR328S, FVL328, FVS328, FVS338, FVX538,
FWAG114, FWG114P, or FVS318v3

These routers do port forwarding by assigning port numbers to a "service" associated with the application you want to run. "Rules" are set for particular services. Rules block or allow access, based on various conditions such as the time of day and the name of the service.

To Create a New Inbound or Outbound Rule

  1. Submit the router's address in an Internet browser. (The default is 192.168.0.1).
  2. Enter the router's username and password.
  3. From the main menu, click Security > Rules.
  4. Click Add for inbound or outbound traffic, as appropriate to the application you are planning to run.
  5. Select the Service. The services the router knows about are listed in the drop down. If the service you want is not listed, add it as described in the next section.
  6. Select the Action, for example ALLOW always.
  7. For Send to LAN Server, enter the IP address of the local server. Note that this is also the IP address the computers on your LAN will access.
  8. For WAN User choose Any, or limit access to particular IP addresses.
  9. For Log selection it is reasonable to turn logs on, especially at the beginning when you are unsure of the result of the changes you are making. Later, you may want to set logs to "Never" for performance reasons.
  10. Click Apply.

As noted in user manual for some models:

  • Consider using the Dynamic DNS feature on the Advanced menu, so that external users can find your network when the DHCP lease is renewed by your ISP.
  • If your own LAN server uses DHCP, and your IPs change on rebooting, consider using the Reserved IP Address feature in the LAN IP menu.

To Add a Service for These Routers

  1. Click Security > Services > Add Custom Service.
  2. Enter any name you choose for the service.
  3. Select whether the service is to use TCP or UDP. If you are unsure, select both.
  4. Enter the lowest port number used by the service.
  5. Enter the highest port number used. If the service uses only one port number, enter the same number.
  6. Click Apply.


To Enable Port Forwarding for RM356, RH340, RH348, RT388, RT311, or RT314

  1. Click Start > Run.
  2. Type telnet 192.168.0.1.
  3. Type the password at the prompt. The default is 1234. The router menu appears.
  4. Type 15, and press Enter to select SUA Server Setup. The Port Forwarding screen appears.
  5. Enter the port number and your server's IP address.
  6. Press Enter repeatedly until the cursor comes to the last line and saves the changes.
  7. Type 99 to exit from the router settings.


To Enable Port Forwarding for FVM318 or FVS318v1 and v2

These routers do port forwarding by assigning port numbers to a "service" associated with the application you want to run.

To Let an Application Use Port Forwarding

  1. Type the router's address in an Internet browser's address bar. (By default the router's address is 192.168.0.1). The Setup Wizard appears.
  2. Enter the router's username and password.
  3. Click Advanced > Ports on the left menu bar.
  4. Click Add. The Add Service screen appears.
  5. If you click the Service Name drop down, a list of services that have been defined appears. (Some are always added by NETGEAR for your convenience by default.) If the service does not appear in the drop down, add a service as described in the next section, then return to this step.
  6. Set Action to ALLOW always.
  7. Enter the IP address of your local server in the Server IP Address box.
  8. Set WAN Users Address to Any.
  9. For the Log selection it is reasonable to turn logs on, especially at the beginning when you are unsure of the result of the changes you are making. Later, you may want to set logs to "Never" for performance reasons.
  10. Click Apply.
  11. Click Logout to exit from router settings.

To Add a Service for These Routers

  1. Determine what port numbers are used by the service.
  2. Click Security > Add Service. The Add Custom Services window appears.
  3. Enter the first port number in an unused Start Port box.
  4. If only one port number is to be forwarded, enter the same number in End Port. To specify a range of ports, enter the last port to be forwarded in the End Port box.
  5. Enter any name you choose for the service.
  6. Click Apply.

To Enable Port Forwarding for MR314 or RP114

  1. Type the router's address in an Internet browser's address bar. (By default the router's address is 192.168.0.1).
  2. Enter the router's username and password.
  3. Click Advanced > Ports on the left menu bar.
  4. Enter the first port number in an unused Start Port box.
  5. If only one port number is to be forwarded, enter the same number in End Port. To specify a range of ports, enter the last port to be forwarded in the End Port box.
  6. Enter the IP address of your local server in the Server IP Address box.
  7. Click Apply.

No comments:

Post a Comment