[ 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
Hi

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.



I then have defined a LAN on that to 10.0.1.1 / 24

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


What i wan't to do is the following.

Put m0n0 on an ADSL

Set up a lan 10.0.2.1 / 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
10.250.1.1 so all trafic is routed out from the astaro's wanip 200.200.200.35

Any ideas

/James