[Openswan Users] Tunnel not established

Thorsten Mauch mauch at imkenberg.de
Sat Mar 17 17:39:39 EDT 2007


I fear is a old newbie problem. But i have no idea how to find my 
failure. My OS ist Ubunto 6.0.6 LTS.
Version info show:
Linux Openswan U2.4.4/K2.6.15-26-server (netkey)

I try to run a simple net conection found in the openswan book at page 
86, my ipsec.conf:
version 
2.0                                                                                                                                                  

                                                                                                                                                             

config 
setup                                                                                                                                                 

        
interfaces=%defaultroute                                                                                                                             

                                                                                                                              

                                                                                                                                                             

conn 
%default                                                                                                                                                

        
authby=rsasig                                                                                                                                        

                                                                                                                                                             

conn 
imkenberg-testnet                                                                                                                                       

        
left=212.48.115.43                                                                                                                                   

        
leftsubnet=10.0.1.0/24                                                                                                                               

        
right=212.48.115.44                                                                                                                                  

        
rightsubnet=192.168.9.0/24                                                                                                                           

        
type=tunnel                                                                                                                                          

        leftrsasigkey=0sAQOCtAbIjJv4...
        rightrsasigkey=0sAQNs19gA4eP..
        auto=start
                                                                                                                                                             

                                                                                                                                                             

#Disable Opportunistic 
Encryption                                                                                                                            

include /etc/ipsec.d/examples/no_oe.conf  

when  is start ipsec in foudn in my syslog:
Mar 17 22:48:17 gate ipsec__plutorun: 104 "imkenberg-testnet" #1: 
STATE_MAIN_I1: initiate
Mar 17 22:48:17 gate ipsec__plutorun: ...could not start conn 
"imkenberg-testnet"

My problem is that i don't find any hint whats going wrong and i have no 
idea what i should test.
my auth.log looks pretty nice for me :(


Mar 17 22:18:23 gate pluto[3955]: "imkenberg-testnet" #1: responding to 
Main Mode
Mar 17 22:18:23 gate pluto[3955]: "imkenberg-testnet" #1: transition 
from state STATE_MAIN_R0 to state STATE_MAIN_R1
Mar 17 22:18:23 gate pluto[3955]: "imkenberg-testnet" #1: STATE_MAIN_R1: 
sent MR1, expecting MI2
Mar 17 22:18:23 gate pluto[3955]: "imkenberg-testnet" #1: transition 
from state STATE_MAIN_R1 to state STATE_MAIN_R2
Mar 17 22:18:23 gate pluto[3955]: "imkenberg-testnet" #1: STATE_MAIN_R2: 
sent MR2, expecting MI3
Mar 17 22:18:23 gate pluto[3955]: "imkenberg-testnet" #1: Main mode peer 
ID is ID_IPV4_ADDR: '212.48.115.44'
Mar 17 22:18:23 gate pluto[3955]: "imkenberg-testnet" #1: I did not send 
a certificate because I do not have one.
Mar 17 22:18:23 gate pluto[3955]: "imkenberg-testnet" #1: transition 
from state STATE_MAIN_R2 to state STATE_MAIN_R3
Mar 17 22:18:23 gate pluto[3955]: "imkenberg-testnet" #1: STATE_MAIN_R3: 
sent MR3, ISAKMP SA established {auth=OAKLEY_RSA_SIG 
cipher=oakley_3des_cbc_192 prf=oakley_md5 group=modp1536}
Mar 17 22:18:23 gate pluto[3955]: "imkenberg-testnet" #2: responding to 
Quick Mode {msgid:09001001}
Mar 17 22:18:23 gate pluto[3955]: "imkenberg-testnet" #2: transition 
from state STATE_QUICK_R0 to state STATE_QUICK_R1
Mar 17 22:18:23 gate pluto[3955]: "imkenberg-testnet" #2: 
STATE_QUICK_R1: sent QR1, inbound IPsec SA installed, expecting QI2
Mar 17 22:18:23 gate pluto[3955]: "imkenberg-testnet" #2: transition 
from state STATE_QUICK_R1 to state STATE_QUICK_R2
Mar 17 22:18:23 gate pluto[3955]: "imkenberg-testnet" #2: 
STATE_QUICK_R2: IPsec SA established {ESP=>0xc2471bb2 <0x8ed6e518 
xfrm=AES_0-HMAC_SHA1 NATD=none DPD=none}

I hope you can give me any hints

Thx Thorsten

-- 

Ute Imkenberg + Thorsten Mauch 
Datenverarbeitung GbR 
Haakestr. 50, 21075 Hamburg 
http://www.imkenberg.de
Tel.: 040/76750423
Fax: 040/76750424



More information about the Users mailing list