[Openswan Users] Tunnels over dual DSL connections

Don Applick donapplick at gmail.com
Thu Oct 21 23:40:39 EDT 2010


I have a router with two DSL connections (and an eth0 of course):

ppp0: IP = 1.2.3.4, gateway = 1.7.8.9
ppp1: IP = 1.2.3.5, gateway = 1.7.8.9

Currently I use Openswan for a  VPN  via ppp0 to remote site A @ x.x.x.x

conn SiteA
authby=secret
auto=start
esp=3des-sha1
ike=3des-sha1-modp1024
       keylife=10h
       ikelifetime=10h
keyexchange=ike
left=1.2.3.4
leftid=home at domain.com
leftsubnet=192.168.0/24
pfs=yes
right=x.x.x.x
rightid=sitea at domain.com
rightnexthop=%defaultroute
rightsubnet=192.168.16.0/24
type=tunnel

I now want to add a second tunnel to site B @ y.y.y.y and establish it via
ppp1 but I cannot figure out how to achieve this. I've tried with
rightnexthop=1.2.3.5 and/or doing a "route add -host y.y.y.y dev ppp1" but
to no avail.

Is this possible to do and if so how?

Don.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.openswan.org/pipermail/users/attachments/20101022/8fb7aa7f/attachment.html 


More information about the Users mailing list