Syncing iptables rules between two servers
- From: "Lars Solberg" <sunberg@xxxxxxxxx>
- Date: Sun, 9 Apr 2006 00:25:54 +0200
Hi
Is there anyone that know about how I can "sync" iptables rules on two
different servers? The plan is to have (on one of the servers) a
script that automaticly block ip adresses with iptables depending on
different conditions. When that ip adress is blocked I want it to
automaticly be blocked on another server to.
One idea is to change the script that is adding the block rule to
iptables to make it soo it can send the rule to the other server, but
this is not an option, the iptables rules must be synced after the
iptables rule have been added.
Another idea is to get the iptables to use an sql database of some
sort to load the rules, but I dont know how, and this whould be
somehow ruining the whole thing of having a firewall if you make it
dependent an sql server (i think).. But afterall, if this is possible
this is option.
Any ideas?
Hope someone can help out..
Thanks
Lars
- Follow-Ups:
- Re: Syncing iptables rules between two servers
- From: Alexandros Papadopoulos
- Re: Syncing iptables rules between two servers
- From: Dirk Dierickx
- Re: Syncing iptables rules between two servers
- From: Drew Leske
- Re: Syncing iptables rules between two servers
- From: ilaiy
- Re: Syncing iptables rules between two servers
- From: Gerald Raucamp
- Re: Syncing iptables rules between two servers
- From: Christopher Jastram
- Re: Syncing iptables rules between two servers
- From: Ayaz Ahmed Khan
- Re: Syncing iptables rules between two servers
- Prev by Date: Re: R: IPtables and C programming??
- Next by Date: Re: Syncing iptables rules between two servers
- Previous by thread: R: IPtables and C programming??
- Next by thread: Re: Syncing iptables rules between two servers
- Index(es):
Relevant Pages
|
|