IP tables lookup

der.hans plug-discuss@lists.plug.phoenix.az.us
Mon, 3 Jun 2002 15:32:21 -0700 (MST)


Am 03. Jun, 2002 schwätzte Carl Parrish so:

> Anyone know off hand how to look up the prerouting and postrounting rules
> on iptables?
>
> I've been trying iptables -L NAT and / or iptables -L PREROUTING but    .
> it keeps telling me no such table. Can someone tell me what I'm doing   .
> wrong? (btw yes I know Prerouting isn't actually a table i'm just       .
> getting desprate. <g>)                                                  .

iptables -t nat -nL

'nat' has to be lower case.

ciao,

der.hans
-- 
#  https://www.LuftHans.com/
# Nobody grows old merely by living a number of years.
# We grow old by deserting our ideals.
# Years may wrinkle the skin, but to give up enthusiasm
# wrinkles the soul.  -- Samuel Ullman