PDA

View Full Version : iptables fw redundancy


revzalot
06-16-2008, 11:35 PM
Anyone have a good how to on this using two linux machines with iptables?

phoenix
06-17-2008, 06:08 AM
You could hack something together using heartbeat (for failover), freevrrp (for sharing common IPs), and drbd (to replicate a block device between the two hosts). But (AFAIK) you won't be able to save/failover state between the two. You'll either have to use non-stateful rules, or put up with the possibility of dropping any existing connections during the fail-over.

stukov
06-17-2008, 02:39 PM
Thanks phoenix, your post saves me. I was looking forward to building something similar. I'll post any updates I have here.

revzalot
06-17-2008, 05:51 PM
Thanks buddy. Looks like OpenBSD/CARP is the ideal setup for fw redundancy.