(no subject)
Brad Davis
so14k at so14k.com
Tue May 31 06:10:21 PDT 2005
On Tue, May 31, 2005 at 11:14:26AM +0000, Sunil Sunder Raj wrote:
> Hi,
> I have 3 smtp servers 10.0.0.2, 10.0.0.3, 10.0.0.4 under a cluster with the
> load balancing done by 10.0.0.1. The pf rule on 10.0.0.1 is
>
> ext_if="fxp0"
> internal_smtp_servers="{ 10.0.0.2, 10.0.0.3, 10.0.0.4 }"
> rdr on $ext_if proto tcp from any to any port 25 -> $internal_smtp_servers
> round-robin sticky-address
>
> If 10.0.0.4 port 25 goes down, how do I force pf to remove 10.0.0.4 from
> its table.
Hi,
I would use something line Nagios[1] or a perl script to do this. It is
not in PFs realm to handle this sort of thing.
[1]: http://www.nagios.org/
See the parts about Event handlers.
Regards,
Brad Davis
More information about the freebsd-pf
mailing list