[Openswan Users] roadwarrior over pppoe

Toni Cosma tonis at alphanet.ro
Tue Aug 28 10:21:40 EDT 2007


Hi all,

I try to make a roadwarrior tunnel
from A to B.

A has a static IP.
B has a DSL connection PPP-OE.

A ipsec.conf is:

conn A-B_rw
    left=xxx.yyy.zzz.vvvv
    leftnexthop=xxx.yyy.zzz.aaa
    leftsubnet=192.168.sss.0/24
    leftid=@A-vpn.atp-exodus.ro
    right=%any
    rightid=@B-vpn.atp-exodus.ro
    rightsubnet=192.168.ppp.0/24
    type=tunnel
    auth=esp
    authby=rsasig
    leftrsasigkey=0sA0....            
    rightrsasigkey=0sAq...    
    auto=start

B ipsec.conf is:
   
conn A-B_rw
    left=xxx.yyy.zzz.vvvv
    leftnexthop=xxx.yyy.zzz.aaa
    leftsubnet=192.168.sss.0/24
    leftid=@A-vpn.atp-exodus.ro
    right=%defaultroute
    rightid=@cluj-vpn.atp-exodus.ro
    rightsubnet=192.168.ppp.0/24
    type=tunnel
    auth=esp
    authby=rsasig
    leftrsasigkey=0sA0....            
    rightrsasigkey=0sAq...    
    auto=start


after "ipsec start" B syslog is:
  Aug 28 17:06:21 B ipsec__plutorun: ipsec_auto: fatal error in "A-B_rw": %defaultroute requested but not known
  Aug 28 17:06:21 B ipsec__plutorun: 021 no connection named "A-B_rw"
  Aug 28 17:06:21 B ipsec__plutorun: ...could not route conn "A-B_rw"
  Aug 28 17:06:21 B ipsec__plutorun: 021 no connection named "A-B_rw"
  Aug 28 17:06:21 B ipsec__plutorun: ...could not start conn "A-B_rw"
and A error message after: ipsec auto --up A-B_rw is:
            "A-B_rw": cannot initiate connection without knowing peer IP address (kind=CK_TEMPLATE)

Thx for help.

Bye

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.openswan.org/pipermail/users/attachments/20070828/3c4d35cf/attachment.html 


More information about the Users mailing list