We help IT Professionals succeed at work.

IPTABLES connections

Nick
Nick asked
on
Medium Priority
255 Views
Last Modified: 2013-12-16
Is there a similar process I can use to check 'real time' MASQ/NAT connections to my network, much like

netstat -atM

used to give for chains?

I have looked everywhere for the solution.

Thanks,

Nick
Comment
Watch Question

Commented:
The -M parameter is gone in 2.4/iptables.

But you can cat /proc/net/ip_conntrack

I've also found a script that displays the info so it looks like netstat -M: http://www.xs4all.nl/~hensema/software/lsconntrack/

Author

Commented:
Good stuff, just what I needed!

Thanks.  Cool bit of Perl as well, that script!

Nick :)

Explore More ContentExplore courses, solutions, and other research materials related to this topic.