Listing the natted/routed connections on a Linux iptables firewall.

You need to use netstat-nat command. You can also use /proc/net/ip_conntrack or /proc/net/nf_conntrack, which is the temporary conntrack storage of netfilter.

root# netstat -nat -l

or

cat /proc/net/ip_conntrack

Leave a Reply

Your email address will not be published. Required fields are marked *

*