Linux Netfilter discussions
 help / color / mirror / Atom feed
* NAT session tracking
@ 2008-03-29 11:04 Ganesh Kumar N M
  2008-03-29 17:12 ` Pascal Hambourg
  0 siblings, 1 reply; 3+ messages in thread
From: Ganesh Kumar N M @ 2008-03-29 11:04 UTC (permalink / raw)
  To: netfilter; +Cc: Ganesh Kumar NM

Hi all,

Good day !
    I'm new to iptables/netfilter and in the process of understanding the 
same.
I'm making myself familiar with the iptables commands and looking through 
the netfilter
hooks.
I am trying to understanding the nat connection tracking. my doubt is
how can I see the existing nat sessions and is there any iptables command
to track the nat sessions.

Many thanks in advance,

rgds,
Ganesh




^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: NAT session tracking
  2008-03-29 11:04 NAT session tracking Ganesh Kumar N M
@ 2008-03-29 17:12 ` Pascal Hambourg
  2008-03-29 17:27   ` Franck JONCOURT
  0 siblings, 1 reply; 3+ messages in thread
From: Pascal Hambourg @ 2008-03-29 17:12 UTC (permalink / raw)
  To: Ganesh Kumar N M; +Cc: netfilter

Hello,

Ganesh Kumar N M a écrit :
> I am trying to understanding the nat connection tracking. my doubt is
> how can I see the existing nat sessions

cat /proc/net/ip_conntrack (/proc/net/nf_conntrack on recent kernels), 
or netstat-nat.

> and is there any iptables command to track the nat sessions.

What do you mean exactly by "track the nat session" ?

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: NAT session tracking
  2008-03-29 17:12 ` Pascal Hambourg
@ 2008-03-29 17:27   ` Franck JONCOURT
  0 siblings, 0 replies; 3+ messages in thread
From: Franck JONCOURT @ 2008-03-29 17:27 UTC (permalink / raw)
  To: netfilter


On Sat, 29 Mar 2008 18:12:33 +0100, Pascal Hambourg
<pascal.mail@plouf.fr.eu.org> wrote:
> Hello,

Hi,
 
> Ganesh Kumar N M a écrit :
>> I am trying to understanding the nat connection tracking. my doubt is
>> how can I see the existing nat sessions
> 
> cat /proc/net/ip_conntrack (/proc/net/nf_conntrack on recent kernels),
> or netstat-nat.

Have a look at http://people.netfilter.org/pablo/conntrack-tools/
and its man page.

---
Franck Joncourt
http://www.debian.org/ - http://smhteam.info/wiki/



^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2008-03-29 17:27 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-03-29 11:04 NAT session tracking Ganesh Kumar N M
2008-03-29 17:12 ` Pascal Hambourg
2008-03-29 17:27   ` Franck JONCOURT

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox