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

Re: netstat / masquerading



> >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.

Indeed it is, both reliable and not very beautiful. But what happened to
netstat -M?

David



Reply to: