Skip to contentSkip to conversation

Inserting rules is extremly slow :((

DISCUSSION [email protected] 3 participants 3 messages Dec 12, 2002

lore
Share & tools
lore
#0 lore raw

Hi,
How to insert fast about 20000 rules in iptables. If some document will be help , please let me know :)

Thanks a lot
Nedco

#1 lore raw
Quoted 5 lines · On Thu, 2002-12-12 at 12:46, [email protected] wrote:

Hi,
How to insert fast about 20000 rules in iptables. If some document will be help , please let me know :)

Hi,

man iptables-save
man iptables-restore

That's the only solution to your performance problem at this moment...

Regards,
Filip

#2 lore raw
In reply to [email protected]
Quoted 10 lines · On Thu, 2002-12-12 at 13:46, [email protected] wrote:

Hi,
How to insert fast about 20000 rules in iptables. If some document will be help , please let me know :)

Thanks a lot
Nedco

I would write a firewall script and run it...
Put the script in /etc/rc.local and then if you ever reboot, viola

Paulo