[ previous ] [ next ] [ threads ]
 From:  "James Rune Hansen" <james at jemmer dot dk>
 To:  <m0n0wall at lists dot m0n0 dot ch>
 Subject:  Route all trafic in to VPN when up
 Date:  Thu, 1 Sep 2005 12:06:58 +0200

I have been looking into m0n0wall

I whould like to have this setup.

Right now i have 2 astaro boxes (www.astaro.com) running on 2 dell servers. They are running in HA
mode using heatbeat.

The astaro has 1´ip to the internet, let call it

I then have defined a LAN on that to / 24

Then i have MASQ on the net out the an extra ip on my wan interface called

What i wan't to do is the following.

Put m0n0 on an ADSL

Set up a lan / 24

Create an IPsec tunnel from the m0n0 to the astaro

Now the funny part comes. When the VPN is setup the default route on the m0n0 should change to so all trafic is routed out from the astaro's wanip

Any ideas