Does DD-WRT support router loopback?

Post new topic   Reply to topic    DD-WRT Forum Index -> Broadcom SoC based Hardware
Author Message
jaydisc
DD-WRT Novice


Joined: 07 Jun 2006
Posts: 1

PostPosted: Wed Jun 07, 2006 1:41    Post subject: Does DD-WRT support router loopback? Reply with quote
Hi all,

I've been considering the DD-WRT firmare on top of a Linksys WRG45 for quite some time. However, I'm trying to discover if the firmware supports what I can only refer to as router loopback.

Basically, I'd like my router to be providing NAT, and let's say it is assigned a public IP of 203.4.5.6. Let's also say that it is internally assigned an address of 192.168.1.1 and I have my mail server at 192.168.1.201 and thus, I have the router set to use port forwarding from ports 25, 110 and 143 to my mail server's internal IP address.

I wish to configure my laptop to check it's mail at 203.4.5.6. This, of course, always works fom outside the network, but I've found many (most) routers that do NOT support access like this when you are INSIDE the network.

Would DD-WRT enable this? Is there a proper term to describe this functionality?
Sponsor
Eko
DD-WRT Developer/Maintainer


Joined: 07 Jun 2006
Posts: 5771

PostPosted: Wed Jun 07, 2006 5:24    Post subject: Reply with quote
Yes, it supports it.
waveform
DD-WRT Novice


Joined: 07 Jun 2006
Posts: 3

PostPosted: Wed Jun 07, 2006 14:55    Post subject: Reply with quote
Quote:
Is there a proper term to describe this functionality?

I'm not sure if it's the "official" term, but I've generally seen it described as "NAT loopback". The definition on how to implement it using iptables can be found in Section 10 of Rusty Russell's NAT HOWTO
Quote:
but I've found many (most) routers that do NOT support access like this when you are INSIDE the network

Indeed. I had this problem on a Netgear DG834G, but found that it was possible to patch it by editing the iptables configuration manually (the most recent firmware on that router actually fixes the issue). Basically as long as a router is Linux based and gives you telnet/ssh access (and hence the ability to manually tweak the iptables config) it can be made to support NAT loopback properly.

Of course, as Eko's mentioned, this isn't a problem with DD-WRT Smile
Display posts from previous:    Page 1 of 1
Post new topic   Reply to topic    DD-WRT Forum Index -> Broadcom SoC based Hardware All times are GMT

Navigation

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You can attach files in this forum
You can download files in this forum