|
Reload this page using its associated frames
| ||||||||
Is proper U-bend forwarding required at all to play TA?Your router only needs to implement a proper U-bend forwarding behavior if the following conditions are to be true:
How does ubendcheck test the router?ubendcheck tests the router's U-bend forwarding implementation by a very simple approach:On a LAN computer located behind the router one instance of the program is started in server mode and another one in client mode. The two program instances make the end points of the U-bend. The test itself is conducted as follows: The client instance sends data to the router's WAN IP, directed to a port [p1]for which a forwarding rule exists that points back to the LAN IP of the computer that runs the server instance. It's the task of the server incarnation to wait on said port for connection requests. If U-bend forwarding is implemented properly by the router then the data sent by the client instance should be redirected to the server incarnation of ubendcheck. Upon receive of the test data the server instance logs the source IP and source port of the supposed sender and sends that information back to the entity indentified by the current source IP:port values in the IP header of the initial TCP connection packet/UDP datagram packet.
nw.nw.nw.nw - WAN IP address of the router
cl.cl.cl.cl - LAN IP address of the computer running the ubendcheck instances
[p1] listen port bound by ubendcheck server instance
[p2] port locally bound by ubendcheck client instance
+------------------------------------------------------------------------------------+.....................
| |
| |
| |
| |
| |
| |
| port forwarding rule for [p1] |
| ===================================================================o | router WAN interface
| A | |
| | | |
| | | |
| | port forwarding rule for [p2] | |
| | ===o========================= | |
| | | A | |
| | | | | |
| | | | | |
+--------|----------------------|--------------------|----------------------|--------+.....................
| | | | | |
| | | | | |
| | | | | |
| | | | | | router LAN interface
| | | | | |
| | | | | |
| | | | | |
+--------|----------------------|--------------------|----------------------|--------+.....................
| | | |
| | | |
| | | |
| |
| target: cl.cl.cl.cl:[p2] | target: cl.cl.cl.cl:[p1]
| source: nw.nw.nw.nw:[p1] | source: nw.nw.nw.nw:[p2]
| |
| | | |
| | | |
| | | |
| |
target: nw.nw.nw.nw:[p1] | target: nw.nw.nw.nw:[p2] |
source: cl.cl.cl.cl:[p2] | source: cl.cl.cl.cl:[p1] |
| |
| | | |
| | | |
| | | |
+--------|----------------------|--------------------|----------------------|--------+
| | | | | |
| | | | | |
| | V | V |
| +---o--------------------------+ +---o--------------------------+ |
| | | | | |
| | ubendcheck client instance | | ubendcheck server instance | |
| | | | | |
| +------------------------------+ +------------------------------+ |
| |
| |
| |
| LAN Computer |
| |
| |
+------------------------------------------------------------------------------------+
Note that the graphic above describes an optimal U-bend forwarding environment. Depending on
the router implementation and the forwarding rules you have setup things might look a bit
dfifferent. For example, some routers might be able to provide an automatically generated
reply path for the data sent back by the server instance based on the path the inital request
took thru the WAN interface. In case of an implicitly created reply path the router might be
using arbitrarly picked port numbers when it comes to change the source information in IP
headers before reinjecting network packets back into the LAN.So removing the port forwarding rule for [p2] might change things as showed below:
nw.nw.nw.nw - WAN IP address of the router
cl.cl.cl.cl - LAN IP address of the computer running the ubendcheck instances
[p1] listen port bound by ubendcheck server instance
[p2] port locally bound by ubendcheck client instance
[pA] arbitrarily picked port
+------------------------------------------------------------------------------------+.....................
| |
| |
| |
| |
| |
| |
| port forwarding rule for [p1] |
| ===================================================================o | router WAN interface
| A | |
| | | |
| | | |
| | implicitly generated reply path for [p1] | |
| | =========o============================== | |
| | | A | |
| | | | | |
| | | | | |
+--------|----------------------|--------------------|----------------------|--------+.....................
| | | | | |
| | | | | |
| | | | | |
| | | | | | router LAN interface
| | | | | |
| | | | | |
| | | | | |
+--------|----------------------|--------------------|----------------------|--------+.....................
| | | |
| | | |
| | | |
| |
| target: cl.cl.cl.cl:[p2] | target: cl.cl.cl.cl:[p1]
| source: nw.nw.nw.nw:[p1] | source: nw.nw.nw.nw:[pA]
| |
| | | |
| | | |
| | | |
| |
target: nw.nw.nw.nw:[p1] | target: nw.nw.nw.nw:[pA] |
source: cl.cl.cl.cl:[p2] | source: cl.cl.cl.cl:[p1] |
| |
| | | |
| | | |
| | | |
+--------|----------------------|--------------------|----------------------|--------+
| | | | | |
| | | | | |
| | V | V |
| +---o--------------------------+ +---o--------------------------+ |
| | | | | |
| | ubendcheck client instance | | ubendcheck server instance | |
| | | | | |
| +------------------------------+ +------------------------------+ |
| |
| |
| |
| LAN Computer |
| |
| |
+------------------------------------------------------------------------------------+
If you had already problems to understand anything up to here then you have very likely approached
the whole router issue from the wrong end and should start over with the
basics.
The test process in detail
ConclusionsIf your router is a hardware based solution (as in cable/DSL modem router hybrid or stand alone DSL router) and lacks the desired level of U-bend forwarding support then you should first check whether there is a firmware update available. If you are lucky then your problem will be fixed after having patched the firmware with an up to date version.If the router still fails to provide proper U-bend forwarding after the firmware update than you have to live with the fact that the developers who created its firmware did screw things up a bit. Also, if your router supports UPnP then this is still a fallback option you can pick instead trying to setup everything manually. Not a preferred option due to the security risks it introduceds to the LAN but nevertheless an option. | ||||||||
|
Page last updated 2006/11/18 by tcbw@tcbw.net |