Scroll to navigation

netstat-nat(1) General Commands Manual netstat-nat(1)

NAME

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

SYNOPSIS

netstat-nat [options]

DESCRIPTION

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.

OPTIONS

displays help
don't resolve IPs/portnumbers to host/portnames
display NAT connections with protocol selection (see /etc/protocols)
display connections by source IP/hostname
display connections by destination IP/hostname
display SNAT connections
display DNAT connections
display only connections to NAT box self (doesn't show SNAT & DNAT)
display only connections routed through the NAT box (doesn't show SNAT & DNAT)
extended view of hostnames
sort connections
no output header
display NAT box connection information (only valid with SNAT & DNAT)
prints version

FILES

/proc/net/ip_conntrack or /proc/net/nf_conntrack

SEE ALSO

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

AUTHOR

netstat-nat has been written by D.Wijsman danny@tweegy.nl
The manual page has been written by marceln@xs4all.nl

July 2002