Make WAN address always respond as such (iptables rules?)

Nicholas Leippe nick at
Tue Jan 23 14:02:46 MST 2007

On Tuesday 23 January 2007 13:12, Shane Hathaway wrote:
> Andrew Jorgensen wrote:
> > On 1/22/07, Shane Hathaway <shane at> wrote:
> >> What does iptables -L tell you?  Do the forwarding rules specify an
> >> --in-interface (-i)?  Maybe you can just eliminate that part of the
> >> conditions.
> >
> > This is pretty much the default state on OpenWRT with a couple of
> > ports accepted and a couple forwarded:
> >
> > # iptables -L
> (snip)
> I think you need a DNAT rule to get what you want, and now I realize
> that the command I gave you won't list NAT rules.  Try this:

You'll need both a DNAT and a SNAT rule if you don't want to do an internal 
zone in your DNS.  See:

More information about the PLUG mailing list