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

Re: netstat / masquerading



David Fokkema wrote:

Hi group,

I was used to display masqueraded connections with

netstat -M

but now, under Woody, I get

no support for 'ip_masquerade' on this system.

I set up masquerading with

iptables -t nat -A POSTROUTING -o $BADIF -j MASQUERADE

What do I have to do to see the masqueraded connections?

Regards,
David

Try 'cat /proc/net/ip_conntrack'. Not very beautiful, but at least the information is reliable.

hth,
/johan

--
Johan Ehnberg
johan@ehnberg.net
"Windows? No... I don't think so."




Reply to: