[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
PF and NAT on 2 parallel inet connections
- To: misc_(_at_)_openbsd_(_dot_)_org
- Subject: PF and NAT on 2 parallel inet connections
- From: Claudiu <dr_(_dot_)_clau_(_at_)_rdslink_(_dot_)_ro>
- Date: Sat, 04 Sep 2004 21:43:13 +0300
Hello,
I have this situation: a gateway with 2 internet connections on 2
different interfaces, from 2 different ISPs. There is no IP that can be
routed by both ISPs.
What I want to to obtain is not exactly load balancing, but I want to
use the first connection, and if it falls, the second should be used.
This should be done by means of NAT, for an entire network which is
behind this gateway.
Can you give me some advice regarding this situation ?
I am thinking of a simple solution which is: checking if the connection
is ok (by pinging maybe) if the connection is not ok, just load another
set of rules.
But this way I will loose the power of securelevels, because afaik the
rules cannot be changed while in a high securelevel.
Thank you in advance.
With respect,
--
Claudiu
Visit your host, monkey.org