1netstat-nat(1)              General Commands Manual             netstat-nat(1)
2
3
4

NAME

6       netstat-nat - Show the natted connections on a linux iptable firewall
7

SYNOPSIS

9       netstat-nat [options]
10

DESCRIPTION

12       netstat-nat  Displays  NAT  connections  managed  by netfilter/iptables
13       which comes with the > 2.4.x linux kernels.
14
15       The program reads  its  information  from  '/proc/net/ip_conntrack'  or
16       '/proc/net/nf_conntrack',  which  is the temporary conntrack-storage of
17       netfilter.
18

OPTIONS

20       -h     displays help
21
22       -n     don't resolve IPs/portnumbers to host/portnames
23
24       -p <protocol>
25              display NAT connections with protocol selection (see /etc/proto‐
26              cols)
27
28       -s <source host>
29              display connections by source IP/hostname
30
31       -d <destination host>
32              display connections by destination IP/hostname
33
34       -S     display SNAT connections
35
36       -D     display DNAT connections
37
38       -L     display  only  connections  to NAT box self (doesn't show SNAT &
39              DNAT)
40
41       -R     display only connections routed through  the  NAT  box  (doesn't
42              show SNAT & DNAT)
43
44       -x     extended view of hostnames
45
46       -r <src|dst|src-port|dst-port|state>
47              sort connections
48
49       -o     no output header
50
51       -N     display  NAT  box connection information (only valid with SNAT &
52              DNAT)
53
54       -v     prints version
55

FILES

57       /proc/net/ip_conntrack or /proc/net/nf_conntrack
58

SEE ALSO

60       http://www.tweegy.nl/projects/netstat-nat/
61       http://www.netfilter.org/
62

AUTHOR

64       netstat-nat has been written by D.Wijsman danny@tweegy.nl
65       The manual page has been written by marceln@xs4all.nl
66
67
68
69                                   July 2002                    netstat-nat(1)
Impressum