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

Shane Hathaway shane at hathawaymix.org
Tue Jan 23 13:12:04 MST 2007


Andrew Jorgensen wrote:
> On 1/22/07, Shane Hathaway <shane at hathawaymix.org> 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:

iptables -t nat -n -L

Shane




More information about the PLUG mailing list