Viewing NAT tables

elmera@mediaone.net elmera@mediaone.net
Wed, 25 Jul 2001 06:11:01 GMT


Hello,=20
I was wondering if it was possible to view NAT tables?  I don't know if =

this is a popular question, but I did not see it in the FAQs. Bascially,=
=20
I have certain "ports" being forwarded.  Heres an example of all web=20
traffic being forwarded to my (internal) webserver:
iptables -A PREROUTING -t nat -p tcp -d $EXTIP --dport 80 -j DNAT --to=20
$WEBSERVER:80

I have other ports being forwarded to other servers.  Can these tables b=
e=20
viewed, so I know what is currectly being forwarded and where?

Thanks!

Andy