http://wiki.dd-wrt.com/wiki/index.php?title=Port_Forwarding&offset=20060312010528&action=history&feed=atom Port Forwarding - Revision history 2024-03-28T23:55:28Z Revision history for this page on the wiki MediaWiki 1.10.1 http://wiki.dd-wrt.com/wiki/index.php?title=Port_Forwarding&diff=54617&oldid=prev Ian5142: Added language header. 2019-01-04T23:38:37Z <p>Added language header.</p> <table border='0' width='98%' cellpadding='0' cellspacing='4' style="background-color: white;"> <tr> <td colspan='2' width='50%' align='center' style="background-color: white;">←Older revision</td> <td colspan='2' width='50%' align='center' style="background-color: white;">Revision as of 23:38, 4 January 2019</td> </tr> <tr><td colspan="2" align="left"><strong>Line 1:</strong></td> <td colspan="2" align="left"><strong>Line 1:</strong></td></tr> <tr><td colspan="2">&nbsp;</td><td>+</td><td style="background: #cfc; font-size: smaller;">{{Languages|Port_Forwarding}}</td></tr> <tr><td colspan="2">&nbsp;</td><td>+</td><td style="background: #cfc; font-size: smaller;"></td></tr> <tr><td> </td><td style="background: #eee; font-size: smaller;">==Introduction==</td><td> </td><td style="background: #eee; font-size: smaller;">==Introduction==</td></tr> <tr><td> </td><td style="background: #eee; font-size: smaller;"></td><td> </td><td style="background: #eee; font-size: smaller;"></td></tr> </table> Ian5142 http://wiki.dd-wrt.com/wiki/index.php?title=Port_Forwarding&diff=53789&oldid=prev Ian5142: Changed links. 2018-03-11T17:52:00Z <p>Changed links.</p> <table border='0' width='98%' cellpadding='0' cellspacing='4' style="background-color: white;"> <tr> <td colspan='2' width='50%' align='center' style="background-color: white;">←Older revision</td> <td colspan='2' width='50%' align='center' style="background-color: white;">Revision as of 17:52, 11 March 2018</td> </tr> <tr><td colspan="2" align="left"><strong>Line 1:</strong></td> <td colspan="2" align="left"><strong>Line 1:</strong></td></tr> <tr><td> </td><td style="background: #eee; font-size: smaller;">==Introduction==</td><td> </td><td style="background: #eee; font-size: smaller;">==Introduction==</td></tr> <tr><td> </td><td style="background: #eee; font-size: smaller;"></td><td> </td><td style="background: #eee; font-size: smaller;"></td></tr> <tr><td>-</td><td style="background: #ffa; font-size: smaller;">For Port Forwarding Troubshooting, see [<del style="color: red; font-weight: bold; text-decoration: none;">https://www.dd-wrt.com/wiki/index.php/</del>Port_Forwarding_Troubleshooting Port Forwarding Troubleshooting]</td><td>+</td><td style="background: #cfc; font-size: smaller;">For Port Forwarding Troubshooting, see [<ins style="color: red; font-weight: bold; text-decoration: none;">[</ins>Port_Forwarding_Troubleshooting<ins style="color: red; font-weight: bold; text-decoration: none;">|</ins>Port Forwarding Troubleshooting<ins style="color: red; font-weight: bold; text-decoration: none;">]</ins>]</td></tr> <tr><td> </td><td style="background: #eee; font-size: smaller;"></td><td> </td><td style="background: #eee; font-size: smaller;"></td></tr> <tr><td> </td><td style="background: #eee; font-size: smaller;">The internet works using two main address units: the IP Address and the port. When your computer makes a call on the internet--trying to load www.dd-wrt.com for example--it starts by asking the IP address of www.dd-wrt.com for the webpage. However, it can't just ask dd-wrt.com's IP address for the webpage files--that would be like leaving off the apartment number when mailing someone. It needs to ask dd-wrt.com's IP address on port 80--the universal webpage port. Your computer instructs the response to be sent back to your IP address on some port that you opened to receive that data. By using ports, your computer can keep track of which stream of data belongs to what.</td><td> </td><td style="background: #eee; font-size: smaller;">The internet works using two main address units: the IP Address and the port. When your computer makes a call on the internet--trying to load www.dd-wrt.com for example--it starts by asking the IP address of www.dd-wrt.com for the webpage. However, it can't just ask dd-wrt.com's IP address for the webpage files--that would be like leaving off the apartment number when mailing someone. It needs to ask dd-wrt.com's IP address on port 80--the universal webpage port. Your computer instructs the response to be sent back to your IP address on some port that you opened to receive that data. By using ports, your computer can keep track of which stream of data belongs to what.</td></tr> </table> Ian5142 http://wiki.dd-wrt.com/wiki/index.php?title=Port_Forwarding&diff=53063&oldid=prev Ian5142: /* Introduction */ 2017-11-15T18:56:39Z <p><span class="autocomment">Introduction</span></p> <table border='0' width='98%' cellpadding='0' cellspacing='4' style="background-color: white;"> <tr> <td colspan='2' width='50%' align='center' style="background-color: white;">←Older revision</td> <td colspan='2' width='50%' align='center' style="background-color: white;">Revision as of 18:56, 15 November 2017</td> </tr> <tr><td colspan="2" align="left"><strong>Line 1:</strong></td> <td colspan="2" align="left"><strong>Line 1:</strong></td></tr> <tr><td> </td><td style="background: #eee; font-size: smaller;">==Introduction==</td><td> </td><td style="background: #eee; font-size: smaller;">==Introduction==</td></tr> <tr><td colspan="2">&nbsp;</td><td>+</td><td style="background: #cfc; font-size: smaller;"></td></tr> <tr><td colspan="2">&nbsp;</td><td>+</td><td style="background: #cfc; font-size: smaller;">For Port Forwarding Troubshooting, see [https://www.dd-wrt.com/wiki/index.php/Port_Forwarding_Troubleshooting Port Forwarding Troubleshooting]</td></tr> <tr><td colspan="2">&nbsp;</td><td>+</td><td style="background: #cfc; font-size: smaller;"></td></tr> <tr><td> </td><td style="background: #eee; font-size: smaller;">The internet works using two main address units: the IP Address and the port. When your computer makes a call on the internet--trying to load www.dd-wrt.com for example--it starts by asking the IP address of www.dd-wrt.com for the webpage. However, it can't just ask dd-wrt.com's IP address for the webpage files--that would be like leaving off the apartment number when mailing someone. It needs to ask dd-wrt.com's IP address on port 80--the universal webpage port. Your computer instructs the response to be sent back to your IP address on some port that you opened to receive that data. By using ports, your computer can keep track of which stream of data belongs to what.</td><td> </td><td style="background: #eee; font-size: smaller;">The internet works using two main address units: the IP Address and the port. When your computer makes a call on the internet--trying to load www.dd-wrt.com for example--it starts by asking the IP address of www.dd-wrt.com for the webpage. However, it can't just ask dd-wrt.com's IP address for the webpage files--that would be like leaving off the apartment number when mailing someone. It needs to ask dd-wrt.com's IP address on port 80--the universal webpage port. Your computer instructs the response to be sent back to your IP address on some port that you opened to receive that data. By using ports, your computer can keep track of which stream of data belongs to what.</td></tr> <tr><td> </td><td style="background: #eee; font-size: smaller;"></td><td> </td><td style="background: #eee; font-size: smaller;"></td></tr> </table> Ian5142 http://wiki.dd-wrt.com/wiki/index.php?title=Port_Forwarding&diff=50295&oldid=prev Bib: ..., and the range from 172.16.0.0 to 172.31.255.255 "are strictly private addresses"... 2015-08-29T20:21:27Z <p>..., and the range from 172.16.0.0 to 172.31.255.255 &quot;are strictly private addresses&quot;...</p> <table border='0' width='98%' cellpadding='0' cellspacing='4' style="background-color: white;"> <tr> <td colspan='2' width='50%' align='center' style="background-color: white;">←Older revision</td> <td colspan='2' width='50%' align='center' style="background-color: white;">Revision as of 20:21, 29 August 2015</td> </tr> <tr><td colspan="2" align="left"><strong>Line 4:</strong></td> <td colspan="2" align="left"><strong>Line 4:</strong></td></tr> <tr><td> </td><td style="background: #eee; font-size: smaller;">For example, when requesting a webpage with some text and 1 image, your web browser might ask that the main text content be sent back to it on port 10345 and the image be sent back on 10548. It might also be receiving instant messages on other ports and e-mails on yet other ports. The ports here don't matter because your computer just makes them up on the fly. What does matter are server ports. A web server doesn't announce that it's waiting for webpage requests on port 80, that's just known. It's a standard. In fact, all of the ports from 1-1024 are set aside for such standardization.</td><td> </td><td style="background: #eee; font-size: smaller;">For example, when requesting a webpage with some text and 1 image, your web browser might ask that the main text content be sent back to it on port 10345 and the image be sent back on 10548. It might also be receiving instant messages on other ports and e-mails on yet other ports. The ports here don't matter because your computer just makes them up on the fly. What does matter are server ports. A web server doesn't announce that it's waiting for webpage requests on port 80, that's just known. It's a standard. In fact, all of the ports from 1-1024 are set aside for such standardization.</td></tr> <tr><td> </td><td style="background: #eee; font-size: smaller;"></td><td> </td><td style="background: #eee; font-size: smaller;"></td></tr> <tr><td>-</td><td style="background: #ffa; font-size: smaller;">On the internet there are two types of addresses: public IP addresses and [[private IP addresses]]. Public IP addresses are those addresses that are routable on the internet. These consist of the bulk of all IP addresses. Addresses that begin with 10.x.y.z or 192.168.x.y (where x, y, and z can be anything 0-255) are strictly private addresses and cannot exist on the internet. Additionally, 127.x.y.z is set aside as the local loop back address and, depending on your computer, 127.x.y.z will reach your own system. On most computers this is limited to 127.0.0.1, but that needn't be so.</td><td>+</td><td style="background: #cfc; font-size: smaller;">On the internet there are two types of addresses: public IP addresses and [[private IP addresses]]. Public IP addresses are those addresses that are routable on the internet. These consist of the bulk of all IP addresses. Addresses that begin with 10.x.y.z or 192.168.x.y (where x, y, and z can be anything 0-255)<ins style="color: red; font-weight: bold; text-decoration: none;">, and the range from 172.16.0.0 to 172.31.255.255 </ins>are strictly private addresses and cannot exist on the internet. Additionally, 127.x.y.z is set aside as the local loop back address and, depending on your computer, 127.x.y.z will reach your own system. On most computers this is limited to 127.0.0.1, but that needn't be so.</td></tr> <tr><td> </td><td style="background: #eee; font-size: smaller;"></td><td> </td><td style="background: #eee; font-size: smaller;"></td></tr> <tr><td> </td><td style="background: #eee; font-size: smaller;">There are only 2&lt;sup&gt;32&lt;/sup&gt; ''possible'' IP addresses, and worldwide there are many more than 2&lt;sup&gt;32&lt;/sup&gt; devices (computers, printers, scanners, etc) that would like to have internet IP addresses. Private Addresses and, more specifically, NAT were setup to solve the problem of a limited number of IP addresses. The new IP Protocol specification, IPv6 intends to solve this problem by increasing the number of addresses.</td><td> </td><td style="background: #eee; font-size: smaller;">There are only 2&lt;sup&gt;32&lt;/sup&gt; ''possible'' IP addresses, and worldwide there are many more than 2&lt;sup&gt;32&lt;/sup&gt; devices (computers, printers, scanners, etc) that would like to have internet IP addresses. Private Addresses and, more specifically, NAT were setup to solve the problem of a limited number of IP addresses. The new IP Protocol specification, IPv6 intends to solve this problem by increasing the number of addresses.</td></tr> </table> Bib http://wiki.dd-wrt.com/wiki/index.php?title=Port_Forwarding&diff=43312&oldid=prev Glenn: /* Introduction */ +link 2012-06-28T20:57:07Z <p><span class="autocomment">Introduction -</span> +link</p> <table border='0' width='98%' cellpadding='0' cellspacing='4' style="background-color: white;"> <tr> <td colspan='2' width='50%' align='center' style="background-color: white;">←Older revision</td> <td colspan='2' width='50%' align='center' style="background-color: white;">Revision as of 20:57, 28 June 2012</td> </tr> <tr><td colspan="2" align="left"><strong>Line 8:</strong></td> <td colspan="2" align="left"><strong>Line 8:</strong></td></tr> <tr><td> </td><td style="background: #eee; font-size: smaller;">There are only 2&lt;sup&gt;32&lt;/sup&gt; ''possible'' IP addresses, and worldwide there are many more than 2&lt;sup&gt;32&lt;/sup&gt; devices (computers, printers, scanners, etc) that would like to have internet IP addresses. Private Addresses and, more specifically, NAT were setup to solve the problem of a limited number of IP addresses. The new IP Protocol specification, IPv6 intends to solve this problem by increasing the number of addresses.</td><td> </td><td style="background: #eee; font-size: smaller;">There are only 2&lt;sup&gt;32&lt;/sup&gt; ''possible'' IP addresses, and worldwide there are many more than 2&lt;sup&gt;32&lt;/sup&gt; devices (computers, printers, scanners, etc) that would like to have internet IP addresses. Private Addresses and, more specifically, NAT were setup to solve the problem of a limited number of IP addresses. The new IP Protocol specification, IPv6 intends to solve this problem by increasing the number of addresses.</td></tr> <tr><td> </td><td style="background: #eee; font-size: smaller;"></td><td> </td><td style="background: #eee; font-size: smaller;"></td></tr> <tr><td>-</td><td style="background: #ffa; font-size: smaller;">Network Address Translation (NAT) works by making an entire network of privately addressed devices appear as just 1 device on the internet. NAT is usually done inside of a router, like the WRT54G, but can also be done on a computer running Linux, MAC OS, or Windows provided you have more than 1 network adapter.</td><td>+</td><td style="background: #cfc; font-size: smaller;"><ins style="color: red; font-weight: bold; text-decoration: none;">[[</ins>Network Address Translation<ins style="color: red; font-weight: bold; text-decoration: none;">]] </ins>(NAT) works by making an entire network of privately addressed devices appear as just 1 device on the internet. NAT is usually done inside of a router, like the WRT54G, but can also be done on a computer running Linux, MAC OS, or Windows provided you have more than 1 network adapter.</td></tr> <tr><td> </td><td style="background: #eee; font-size: smaller;"></td><td> </td><td style="background: #eee; font-size: smaller;"></td></tr> <tr><td> </td><td style="background: #eee; font-size: smaller;">When a computer behind a NAT device makes a call to the internet, it sends it's packet to the NAT device just as though it were going to send it directly to it's destination. To the privately addressed device, the NAT device appears to be any ordinary router.</td><td> </td><td style="background: #eee; font-size: smaller;">When a computer behind a NAT device makes a call to the internet, it sends it's packet to the NAT device just as though it were going to send it directly to it's destination. To the privately addressed device, the NAT device appears to be any ordinary router.</td></tr> </table> Glenn http://wiki.dd-wrt.com/wiki/index.php?title=Port_Forwarding&diff=43311&oldid=prev Glenn: /* Introduction */ +link 2012-06-28T20:56:35Z <p><span class="autocomment">Introduction -</span> +link</p> <table border='0' width='98%' cellpadding='0' cellspacing='4' style="background-color: white;"> <tr> <td colspan='2' width='50%' align='center' style="background-color: white;">←Older revision</td> <td colspan='2' width='50%' align='center' style="background-color: white;">Revision as of 20:56, 28 June 2012</td> </tr> <tr><td colspan="2" align="left"><strong>Line 4:</strong></td> <td colspan="2" align="left"><strong>Line 4:</strong></td></tr> <tr><td> </td><td style="background: #eee; font-size: smaller;">For example, when requesting a webpage with some text and 1 image, your web browser might ask that the main text content be sent back to it on port 10345 and the image be sent back on 10548. It might also be receiving instant messages on other ports and e-mails on yet other ports. The ports here don't matter because your computer just makes them up on the fly. What does matter are server ports. A web server doesn't announce that it's waiting for webpage requests on port 80, that's just known. It's a standard. In fact, all of the ports from 1-1024 are set aside for such standardization.</td><td> </td><td style="background: #eee; font-size: smaller;">For example, when requesting a webpage with some text and 1 image, your web browser might ask that the main text content be sent back to it on port 10345 and the image be sent back on 10548. It might also be receiving instant messages on other ports and e-mails on yet other ports. The ports here don't matter because your computer just makes them up on the fly. What does matter are server ports. A web server doesn't announce that it's waiting for webpage requests on port 80, that's just known. It's a standard. In fact, all of the ports from 1-1024 are set aside for such standardization.</td></tr> <tr><td> </td><td style="background: #eee; font-size: smaller;"></td><td> </td><td style="background: #eee; font-size: smaller;"></td></tr> <tr><td>-</td><td style="background: #ffa; font-size: smaller;">On the internet there are two types of addresses: public IP addresses and private IP addresses. Public IP addresses are those addresses that are routable on the internet. These consist of the bulk of all IP addresses. Addresses that begin with 10.x.y.z or 192.168.x.y (where x, y, and z can be anything 0-255) are strictly private addresses and cannot exist on the internet. Additionally, 127.x.y.z is set aside as the local loop back address and, depending on your computer, 127.x.y.z will reach your own system. On most computers this is limited to 127.0.0.1, but that needn't be so.</td><td>+</td><td style="background: #cfc; font-size: smaller;">On the internet there are two types of addresses: public IP addresses and <ins style="color: red; font-weight: bold; text-decoration: none;">[[</ins>private IP addresses<ins style="color: red; font-weight: bold; text-decoration: none;">]]</ins>. Public IP addresses are those addresses that are routable on the internet. These consist of the bulk of all IP addresses. Addresses that begin with 10.x.y.z or 192.168.x.y (where x, y, and z can be anything 0-255) are strictly private addresses and cannot exist on the internet. Additionally, 127.x.y.z is set aside as the local loop back address and, depending on your computer, 127.x.y.z will reach your own system. On most computers this is limited to 127.0.0.1, but that needn't be so.</td></tr> <tr><td> </td><td style="background: #eee; font-size: smaller;"></td><td> </td><td style="background: #eee; font-size: smaller;"></td></tr> <tr><td> </td><td style="background: #eee; font-size: smaller;">There are only 2&lt;sup&gt;32&lt;/sup&gt; ''possible'' IP addresses, and worldwide there are many more than 2&lt;sup&gt;32&lt;/sup&gt; devices (computers, printers, scanners, etc) that would like to have internet IP addresses. Private Addresses and, more specifically, NAT were setup to solve the problem of a limited number of IP addresses. The new IP Protocol specification, IPv6 intends to solve this problem by increasing the number of addresses.</td><td> </td><td style="background: #eee; font-size: smaller;">There are only 2&lt;sup&gt;32&lt;/sup&gt; ''possible'' IP addresses, and worldwide there are many more than 2&lt;sup&gt;32&lt;/sup&gt; devices (computers, printers, scanners, etc) that would like to have internet IP addresses. Private Addresses and, more specifically, NAT were setup to solve the problem of a limited number of IP addresses. The new IP Protocol specification, IPv6 intends to solve this problem by increasing the number of addresses.</td></tr> </table> Glenn http://wiki.dd-wrt.com/wiki/index.php?title=Port_Forwarding&diff=42980&oldid=prev LOM: /* Introduction */ 2012-06-22T07:06:26Z <p><span class="autocomment">Introduction</span></p> <table border='0' width='98%' cellpadding='0' cellspacing='4' style="background-color: white;"> <tr> <td colspan='2' width='50%' align='center' style="background-color: white;">←Older revision</td> <td colspan='2' width='50%' align='center' style="background-color: white;">Revision as of 07:06, 22 June 2012</td> </tr> <tr><td colspan="2" align="left"><strong>Line 2:</strong></td> <td colspan="2" align="left"><strong>Line 2:</strong></td></tr> <tr><td> </td><td style="background: #eee; font-size: smaller;">The internet works using two main address units: the IP Address and the port. When your computer makes a call on the internet--trying to load www.dd-wrt.com for example--it starts by asking the IP address of www.dd-wrt.com for the webpage. However, it can't just ask dd-wrt.com's IP address for the webpage files--that would be like leaving off the apartment number when mailing someone. It needs to ask dd-wrt.com's IP address on port 80--the universal webpage port. Your computer instructs the response to be sent back to your IP address on some port that you opened to receive that data. By using ports, your computer can keep track of which stream of data belongs to what.</td><td> </td><td style="background: #eee; font-size: smaller;">The internet works using two main address units: the IP Address and the port. When your computer makes a call on the internet--trying to load www.dd-wrt.com for example--it starts by asking the IP address of www.dd-wrt.com for the webpage. However, it can't just ask dd-wrt.com's IP address for the webpage files--that would be like leaving off the apartment number when mailing someone. It needs to ask dd-wrt.com's IP address on port 80--the universal webpage port. Your computer instructs the response to be sent back to your IP address on some port that you opened to receive that data. By using ports, your computer can keep track of which stream of data belongs to what.</td></tr> <tr><td> </td><td style="background: #eee; font-size: smaller;"></td><td> </td><td style="background: #eee; font-size: smaller;"></td></tr> <tr><td>-</td><td style="background: #ffa; font-size: smaller;">For example, when requesting a webpage with some text and 1 image, your web browser might ask that the main text content be sent back to it on port 10345 and the image be sent back on 10548. It might also be <del style="color: red; font-weight: bold; text-decoration: none;">recieving </del>instant messages on other ports and e-mails on yet other ports. The ports here don't matter because your computer just makes them up on the fly. What does matter are server ports. A web server doesn't announce that it's waiting for webpage requests on port 80, that's just known. It's a standard. In fact, all of the ports from 1-1024 are set aside for such standardization.</td><td>+</td><td style="background: #cfc; font-size: smaller;">For example, when requesting a webpage with some text and 1 image, your web browser might ask that the main text content be sent back to it on port 10345 and the image be sent back on 10548. It might also be <ins style="color: red; font-weight: bold; text-decoration: none;">receiving </ins>instant messages on other ports and e-mails on yet other ports. The ports here don't matter because your computer just makes them up on the fly. What does matter are server ports. A web server doesn't announce that it's waiting for webpage requests on port 80, that's just known. It's a standard. In fact, all of the ports from 1-1024 are set aside for such standardization.</td></tr> <tr><td> </td><td style="background: #eee; font-size: smaller;"></td><td> </td><td style="background: #eee; font-size: smaller;"></td></tr> <tr><td> </td><td style="background: #eee; font-size: smaller;">On the internet there are two types of addresses: public IP addresses and private IP addresses. Public IP addresses are those addresses that are routable on the internet. These consist of the bulk of all IP addresses. Addresses that begin with 10.x.y.z or 192.168.x.y (where x, y, and z can be anything 0-255) are strictly private addresses and cannot exist on the internet. Additionally, 127.x.y.z is set aside as the local loop back address and, depending on your computer, 127.x.y.z will reach your own system. On most computers this is limited to 127.0.0.1, but that needn't be so.</td><td> </td><td style="background: #eee; font-size: smaller;">On the internet there are two types of addresses: public IP addresses and private IP addresses. Public IP addresses are those addresses that are routable on the internet. These consist of the bulk of all IP addresses. Addresses that begin with 10.x.y.z or 192.168.x.y (where x, y, and z can be anything 0-255) are strictly private addresses and cannot exist on the internet. Additionally, 127.x.y.z is set aside as the local loop back address and, depending on your computer, 127.x.y.z will reach your own system. On most computers this is limited to 127.0.0.1, but that needn't be so.</td></tr> <tr><td colspan="2" align="left"><strong>Line 46:</strong></td> <td colspan="2" align="left"><strong>Line 46:</strong></td></tr> <tr><td> </td><td style="background: #eee; font-size: smaller;">Port Forwarding is generally considered when you manually define a rule in the router to send all data received on some range of ports on the internet side (WAN Jack) to a port and IP address on the LAN side (LAN Jacks or Wireless Antennas).</td><td> </td><td style="background: #eee; font-size: smaller;">Port Forwarding is generally considered when you manually define a rule in the router to send all data received on some range of ports on the internet side (WAN Jack) to a port and IP address on the LAN side (LAN Jacks or Wireless Antennas).</td></tr> <tr><td> </td><td style="background: #eee; font-size: smaller;"></td><td> </td><td style="background: #eee; font-size: smaller;"></td></tr> <tr><td>-</td><td style="background: #ffa; font-size: smaller;">You will need to do this whenever your computer opens a port to receive connections without first connecting to a machine on the internet. This happens if you're running a <del style="color: red; font-weight: bold; text-decoration: none;">Webserver </del>(80), FTP Server (21), SSH <del style="color: red; font-weight: bold; text-decoration: none;">Server</del>(22) etc on one of your local computers that you would like to be visible on the internet. Many games and instant messaging clients also open ports without trying to connect out first, and these ports may need to be specifically defined as well.</td><td>+</td><td style="background: #cfc; font-size: smaller;">You will need to do this whenever your computer opens a port to receive connections without first connecting to a machine on the internet. This happens if you're running a <ins style="color: red; font-weight: bold; text-decoration: none;">Web server </ins>(80), FTP Server (21), SSH <ins style="color: red; font-weight: bold; text-decoration: none;">server</ins>(22) etc on one of your local computers that you would like to be visible on the internet. Many games and instant messaging clients also open ports without trying to connect out first, and these ports may need to be specifically defined as well.</td></tr> <tr><td> </td><td style="background: #eee; font-size: smaller;"></td><td> </td><td style="background: #eee; font-size: smaller;"></td></tr> <tr><td> </td><td style="background: #eee; font-size: smaller;">==Configuring Port Forwarding==</td><td> </td><td style="background: #eee; font-size: smaller;">==Configuring Port Forwarding==</td></tr> </table> LOM http://wiki.dd-wrt.com/wiki/index.php?title=Port_Forwarding&diff=42979&oldid=prev LOM: /* Introduction */ 2012-06-22T07:04:08Z <p><span class="autocomment">Introduction</span></p> <table border='0' width='98%' cellpadding='0' cellspacing='4' style="background-color: white;"> <tr> <td colspan='2' width='50%' align='center' style="background-color: white;">←Older revision</td> <td colspan='2' width='50%' align='center' style="background-color: white;">Revision as of 07:04, 22 June 2012</td> </tr> <tr><td colspan="2" align="left"><strong>Line 1:</strong></td> <td colspan="2" align="left"><strong>Line 1:</strong></td></tr> <tr><td> </td><td style="background: #eee; font-size: smaller;">==Introduction==</td><td> </td><td style="background: #eee; font-size: smaller;">==Introduction==</td></tr> <tr><td>-</td><td style="background: #ffa; font-size: smaller;">The internet works using two main address units: the IP Address and the port. When your computer makes a call on the internet--trying to load www.dd-wrt.com for example--it starts by asking the IP address of www.dd-wrt.com for the webpage. However, it can't just ask dd-wrt.com's IP address for the webpage files--that would be like leaving off the apartment number when mailing someone. It needs to ask dd-wrt.com's IP address on port 80--the universal webpage port. Your computer instructs the response to be sent back to your IP address on some port that you opened to <del style="color: red; font-weight: bold; text-decoration: none;">recieve </del>that data. By using ports, your computer can keep track of which stream of data belongs to what.</td><td>+</td><td style="background: #cfc; font-size: smaller;">The internet works using two main address units: the IP Address and the port. When your computer makes a call on the internet--trying to load www.dd-wrt.com for example--it starts by asking the IP address of www.dd-wrt.com for the webpage. However, it can't just ask dd-wrt.com's IP address for the webpage files--that would be like leaving off the apartment number when mailing someone. It needs to ask dd-wrt.com's IP address on port 80--the universal webpage port. Your computer instructs the response to be sent back to your IP address on some port that you opened to <ins style="color: red; font-weight: bold; text-decoration: none;">receive </ins>that data. By using ports, your computer can keep track of which stream of data belongs to what.</td></tr> <tr><td> </td><td style="background: #eee; font-size: smaller;"></td><td> </td><td style="background: #eee; font-size: smaller;"></td></tr> <tr><td>-</td><td style="background: #ffa; font-size: smaller;">For example, when requesting a webpage with some text and 1 image, your web browser might ask that the main text content be sent back to it on port 10345 and the image be sent back on 10548. It might also be recieving instant messages on other ports and e-mails on yet other ports. The ports here don't matter because your computer just makes them up on the fly. What does matter are server ports. A web server doesn't announce that it's waiting for webpage requests on port 80, that's just known. It's a standard. In fact, all of the ports from 1-1024 are set <del style="color: red; font-weight: bold; text-decoration: none;">asside </del>for such standardization.</td><td>+</td><td style="background: #cfc; font-size: smaller;">For example, when requesting a webpage with some text and 1 image, your web browser might ask that the main text content be sent back to it on port 10345 and the image be sent back on 10548. It might also be recieving instant messages on other ports and e-mails on yet other ports. The ports here don't matter because your computer just makes them up on the fly. What does matter are server ports. A web server doesn't announce that it's waiting for webpage requests on port 80, that's just known. It's a standard. In fact, all of the ports from 1-1024 are set <ins style="color: red; font-weight: bold; text-decoration: none;">aside </ins>for such standardization.</td></tr> <tr><td> </td><td style="background: #eee; font-size: smaller;"></td><td> </td><td style="background: #eee; font-size: smaller;"></td></tr> <tr><td>-</td><td style="background: #ffa; font-size: smaller;">On the internet there are two types of addresses: public IP addresses and private IP addresses. Public IP addresses are those addresses that are routable on the internet. These consist of the bulk of all IP addresses. Addresses that begin with 10.x.y.z or 192.168.x.y (where x, y, and z can be anything 0-255) are strictly private addresses and cannot exist on the internet. Additionally, 127.x.y.z is set <del style="color: red; font-weight: bold; text-decoration: none;">asside </del>as the local loop back address and, depending on your computer, 127.x.y.z will reach your own system. On most computers this is limited to 127.0.0.1, but that needn't be so.</td><td>+</td><td style="background: #cfc; font-size: smaller;">On the internet there are two types of addresses: public IP addresses and private IP addresses. Public IP addresses are those addresses that are routable on the internet. These consist of the bulk of all IP addresses. Addresses that begin with 10.x.y.z or 192.168.x.y (where x, y, and z can be anything 0-255) are strictly private addresses and cannot exist on the internet. Additionally, 127.x.y.z is set <ins style="color: red; font-weight: bold; text-decoration: none;">aside </ins>as the local loop back address and, depending on your computer, 127.x.y.z will reach your own system. On most computers this is limited to 127.0.0.1, but that needn't be so.</td></tr> <tr><td> </td><td style="background: #eee; font-size: smaller;"></td><td> </td><td style="background: #eee; font-size: smaller;"></td></tr> <tr><td> </td><td style="background: #eee; font-size: smaller;">There are only 2&lt;sup&gt;32&lt;/sup&gt; ''possible'' IP addresses, and worldwide there are many more than 2&lt;sup&gt;32&lt;/sup&gt; devices (computers, printers, scanners, etc) that would like to have internet IP addresses. Private Addresses and, more specifically, NAT were setup to solve the problem of a limited number of IP addresses. The new IP Protocol specification, IPv6 intends to solve this problem by increasing the number of addresses.</td><td> </td><td style="background: #eee; font-size: smaller;">There are only 2&lt;sup&gt;32&lt;/sup&gt; ''possible'' IP addresses, and worldwide there are many more than 2&lt;sup&gt;32&lt;/sup&gt; devices (computers, printers, scanners, etc) that would like to have internet IP addresses. Private Addresses and, more specifically, NAT were setup to solve the problem of a limited number of IP addresses. The new IP Protocol specification, IPv6 intends to solve this problem by increasing the number of addresses.</td></tr> <tr><td colspan="2" align="left"><strong>Line 12:</strong></td> <td colspan="2" align="left"><strong>Line 12:</strong></td></tr> <tr><td> </td><td style="background: #eee; font-size: smaller;">When a computer behind a NAT device makes a call to the internet, it sends it's packet to the NAT device just as though it were going to send it directly to it's destination. To the privately addressed device, the NAT device appears to be any ordinary router.</td><td> </td><td style="background: #eee; font-size: smaller;">When a computer behind a NAT device makes a call to the internet, it sends it's packet to the NAT device just as though it were going to send it directly to it's destination. To the privately addressed device, the NAT device appears to be any ordinary router.</td></tr> <tr><td> </td><td style="background: #eee; font-size: smaller;"></td><td> </td><td style="background: #eee; font-size: smaller;"></td></tr> <tr><td>-</td><td style="background: #ffa; font-size: smaller;">When the NAT device <del style="color: red; font-weight: bold; text-decoration: none;">recieves </del>a packet destined for the internet, it reconstructs the packet taking note of the original sender IP and Port and then resends that packet as though it were making the request. When the information comes back, it sends it back to the original device as though it had come from the computer on the internet.</td><td>+</td><td style="background: #cfc; font-size: smaller;">When the NAT device <ins style="color: red; font-weight: bold; text-decoration: none;">receives </ins>a packet destined for the internet, it reconstructs the packet taking note of the original sender IP and Port and then resends that packet as though it were making the request. When the information comes back, it sends it back to the original device as though it had come from the computer on the internet.</td></tr> <tr><td> </td><td style="background: #eee; font-size: smaller;"></td><td> </td><td style="background: #eee; font-size: smaller;"></td></tr> <tr><td> </td><td style="background: #eee; font-size: smaller;">Example:</td><td> </td><td style="background: #eee; font-size: smaller;">Example:</td></tr> <tr><td colspan="2" align="left"><strong>Line 28:</strong></td> <td colspan="2" align="left"><strong>Line 28:</strong></td></tr> <tr><td> </td><td style="background: #eee; font-size: smaller;"> To=207.234.129.65:80 From=64.125.15.256:15846</td><td> </td><td style="background: #eee; font-size: smaller;"> To=207.234.129.65:80 From=64.125.15.256:15846</td></tr> <tr><td> </td><td style="background: #eee; font-size: smaller;"> and makes a note:</td><td> </td><td style="background: #eee; font-size: smaller;"> and makes a note:</td></tr> <tr><td>-</td><td style="background: #ffa; font-size: smaller;"> Anything <del style="color: red; font-weight: bold; text-decoration: none;">recieved </del>on port 15846 goes to 192.168.1.100 on port 16848</td><td>+</td><td style="background: #cfc; font-size: smaller;"> Anything <ins style="color: red; font-weight: bold; text-decoration: none;">received </ins>on port 15846 goes to 192.168.1.100 on port 16848</td></tr> <tr><td> </td><td style="background: #eee; font-size: smaller;"></td><td> </td><td style="background: #eee; font-size: smaller;"></td></tr> <tr><td> </td><td style="background: #eee; font-size: smaller;">3. www.dd-wrt.com responds with</td><td> </td><td style="background: #eee; font-size: smaller;">3. www.dd-wrt.com responds with</td></tr> </table> LOM http://wiki.dd-wrt.com/wiki/index.php?title=Port_Forwarding&diff=40620&oldid=prev Phuzi0n: /* Automatic */ 2011-06-15T06:38:36Z <p><span class="autocomment">Automatic</span></p> <table border='0' width='98%' cellpadding='0' cellspacing='4' style="background-color: white;"> <tr> <td colspan='2' width='50%' align='center' style="background-color: white;">←Older revision</td> <td colspan='2' width='50%' align='center' style="background-color: white;">Revision as of 06:38, 15 June 2011</td> </tr> <tr><td colspan="2" align="left"><strong>Line 111:</strong></td> <td colspan="2" align="left"><strong>Line 111:</strong></td></tr> <tr><td> </td><td style="background: #eee; font-size: smaller;">===Port Forwarding using UPnP===</td><td> </td><td style="background: #eee; font-size: smaller;">===Port Forwarding using UPnP===</td></tr> <tr><td> </td><td style="background: #eee; font-size: smaller;">====Automatic====</td><td> </td><td style="background: #eee; font-size: smaller;">====Automatic====</td></tr> <tr><td>-</td><td style="background: #ffa; font-size: smaller;">Using UPnP, applications that support it can automatically tell the router to open the port they're listening on and close them when their done listening. Automatic port forwarding with UPnP means you don't have to worry about IP address, ports, or anything like that. <del style="color: red; font-weight: bold; text-decoration: none;">It really </del>is the easiest way to Port Forward<del style="color: red; font-weight: bold; text-decoration: none;">, and is the '''Best''' method for '''P2P software like Bitorrent'''</del>.<del style="color: red; font-weight: bold; text-decoration: none;">&lt;br&gt;</del></td><td>+</td><td style="background: #cfc; font-size: smaller;">Using UPnP, applications that support it can automatically tell the router to open the port they're listening on and close them when their done listening. Automatic port forwarding with UPnP means you don't have to worry about IP address, ports, or anything like that. <ins style="color: red; font-weight: bold; text-decoration: none;">UPnP </ins>is the easiest way to Port Forward.</td></tr> <tr><td> </td><td style="background: #eee; font-size: smaller;"></td><td> </td><td style="background: #eee; font-size: smaller;"></td></tr> <tr><td> </td><td style="background: #eee; font-size: smaller;">=====On router side=====</td><td> </td><td style="background: #eee; font-size: smaller;">=====On router side=====</td></tr> </table> Phuzi0n http://wiki.dd-wrt.com/wiki/index.php?title=Port_Forwarding&diff=37135&oldid=prev Phuzi0n: /* Introduction */ - fix the wacky drawing 2010-11-16T22:38:58Z <p><span class="autocomment">Introduction -</span> - fix the wacky drawing</p> <table border='0' width='98%' cellpadding='0' cellspacing='4' style="background-color: white;"> <tr> <td colspan='2' width='50%' align='center' style="background-color: white;">←Older revision</td> <td colspan='2' width='50%' align='center' style="background-color: white;">Revision as of 22:38, 16 November 2010</td> </tr> <tr><td colspan="2" align="left"><strong>Line 16:</strong></td> <td colspan="2" align="left"><strong>Line 16:</strong></td></tr> <tr><td> </td><td style="background: #eee; font-size: smaller;">Example:</td><td> </td><td style="background: #eee; font-size: smaller;">Example:</td></tr> <tr><td> </td><td style="background: #eee; font-size: smaller;">&lt;pre&gt;</td><td> </td><td style="background: #eee; font-size: smaller;">&lt;pre&gt;</td></tr> <tr><td>-</td><td style="background: #ffa; font-size: smaller;"><del style="color: red; font-weight: bold; text-decoration: none;"> ___ ___</del></td><td>+</td><td style="background: #cfc; font-size: smaller;"><ins style="color: red; font-weight: bold; text-decoration: none;"> ____ ______</ins></td></tr> <tr><td>-</td><td style="background: #ffa; font-size: smaller;"><del style="color: red; font-weight: bold; text-decoration: none;"> __</del>\ /<del style="color: red; font-weight: bold; text-decoration: none;">____/ </del>\ <del style="color: red; font-weight: bold; text-decoration: none;">Broadband | </del>WRT54G <del style="color: red; font-weight: bold; text-decoration: none;"> </del>|</td><td>+</td><td style="background: #cfc; font-size: smaller;"><ins style="color: red; font-weight: bold; text-decoration: none;"> / </ins>\/ <ins style="color: red; font-weight: bold; text-decoration: none;"> </ins>\ <ins style="color: red; font-weight: bold; text-decoration: none;"> Internet | </ins> WRT54G <ins style="color: red; font-weight: bold; text-decoration: none;"> </ins>|</td></tr> <tr><td>-</td><td style="background: #ffa; font-size: smaller;"> www.dd-wrt.com-----<del style="color: red; font-weight: bold; text-decoration: none;">-/</del>(The Internet)<del style="color: red; font-weight: bold; text-decoration: none;">\-</del>----Connection<del style="color: red; font-weight: bold; text-decoration: none;">-</del>---|WAN 64.125.x.y |</td><td>+</td><td style="background: #cfc; font-size: smaller;"> www.dd-wrt.com-----<ins style="color: red; font-weight: bold; text-decoration: none;">| </ins>(The Internet) <ins style="color: red; font-weight: bold; text-decoration: none;"> |</ins>----Connection---| WAN 64.125.x.y <ins style="color: red; font-weight: bold; text-decoration: none;"> </ins>|</td></tr> <tr><td>-</td><td style="background: #ffa; font-size: smaller;"> (207.234.129.65:80) \__/\<del style="color: red; font-weight: bold; text-decoration: none;">__</del>/\<del style="color: red; font-weight: bold; text-decoration: none;">______</del>/ <del style="color: red; font-weight: bold; text-decoration: none;"> </del>|LAN 192.168.1.1|-----Computer A</td><td>+</td><td style="background: #cfc; font-size: smaller;"> (207.234.129.65:80) \__/\<ins style="color: red; font-weight: bold; text-decoration: none;">___</ins>/\<ins style="color: red; font-weight: bold; text-decoration: none;">_____</ins>/ <ins style="color: red; font-weight: bold; text-decoration: none;"> </ins>| LAN 192.168.1.1 |-----Computer A</td></tr> <tr><td>-</td><td style="background: #ffa; font-size: smaller;"><del style="color: red; font-weight: bold; text-decoration: none;"> </del>(Cloud) ;) <del style="color: red; font-weight: bold; text-decoration: none;"> </del>192.168.1.100</td><td>+</td><td style="background: #cfc; font-size: smaller;"><ins style="color: red; font-weight: bold; text-decoration: none;"> </ins>(Cloud) ;) <ins style="color: red; font-weight: bold; text-decoration: none;"> </ins>192.168.1.100</td></tr> <tr><td> </td><td style="background: #eee; font-size: smaller;"></td><td> </td><td style="background: #eee; font-size: smaller;"></td></tr> <tr><td> </td><td style="background: #eee; font-size: smaller;">1. Computer A tries to connect to www.dd-wrt.com, it sends a packet like:</td><td> </td><td style="background: #eee; font-size: smaller;">1. Computer A tries to connect to www.dd-wrt.com, it sends a packet like:</td></tr> <tr><td colspan="2" align="left"><strong>Line 47:</strong></td> <td colspan="2" align="left"><strong>Line 47:</strong></td></tr> <tr><td> </td><td style="background: #eee; font-size: smaller;"></td><td> </td><td style="background: #eee; font-size: smaller;"></td></tr> <tr><td> </td><td style="background: #eee; font-size: smaller;">You will need to do this whenever your computer opens a port to receive connections without first connecting to a machine on the internet. This happens if you're running a Webserver (80), FTP Server (21), SSH Server(22) etc on one of your local computers that you would like to be visible on the internet. Many games and instant messaging clients also open ports without trying to connect out first, and these ports may need to be specifically defined as well.</td><td> </td><td style="background: #eee; font-size: smaller;">You will need to do this whenever your computer opens a port to receive connections without first connecting to a machine on the internet. This happens if you're running a Webserver (80), FTP Server (21), SSH Server(22) etc on one of your local computers that you would like to be visible on the internet. Many games and instant messaging clients also open ports without trying to connect out first, and these ports may need to be specifically defined as well.</td></tr> <tr><td>-</td><td style="background: #ffa; font-size: smaller;"></td><td colspan="2">&nbsp;</td></tr> <tr><td>-</td><td style="background: #ffa; font-size: smaller;"></td><td colspan="2">&nbsp;</td></tr> <tr><td> </td><td style="background: #eee; font-size: smaller;"></td><td> </td><td style="background: #eee; font-size: smaller;"></td></tr> <tr><td> </td><td style="background: #eee; font-size: smaller;">==Configuring Port Forwarding==</td><td> </td><td style="background: #eee; font-size: smaller;">==Configuring Port Forwarding==</td></tr> </table> Phuzi0n