Linux Netfilter discussions
 help / color / mirror / Atom feed
From: Joel Newkirk <netfilter@newkirk.us>
To: nedco@unacs.bg, netfilter@lists.netfilter.org
Subject: Re: Loding rules
Date: Mon, 16 Dec 2002 14:42:43 -0500	[thread overview]
Message-ID: <200212161442.43121.netfilter@newkirk.us> (raw)
In-Reply-To: <3df77ff9.7a14.0@unacs.bg>

On Wednesday 11 December 2002 01:12 pm, nedco@unacs.bg wrote:
> Hi,
>  How to load fast about 20000 rules in iptables.
>  If some document will be help , please let me know  :)
>
> Thanks a lot
> Nedco

As long as you don't need to dynamically define the rules (IE using a 
dynamic IP) iptables-save and iptables-restore should be your simple 
answer.  Oscar's tutorial explains save and restore at: 
http://iptables-tutorial.frozentux.net/chunkyhtml/saveandrestore.html

These will load the complete ruleset in a very few operations, instead of 
about 40000.  (based on your 20000 figure above)

j


      parent reply	other threads:[~2002-12-16 19:42 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-12-11 18:12 Loding rules nedco
2002-12-16 10:47 ` Roberto Nibali
2002-12-16 19:42 ` Joel Newkirk [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=200212161442.43121.netfilter@newkirk.us \
    --to=netfilter@newkirk.us \
    --cc=nedco@unacs.bg \
    --cc=netfilter@lists.netfilter.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox