NAT Loopback Routers

From OpenSimulator

(Difference between revisions)
Jump to: navigation, search
(added more Known Good and additional info,)
Line 5: Line 5:
 
This page show a list of routers supporting NAT Loopback feature in order to be able to TP in your region when you host it at home on the same computer or local network. Please, feel free to contribute such a list especially if these routers are cheap :D  
 
This page show a list of routers supporting NAT Loopback feature in order to be able to TP in your region when you host it at home on the same computer or local network. Please, feel free to contribute such a list especially if these routers are cheap :D  
  
"D-Link DGL-4xxx series of routers have the largest available nat table of any router on the market"
+
'''SPECIAL NOTE:'''  Due to the extensive list of routers and capabilities, this is only a basic listing of reported known good routers & modem-router combos and known working devices. 
  
"These routers range from 70$-180$ USD depending on where you live and purchase from."  
+
"D-Link DGL-4xxx series of routers have the largest available nat table of any router on the market.  These routers range from 70$-180$ USD depending on where you live and purchase from."  
  
 
*D-Link DGL-4500 : http://www.dlink.com/products/?pid=643  
 
*D-Link DGL-4500 : http://www.dlink.com/products/?pid=643  
 
*D-Link DGL-4300 : http://www.dlink.com/products/?pid=370  
 
*D-Link DGL-4300 : http://www.dlink.com/products/?pid=370  
*D-Link DGL-4100 : http://www.dlink.com/products/?pid=371
+
*D-Link DGL-4100 : http://www.dlink.com/products/?pid=371  
 +
*D-Link, DIR-635 :  [http://www.dlink.com/products/?pid=DIR-635 http://www.dlink.com/products/?pid=DIR-635]   Easy setup (basically followed instructions for port-forward from the site portforward.com)
 +
*D-Link, DIR-655&nbsp;: http://www.dlink.com/products/?pid=530<br>
  
Other routers  
+
'''Other routers &amp; Hardware'''
  
 
*NETGEAR WNR834M&nbsp;: ftp://downloads.netgear.com/files/wnr834m_ref_manual.pdf  
 
*NETGEAR WNR834M&nbsp;: ftp://downloads.netgear.com/files/wnr834m_ref_manual.pdf  
 
*NETGEAR WNR2000&nbsp;: With firmware 1.2.3.7 ( http://kb.netgear.com/app/answers/detail/a_id/11895 ) loopback now enabled 'out of the box'  
 
*NETGEAR WNR2000&nbsp;: With firmware 1.2.3.7 ( http://kb.netgear.com/app/answers/detail/a_id/11895 ) loopback now enabled 'out of the box'  
*Linksys WRT54G&nbsp;: http://en.wikipedia.org/wiki/Linksys_WRT54G_series  
+
*NETGEAR WGR614&nbsp;: has been confirmed to work out of the box
 +
*Linksys WRT54G&nbsp;&amp; WRT54GS: http://en.wikipedia.org/wiki/Linksys_WRT54G_series  
 
*Arris TM502b&nbsp;: http://portforward.com/english/routers/port_forwarding/Arris/TM502b/  
 
*Arris TM502b&nbsp;: http://portforward.com/english/routers/port_forwarding/Arris/TM502b/  
*NetGear WGR614&nbsp;: has been confirmed to work out of the box
+
*2wire 2701hg-s NOT Loopback capable. but the 2wire 2701hg-B &amp; 2701hg-D Series ARE loopback capable.&nbsp; (These can be purchased for approximately $50 USD)  
*2wire 2701hg-s NOT Loopback capable. but the 2wire 2701hg-B &amp; 2701hg-D Series ARE loopback capable.&nbsp; (These can be purchased for approximately $50 USD)
+
*Thompson SpeedTouch router-modem&nbsp;ST-585i (requires Telnet acces to it to Enable Loopback)
 +
*Thompson Speedtouch ST-780, ST-516
 +
*AVM FritzBox (all Models working perfect)&nbsp;: http://www.avm.de
 +
*Ubee Wireless Cable Router DDW2600&nbsp; [http://www.ubeeinteractive.com/index.php/products/product-overview/wireless_cable_router1/ http://www.ubeeinteractive.com/index.php/products/product-overview/wireless_cable_router1/]<br>
  
(note: NetGear WGR614 does not work with ISP required gateway modems)
+
'''KNOWN&nbsp;non-functional for OpenSim:'''
  
*AVM FritzBox (all Models working perfect)&nbsp;: http://www.avm.de
+
*Netgear Pro Safe VPN FVS318&nbsp;: [http://www.netgear.com/Products/VPNandSSL/WiredVPNFirewallRouters/FVS318.aspx http://www.netgear.com/Products/VPNandSSL/WiredVPNFirewallRouters/FVS318.aspx]
 +
*NetGear WGR614 does not work with ISP required gateway modems)  
 +
*Belkin F5D7230-4 (the router might work if 3rd party firmware is used, such as DD-WRT&nbsp;: http://www.dd-wrt.com/ )
  
Routers that users has experienced problems with
+
<br>
  
*Belkin F5D7230-4
+
'''REFERENCE&nbsp;LINKS:'''
  
(the router might work if 3rd party firmware is used, such as DD-WRT&nbsp;: http://www.dd-wrt.com/ )
+
Thompson Electronics:&nbsp; [http://www.thomsonbroadbandpartner.com/dsl-modems-gateways/products/index.php http://www.thomsonbroadbandpartner.com/dsl-modems-gateways/products/index.php]
 +
 
 +
<br>
  
 
----
 
----

Revision as of 08:57, 11 March 2010



This page show a list of routers supporting NAT Loopback feature in order to be able to TP in your region when you host it at home on the same computer or local network. Please, feel free to contribute such a list especially if these routers are cheap :D

SPECIAL NOTE:  Due to the extensive list of routers and capabilities, this is only a basic listing of reported known good routers & modem-router combos and known working devices. 

"D-Link DGL-4xxx series of routers have the largest available nat table of any router on the market.  These routers range from 70$-180$ USD depending on where you live and purchase from."

Other routers & Hardware

KNOWN non-functional for OpenSim:


REFERENCE LINKS:

Thompson Electronics:  http://www.thomsonbroadbandpartner.com/dsl-modems-gateways/products/index.php



For Linux based Netfilter (iptables) routers, you want to set up the NAT table with some extra entries The following script is something to get you started, you'll need to fix up the variables at the top to match your system and network.
#!/bin/bash
#
# vvvvv - Fix these! - vvvvv
IPTABLES=/usr/sbin/iptables
LAN_NETWORK=192.168.0.0/24
SERVER_IP=192.168.0.2
INTERNET_IP=100.100.100.100
REMOTING_PORT=8895
REGION_PORT=9000
# ^^^^^ - Fix these! - ^^^^^
 
# First, the Destination NAT, anything going to the external address on our ports, we redirect to the server
# Note, if you have a double NAT running and this router doesn't actually have the internet IP address, you'll
# need another set of PREROUTING-DNAT lines with the --destination (-d) set to the internet facing private address
$IPTABLES -t nat -I PREROUTING -d $INTERNET_IP -p tcp --dport $REMOTING_PORT --jump DNAT --to-destination $SERVER_IP
$IPTABLES -t nat -I PREROUTING -d $INTERNET_IP -p udp --dport $REGION_PORT --jump DNAT --to-destination $SERVER_IP
$IPTABLES -t nat -I PREROUTING -d $INTERNET_IP -p tcp --dport $REGION_PORT --jump DNAT --to-destination $SERVER_IP
 
# Second, the Source NAT, we need this so that returning packets to our LAN clients go back through the router first,
# otherwise, the server will try to talk directly to the client and the client will reject them
$IPTABLES -t nat -I POSTROUTING -s $LAN_NETWORK -d $SERVER_IP -p tcp --dport $REMOTING_PORT --jump SNAT --to-source $INTERNET_IP
$IPTABLES -t nat -I POSTROUTING -s $LAN_NETWORK -d $SERVER_IP -p udp --dport $REGION_PORT --jump SNAT --to-source $INTERNET_IP
$IPTABLES -t nat -I POSTROUTING -s $LAN_NETWORK -d $SERVER_IP -p tcp --dport $REGION_PORT --jump SNAT --to-source $INTERNET_IP

--Hell Fire

If you use openWRT firmware on your router, check here: OpenWRT NAT Loopback

Personal tools
General
About This Wiki