This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision | ||
port_forwarding [2012/08/10 17:27] eric |
port_forwarding [2013/05/21 16:00] (current) eric |
||
---|---|---|---|
Line 2: | Line 2: | ||
===== Motivation ===== | ===== Motivation ===== | ||
+ | | ||
+ | | ||
+ | {{: | ||
+ | |||
+ | Suppose you have a local network, and you have two web servers on the network, Web Server 1 on 192.168.1.10 and Web Server 2 on 192.168.1.20. | ||
+ | |||
+ | Only one IP is associated with the network, the external IP of the router: 1.2.3.4 in the schematic above. | ||
- | {{: | ||
===== Individual Port Forwarding ===== | ===== Individual Port Forwarding ===== | ||
{{: | {{: | ||
+ | |||
+ | These options let you forward a single port from the router to a host on the local network. | ||
+ | |||
+ | * **Description: | ||
+ | * **Protocol: | ||
+ | * **From Port:** The external port (on the WAN interface of the router) to forward to the host on the local network. | ||
+ | * **To IP:** The IP address of the host on the local network to which you want to forward the port | ||
+ | * **To Port:** The port on the local host to which you are forwarding traffic. | ||
+ | |||
===== Port Range Forwarding ===== | ===== Port Range Forwarding ===== | ||
+ | |||
+ | These options let you forward a range of ports to a single local host. The source port range and the destination port range are the same. | ||
+ | |||
+ | The options are: | ||
+ | |||
+ | * **Description: | ||
+ | * **Protocol: | ||
+ | * **Start Port:** The first (lowest) port in the port range being forwarded | ||
+ | * **End Port:** The last (highest) port in the port range being forwarded | ||
+ | * **To IP:** The IP address of the host on the local network to which you want to forward this range of ports | ||
+ | |||
{{: | {{: | ||
Line 16: | Line 42: | ||
{{: | {{: | ||
+ | |||
+ | When a DMZ (De-Militarized Zone) is configured, all ports not specifically used by the router or forwarded to other hosts are forwarded to one specific host on the local network. | ||
+ | |||
===== UPnP / NAT-PMP ===== | ===== UPnP / NAT-PMP ===== | ||
{{: | {{: | ||
+ | |||
+ | UPnP is a protocol that allows hosts to dynamically open and forward ports. | ||
+ | |||
+ | |||
+ | |||
+ | |||
+ |