I'm not sure if I understand the question as you address the iptables'
creator and yet you ask a very simple question. But anyway, from the
manpage:

...
       -t, --table
              This option specifies  the  packet  matching  table
              which the command should operate on...
...
       -L, --list
              List all rules in the selected chain.  If no  chain
              is selected, all chains are listed.  It is legal to
              specify the -Z (zero) option as well, in which case
              the  chain(s) will be atomically listed and zeroed.
              The exact output is affected by the other arguments
              given.
...
       -n, --numeric
              Numeric output.  IP addresses and port numbers will
              be printed in numeric format.  By default, the pro�
              gram  will  try to display them as host names, net�
              work names, or services (whenever applicable).

So, I guess your answer would be `iptables -n -L -t nat`.
As for iptables-save and iptables-restore, have you tried the manpages?

Ramin

On Tue, Feb 26, 2002 at 01:32:48PM +1100, root wrote:
> 
> Hi mate
> 
> I have read everything you and others have written on iptables and nat but
> I am buggered if I can get the rules I have put in for masquerading to
> show up.
> What I mean is in good old ipchains ipchains -L showed all my rules masq
> included. Even though all seems to be working I cant figure out how to get
> these rules to show up.
> The other detail I am a bit stuck on is the iptable-restore can you point
> me to some docs I have missed cause I cant find a mention except in my
> error messages.
> I am a dickhead when it comes to this stuff but I am doing a better job
> then the uni goose I hired for a squillion a year to do it for me so have
> pity.
> Terry Antonio
> 

Reply via email to