[Openswan Users] link over a second line

Martin Eramus martin at onyx.co.za
Mon Aug 15 14:05:49 EDT 2011


HI

i want to take my VPN connection and put them on there own separate 
connection, this seperate connection will be on a ppp0 connection

all internet traffic is over ISP 1 and that is my default route
my vpn is over ISP 2 and that is ppp0

my ipsec.conf is as follows

version 2

config setup
  interfaces="ipsec0=ppp0"
  klipsdebug=none
  plutodebug=none

conn %default
  keyingtries=0
conn xxxho-xxxntl
  type=tunnel
  left=xxxho2.xxxxx.org
  leftsubnet=192.168.0.0/24
  leftnexthop=165.165.128.1
  right=%any
  rightsubnet=192.168.4.0/24
  rightnexthop=
  rightid=@bxxxntl
  auto=add
  authby=secret|rsasig
  leftrsasigkey=0sAQN...................


#Disable Opportunistic Encryption
include /etc/ipsec.d/examples/no_oe.conf

what am I missing to get this to work

thanks
Martin





More information about the Users mailing list