[ previous ] [ next ] [ threads ]
 From:  Alexander Schaber <lists at alexanderschaber dot de>
 To:  m0n0wall at lists dot m0n0 dot ch
 Subject:  Route all traffic through IPSec
 Date:  Sat, 16 Jan 2010 12:24:49 +0100

I'd like to setup an IPSec connection (both sides are m0n0s) between
Subnet1 and Subnet2. Nothing exotic so far.

Now I'd like to route all traffic from Subnet1 (for which m0n0-1 is the
gateway) through the IPSec tunel to m0n0-2 in Subnet2. Even if the
destination is somewhere out in the web.

m0n0-2 then routes all traffic to a Server/Router on Subnet2, which is
again nothing too complicated, as I can simply set it up as the next

Now the only complicated part is the middle one, can I and if so any
hints on how do I set up the routing.

PC01 in Subnet1 opens the browser and surfs to some public website, 
the traffic goes to m0n0-1,
which sends it to m0n0-2, 
which sends it to a server on subnet2,
which then routes it into the internet.

I'm thankful for any advice,
 Alexander Schaber