Charles Stack on Sun, 8 Jul 2001 15:50:06 -0400


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

RE: [PLUG] IP Masquerade on kernel 2.4: "netstat -M" fails


iptables doesn't support netstat -M.  You can view /proc/net/ip_conntrack if
you that have that module running.  That will show the connections iptables
is tracking.

cjs

-----Original Message-----
From: plug-admin@lists.phillylinux.org
[mailto:plug-admin@lists.phillylinux.org]On Behalf Of Mike Robbins
Sent: Sunday, July 08, 2001 3:13 PM
To: plug@lists.phillylinux.org
Subject: [PLUG] IP Masquerade on kernel 2.4: "netstat -M" fails


Quick question:

I took a RH 6.2 box, compiled kernel 2.4.3, and set up IP MASQ through
iptables.  The masquerading works great.  Back on the 2.2 series and
ipchains, I could type "netstat -M" to see masq'ed connections.  Now, if I
do that I get:

$ netstat -M
netstat: no support for `ip_masquerade' on this system.

Same when trying it as root, too.  Netstat works fine for showing
connections directly to/from the box...  So is there a different command to
use for the 2.4 series?

Mike


______________________________________________________________________
Philadelphia Linux Users Group       -      http://www.phillylinux.org
Announcements-http://lists.phillylinux.org/mail/listinfo/plug-announce
General Discussion  -  http://lists.phillylinux.org/mail/listinfo/plug


______________________________________________________________________
Philadelphia Linux Users Group       -      http://www.phillylinux.org
Announcements-http://lists.phillylinux.org/mail/listinfo/plug-announce
General Discussion  -  http://lists.phillylinux.org/mail/listinfo/plug