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