[NBLUG/talk] iptables -L and PREROUTING

Kyle Rankin kyle at nblug.org
Fri Apr 18 06:27:24 PDT 2008

On Thu, Apr 17, 2008 at 07:16:24PM -0700, Bob Blick wrote:
> If I issue a PREROUTING command and later look at my iptables with
> iptables --list, it doesn't show the PREROUTING rule, only the usual
> Is there any way to get it to show all the rules? And does that
> PREROUTING comand get saved when I do an iptables-save?
> Thanks,
> Bob

Ron already answered the --list question, but as far as saving,
iptables-save will save all chains for you. Depending on what distribution
you use, though, there might already be some mechanism to save rules for
you that will be easier than creating a script.

Kyle Rankin
NBLUG President
The North Bay Linux Users Group
IRC: greenfly at irc.freenode.net #nblug 
kyle at nblug.org

More information about the talk mailing list