[Openswan Users] leftsubnet ...how to do the routing

hans lux hans.lux at gmx.de
Mon Apr 2 10:02:38 EDT 2007


hi all,

i think i have a beginners problem
and hope you can help me out.

my box connects to two different vpns.

both connections are established.
the one connection has a leftsubnet of 192.168.0.0/24
which matches a physical network on device eth2 (192.168.0.1)

the other one is the problem now.

to connect, the vpn server (watchguard) expects 10.106.121.0 for
the leftsubnet. I don't have any interface in that network.

how do i tackle this?
do i need a virtual device ?

thanks,
hlux

some details
============

kernel 2.6.18
Linux Openswan U2.4.5/K2.6.18-1.2798.fc6 (netkey)


eth0   <my inet addr>
eth2   192.168.0.1


ipsec.conf
==========
conn druck
         type=tunnel
         left=<my inet addr>
         leftnexthop=%defaultroute
         leftsubnet=192.168.0.0/24
         right=<there inet addr>
         rightsubnet=192.168.33.0/24
         pfs=no
         authby=secret
        auto=start

conn suptest
         type=tunnel
         left=<my inet addr>
         leftnexthop=80.148.46.65
         leftsubnet=10.106.121.0/24
         right=<there inet addr>
         rightsubnet=10.106.99.0/24
         pfs=no
         authby=secret
         keylife=24h
         rekey=yes
         auto=start




More information about the Users mailing list