Re: Configuring openSBD like nat32

2010-03-17 Thread Duncan Patton a Campbell
On Tue, 9 Mar 2010 13:49:20 +0530
Siju George sgeorge...@gmail.com wrote:

 Hi,
 
 How do I configure OpenBSD PF to be like Nat32 ( http://nat32.com/ )
 
 The Idea is it has two internet connections and the second one should
 pick up if the first goes down and when the first one comes up it
 shoudl be the default route again.
 
 Thanks
 
 --Siju
 

Hm.  I looked at this nat32 and it looks relatively easy to do that sort of
thing with obsd using the kind of hooks I describe in 
Message-Id: 20080806141429.01f689d4.campb...@neotext.ca
Subject: Re: PF and DHCP hakz

...

The basic idea in this hack was to allow the assignment of multiple external 
dhcp routes based on internal address (ip|port) using pf and dhclient-script.
Since you can use this technique to map ports as well as address ranges 
to different external dhcp routes you can map services from internal 
networks to a pool of eternal links that you test/maintain with ifstated.

Putting together all those picklists and radios and such might be a bit
of a bear tho'.

Dhu



Configuring openSBD like nat32

2010-03-09 Thread Siju George
Hi,

How do I configure OpenBSD PF to be like Nat32 ( http://nat32.com/ )

The Idea is it has two internet connections and the second one should
pick up if the first goes down and when the first one comes up it
shoudl be the default route again.

Thanks

--Siju



Re: Configuring openSBD like nat32

2010-03-09 Thread Kapetanakis Giannis

On 09/03/10 10:19, Siju George wrote:

Hi,

How do I configure OpenBSD PF to be like Nat32 ( http://nat32.com/ )

The Idea is it has two internet connections and the second one should
pick up if the first goes down and when the first one comes up it
shoudl be the default route again.

Thanks

--Siju


Check http://www.openbsd.org/faq/faq6.html#Multipath and
ifstated(8)