File: netstat-nat.1

package info (click to toggle)
netstat-nat 1.4.10-3
  • links: PTS
  • area: main
  • in suites: bookworm, bullseye, buster, jessie, jessie-kfreebsd, sid, stretch
  • size: 384 kB
  • ctags: 57
  • sloc: sh: 787; ansic: 755; makefile: 14
file content (66 lines) | stat: -rw-r--r-- 1,497 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
.TH netstat-nat 1 "July 2002"
.SH NAME
netstat-nat \- Show the natted connections on a linux iptable firewall
.SH SYNOPSIS
.B netstat-nat [options]
.br
.SH DESCRIPTION
.I netstat-nat
Displays NAT connections managed by netfilter/iptables which comes
with the > 2.4.x linux kernels.

The program reads its information from '/proc/net/ip_conntrack' or '/proc/net/nf_conntrack', which is
the temporary conntrack-storage of netfilter. 
.SH OPTIONS
.TP
.B -h
displays help
.TP
.B -n
don't resolve IPs/portnumbers to host/portnames
.TP
.B -p <protocol>
display NAT connections with protocol selection (see /etc/protocols)
.TP
.B -s <source host>
display connections by source IP/hostname
.TP
.B -d <destination host>
display connections by destination IP/hostname
.TP
.B -S
display SNAT connections
.TP
.B -D
display DNAT connections
.TP
.B -L
display only connections to NAT box self (doesn't show SNAT & DNAT)
.TP
.B -R
display only connections routed through the NAT box (doesn't show SNAT & DNAT)
.TP
.B -x
extended view of hostnames
.TP
.B -r <src|dst|src-port|dst-port|state>
sort connections
.TP
.B -o
no output header
.TP
.B -N
display NAT box connection information (only valid with SNAT & DNAT)
.TP
.B -v
prints version
.SH FILES
/proc/net/ip_conntrack or /proc/net/nf_conntrack 
.SH SEE ALSO
http://www.tweegy.nl/projects/netstat-nat/
.br
http://www.netfilter.org/
.SH AUTHOR
netstat-nat has been written by D.Wijsman danny@tweegy.nl
.br
The manual page has been written by marceln@xs4all.nl