[CentOS] Re: iptables command to view just nat/forward info by ip

Wed Dec 20 22:38:22 UTC 2006
Dustin Krysak <d.k.emaillists at gmail.com>

On 12/20/06, Dustin Krysak <d.k.emaillists at gmail.com> wrote:
> Hi there... does anyone know of a handy iptables command to look at
> existing nat rules?
>
> I tried:
>
> iptables -t nat -L
>
> Which was close, but the problem is that the DNAT and SNAT list the
> reverse DNS for the IP's, when I would rather see just pure IP's.
>
> I have been reading the man pages and google looking for an answer as well.
>
> Thanks!
>
Disregard.... I missed the option in hte man pages (as I was reading
on the CLI, but found it once I was reading it in a browser.).

Sorry about that!

Dustin