Unix and Linux Discussions Tagged with nat |
|
Thread / Thread Starter |
Last Post |
Replies |
Views |
Forum |
|
|
|
0 |
3,002 |
UNIX for Beginners Questions & Answers |
|
|
|
0 |
1,065 |
UNIX for Beginners Questions & Answers |
|
|
|
2 |
1,929 |
UNIX for Dummies Questions & Answers |
|
|
|
0 |
3,029 |
Solaris |
|
|
|
0 |
3,663 |
IP Networking |
|
|
|
5 |
7,746 |
IP Networking |
|
|
|
4 |
7,347 |
Infrastructure Monitoring |
|
|
|
0 |
6,443 |
IP Networking |
|
|
|
0 |
5,722 |
IP Networking |
|
|
|
0 |
4,422 |
Cybersecurity |
|
|
|
0 |
1,012 |
Software Releases - RSS News |
|
|
|
4 |
5,932 |
IP Networking |
|
|
|
0 |
4,092 |
OS X Support RSS |
|
|
|
2 |
12,497 |
IP Networking |
|
|
|
3 |
3,127 |
IP Networking |
|
|
|
2 |
14,641 |
UNIX for Dummies Questions & Answers |
|
|
|
2 |
3,526 |
UNIX for Dummies Questions & Answers |
|
|
|
1 |
5,227 |
UNIX for Dummies Questions & Answers |
|
|
|
3 |
4,612 |
IP Networking |
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
-h displays help
-n don't resolve IPs/portnumbers to host/portnames
-p <protocol>
display NAT connections with protocol selection (see /etc/protocols)
-s <source host>
display connections by source IP/hostname
-d <destination host>
display connections by destination IP/hostname
-S display SNAT connections
-D display DNAT connections
-L display only connections to NAT box self (doesn't show SNAT & DNAT)
-R display only connections routed through the NAT box (doesn't show SNAT & DNAT)
-x extended view of hostnames
-r <src|dst|src-port|dst-port|state>
sort connections
-o no output header
-N display NAT box connection information (only valid with SNAT & DNAT)
-v 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 netstat-nat(1)