[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Bytes counter with iptables



I Have iptables package 1.2.2 but i don't have iptables-save & 
iptables-restore!

I have only ipchains-save, ipchains-restore!


Su gio, 26 lug 2001 20:27:45 Vineet Kumar wrote:
> * galaeasy.005608@mail.galactica.it (galaeasy.005608@mail.galactica.it) 
[010726 11:07]:
> > Hi to all!
> > 
> > I have a question about packets & bytes counter made with iptables:
> > 
> > my problem is that when I reboot my firewall i lost all the counters 
stored with iptables.
> > 
> > Can I prevent this ?
> 
> see iptables-save and iptables-restore (included in the iptables
> package), specifically the -c command-line option. You may need to
> modify the way your rules are created, but once you do you will be
> able to restore all of your firewall rules *and counters* across a
> reboot. See the manpages for details.
> 
> Vineet





Reply to: