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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



Dustin Krysak 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.

Probably the most useful combination of options is -nvx -L, since it
will print some additional info (most importantly the counters).

Attachment: signature.asc
Description: OpenPGP digital signature

_______________________________________________
CentOS mailing list
CentOS@xxxxxxxxxx
http://lists.centos.org/mailman/listinfo/centos

[Index of Archives]     [CentOS]     [CentOS Announce]     [CentOS Development]     [CentOS ARM Devel]     [CentOS Docs]     [CentOS Virtualization]     [Carrier Grade Linux]     [Linux Media]     [Asterisk]     [DCCP]     [Netdev]     [Xorg]     [Linux USB]
  Powered by Linux