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

Dustin Krysak

d.k.emaillists at gmail.com
Wed Dec 20 22:30:19 UTC 2006


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!



More information about the CentOS mailing list