<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40">

<head>
<meta http-equiv=Content-Type content="text/html; charset=us-ascii">
<meta name=Generator content="Microsoft Word 12 (filtered medium)">
<style>
<!--
 /* Font Definitions */
 @font-face
        {font-family:SimSun;
        panose-1:2 1 6 0 3 1 1 1 1 1;}
@font-face
        {font-family:"Cambria Math";
        panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
        {font-family:SimSun;
        panose-1:2 1 6 0 3 1 1 1 1 1;}
 /* Style Definitions */
 p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0cm;
        margin-bottom:.0001pt;
        text-align:justify;
        text-justify:inter-ideograph;
        font-size:10.5pt;
        font-family:"Calibri","sans-serif";}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {mso-style-priority:99;
        color:purple;
        text-decoration:underline;}
span.EmailStyle17
        {mso-style-type:personal-compose;
        font-family:"Calibri","sans-serif";
        color:windowtext;}
.MsoChpDefault
        {mso-style-type:export-only;}
 /* Page Definitions */
 @page Section1
        {size:612.0pt 792.0pt;
        margin:72.0pt 90.0pt 72.0pt 90.0pt;}
div.Section1
        {page:Section1;}
-->
</style>
<!--[if gte mso 9]><xml>
 <o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
 <o:shapelayout v:ext="edit">
  <o:idmap v:ext="edit" data="1" />
 </o:shapelayout></xml><![endif]-->
</head>

<body lang=ZH-CN link=blue vlink=purple style='text-justify-trim:punctuation'>

<div class=Section1>

<p class=MsoNormal><span lang=EN-US style='font-size:12.0pt'>Hi all ! <o:p></o:p></span></p>

<p class=MsoNormal><span lang=EN-US style='font-size:12.0pt'>When I try to
connect two network with x.509 authentication way, there always occur an error
like below:<o:p></o:p></span></p>

<p class=MsoNormal><span lang=EN-US style='font-size:12.0pt'><o:p>&nbsp;</o:p></span></p>

<p class=MsoNormal><span lang=EN-US style='font-size:12.0pt'>[root@telips ~]#
ipsec auto --up n-n<o:p></o:p></span></p>

<p class=MsoNormal><span lang=EN-US style='font-size:12.0pt'>104
&quot;n-n&quot; #3: STATE_MAIN_I1: initiate<o:p></o:p></span></p>

<p class=MsoNormal><span lang=EN-US style='font-size:12.0pt'>003
&quot;n-n&quot; #3: received Vendor ID payload [Openswan (this version) 2.6.14
]<o:p></o:p></span></p>

<p class=MsoNormal><span lang=EN-US style='font-size:12.0pt'>003
&quot;n-n&quot; #3: received Vendor ID payload [Dead Peer Detection]<o:p></o:p></span></p>

<p class=MsoNormal><span lang=EN-US style='font-size:12.0pt'>003
&quot;n-n&quot; #3: received Vendor ID payload [RFC 3947] method set to=109 <o:p></o:p></span></p>

<p class=MsoNormal><span lang=EN-US style='font-size:12.0pt'>106
&quot;n-n&quot; #3: STATE_MAIN_I2: sent MI2, expecting MR2<o:p></o:p></span></p>

<p class=MsoNormal><span lang=EN-US style='font-size:12.0pt'>003
&quot;n-n&quot; #3: NAT-Traversal: Result using RFC 3947 (NAT-Traversal): no
NAT detected<o:p></o:p></span></p>

<p class=MsoNormal><span lang=EN-US style='font-size:12.0pt'>108
&quot;n-n&quot; #3: STATE_MAIN_I3: sent MI3, expecting MR3<o:p></o:p></span></p>

<p class=MsoNormal><span lang=EN-US style='font-size:12.0pt;color:red'>003
&quot;n-n&quot; #3: ignoring informational payload, type INVALID_ID_INFORMATION
msgid=00000000<o:p></o:p></span></p>

<p class=MsoNormal><span lang=EN-US style='font-size:12.0pt;color:red'>003
&quot;n-n&quot; #3: received and ignored informational message<o:p></o:p></span></p>

<p class=MsoNormal><span lang=EN-US style='font-size:12.0pt;color:red'><o:p>&nbsp;</o:p></span></p>

<p class=MsoNormal><span lang=EN-US style='font-size:12.0pt;color:red'><o:p>&nbsp;</o:p></span></p>

<p class=MsoNormal><span lang=EN-US style='font-size:12.0pt;color:black'>Google
for a long time , But still no answer for this. I try to use other people&#8217;s
ipsec.conf, but the error still appearance.<o:p></o:p></span></p>

<p class=MsoNormal><span lang=EN-US style='font-size:12.0pt;color:black'><o:p>&nbsp;</o:p></span></p>

<p class=MsoNormal><span lang=EN-US style='font-size:12.0pt;color:black'>My ipsec.conf
like below:<o:p></o:p></span></p>

<p class=MsoNormal><span lang=EN-US style='font-size:12.0pt;color:black'><o:p>&nbsp;</o:p></span></p>

<p class=MsoNormal><span lang=EN-US style='font-size:14.0pt;color:black'>On
LEFT:<o:p></o:p></span></p>

<p class=MsoNormal><span lang=EN-US style='font-size:12.0pt;color:black'><o:p>&nbsp;</o:p></span></p>

<p class=MsoNormal><span lang=EN-US style='font-size:12.0pt;color:black'>config
setup<o:p></o:p></span></p>

<p class=MsoNormal><span lang=EN-US style='font-size:12.0pt;color:black'>&nbsp;&nbsp;&nbsp;
interfaces=%defaultroute<o:p></o:p></span></p>

<p class=MsoNormal><span lang=EN-US style='font-size:12.0pt;color:black'>&nbsp;&nbsp;&nbsp;
nat_traversal=yes<o:p></o:p></span></p>

<p class=MsoNormal><span lang=EN-US style='font-size:12.0pt;color:black'>&nbsp;&nbsp;&nbsp;
protostack=netkey<o:p></o:p></span></p>

<p class=MsoNormal><span lang=EN-US style='font-size:12.0pt;color:black'><o:p>&nbsp;</o:p></span></p>

<p class=MsoNormal><span lang=EN-US style='font-size:12.0pt;color:black'>conn
%default<o:p></o:p></span></p>

<p class=MsoNormal><span lang=EN-US style='font-size:12.0pt;color:black'>&nbsp;&nbsp;&nbsp;
authby=rsasig<o:p></o:p></span></p>

<p class=MsoNormal><span lang=EN-US style='font-size:12.0pt;color:black'>&nbsp;&nbsp;&nbsp;
compress=yes<o:p></o:p></span></p>

<p class=MsoNormal><span lang=EN-US style='font-size:12.0pt;color:black'>&nbsp;&nbsp;&nbsp;
leftrsasigkey=%cert<o:p></o:p></span></p>

<p class=MsoNormal><span lang=EN-US style='font-size:12.0pt;color:black'>&nbsp;&nbsp;&nbsp;
rightrsasigkey=%cert<o:p></o:p></span></p>

<p class=MsoNormal><span lang=EN-US style='font-size:12.0pt;color:black'>&nbsp;&nbsp;&nbsp;
keyingtries=1<o:p></o:p></span></p>

<p class=MsoNormal><span lang=EN-US style='font-size:12.0pt;color:black'>&nbsp;&nbsp;&nbsp;
disablearrivalcheck=no<o:p></o:p></span></p>

<p class=MsoNormal><span lang=EN-US style='font-size:12.0pt;color:black'><o:p>&nbsp;</o:p></span></p>

<p class=MsoNormal><span lang=EN-US style='font-size:12.0pt;color:black'>conn
n-n<o:p></o:p></span></p>

<p class=MsoNormal><span lang=EN-US style='font-size:12.0pt;color:black'>&nbsp;&nbsp;&nbsp;
left=10.255.255.8<o:p></o:p></span></p>

<p class=MsoNormal><span lang=EN-US style='font-size:12.0pt;color:black'>&nbsp;&nbsp;&nbsp;
leftsubnet=192.168.100.0/24<o:p></o:p></span></p>

<p class=MsoNormal><span lang=EN-US style='font-size:12.0pt;color:black'>&nbsp;&nbsp;&nbsp;
leftcert=left.pem<o:p></o:p></span></p>

<p class=MsoNormal><span lang=EN-US style='font-size:12.0pt;color:black'>&nbsp;&nbsp;&nbsp;
right=172.16.255.7<o:p></o:p></span></p>

<p class=MsoNormal><span lang=EN-US style='font-size:12.0pt;color:black'>&nbsp;&nbsp;&nbsp;
rightsubnet=192.168.200.0/24<o:p></o:p></span></p>

<p class=MsoNormal><span lang=EN-US style='font-size:12.0pt;color:black'>&nbsp;&nbsp;&nbsp;
pfs=yes<o:p></o:p></span></p>

<p class=MsoNormal style='text-indent:24.0pt'><span lang=EN-US
style='font-size:12.0pt;color:black'>auto=add<o:p></o:p></span></p>

<p class=MsoNormal style='text-indent:24.0pt'><span lang=EN-US
style='font-size:12.0pt;color:black'><o:p>&nbsp;</o:p></span></p>

<p class=MsoNormal style='text-indent:24.0pt'><span lang=EN-US
style='font-size:12.0pt;color:black'><o:p>&nbsp;</o:p></span></p>

<p class=MsoNormal><span lang=EN-US style='font-size:12.0pt;color:black'><o:p>&nbsp;</o:p></span></p>

<p class=MsoNormal><span lang=EN-US style='font-size:12.0pt;color:black'><o:p>&nbsp;</o:p></span></p>

<p class=MsoNormal><span lang=EN-US style='font-size:14.0pt;color:black'>On RIGHT:<o:p></o:p></span></p>

<p class=MsoNormal><span lang=EN-US style='font-size:12.0pt;color:black'><o:p>&nbsp;</o:p></span></p>

<p class=MsoNormal><span lang=EN-US style='font-size:12.0pt;color:black'>config
setup<o:p></o:p></span></p>

<p class=MsoNormal><span lang=EN-US style='font-size:12.0pt;color:black'>&nbsp;&nbsp;&nbsp;
interfaces=%defaultroute<o:p></o:p></span></p>

<p class=MsoNormal><span lang=EN-US style='font-size:12.0pt;color:black'>&nbsp;&nbsp;&nbsp;
nat_traversal=yes<o:p></o:p></span></p>

<p class=MsoNormal><span lang=EN-US style='font-size:12.0pt;color:black'>&nbsp;&nbsp;&nbsp;
protostack=netkey<o:p></o:p></span></p>

<p class=MsoNormal><span lang=EN-US style='font-size:12.0pt;color:black'><o:p>&nbsp;</o:p></span></p>

<p class=MsoNormal><span lang=EN-US style='font-size:12.0pt;color:black'>conn
%default<o:p></o:p></span></p>

<p class=MsoNormal><span lang=EN-US style='font-size:12.0pt;color:black'>&nbsp;&nbsp;&nbsp;
authby=rsasig<o:p></o:p></span></p>

<p class=MsoNormal><span lang=EN-US style='font-size:12.0pt;color:black'>&nbsp;&nbsp;&nbsp;
compress=yes<o:p></o:p></span></p>

<p class=MsoNormal><span lang=EN-US style='font-size:12.0pt;color:black'>&nbsp;&nbsp;&nbsp;
leftrsasigkey=%cert<o:p></o:p></span></p>

<p class=MsoNormal><span lang=EN-US style='font-size:12.0pt;color:black'>&nbsp;&nbsp;&nbsp;
rightrsasigkey=%cert<o:p></o:p></span></p>

<p class=MsoNormal><span lang=EN-US style='font-size:12.0pt;color:black'>&nbsp;&nbsp;&nbsp;
keyingtries=1<o:p></o:p></span></p>

<p class=MsoNormal><span lang=EN-US style='font-size:12.0pt;color:black'>&nbsp;&nbsp;&nbsp;
disablearrivalcheck=no<o:p></o:p></span></p>

<p class=MsoNormal><span lang=EN-US style='font-size:12.0pt;color:black'><o:p>&nbsp;</o:p></span></p>

<p class=MsoNormal><span lang=EN-US style='font-size:12.0pt;color:black'>conn
n-n<o:p></o:p></span></p>

<p class=MsoNormal><span lang=EN-US style='font-size:12.0pt;color:black'>&nbsp;&nbsp;&nbsp;
left=10.255.255.8<o:p></o:p></span></p>

<p class=MsoNormal><span lang=EN-US style='font-size:12.0pt;color:black'>&nbsp;&nbsp;&nbsp;
leftsubnet=192.168.100.0/24<o:p></o:p></span></p>

<p class=MsoNormal><span lang=EN-US style='font-size:12.0pt;color:black'>&nbsp;&nbsp;&nbsp;
leftcert=left.pem<o:p></o:p></span></p>

<p class=MsoNormal><span lang=EN-US style='font-size:12.0pt;color:black'>&nbsp;&nbsp;&nbsp;
right=172.16.255.7<o:p></o:p></span></p>

<p class=MsoNormal><span lang=EN-US style='font-size:12.0pt;color:black'>&nbsp;&nbsp;&nbsp;
rightsubnet=192.168.200.0/24<o:p></o:p></span></p>

<p class=MsoNormal><span lang=EN-US style='font-size:12.0pt;color:black'>&nbsp;&nbsp;&nbsp;
rightcert=right.pem<o:p></o:p></span></p>

<p class=MsoNormal><span lang=EN-US style='font-size:12.0pt;color:black'>&nbsp;&nbsp;&nbsp;
pfs=yes<o:p></o:p></span></p>

<p class=MsoNormal><span lang=EN-US style='font-size:12.0pt;color:black'>&nbsp;&nbsp;&nbsp;
auto=add<o:p></o:p></span></p>

<p class=MsoNormal><span lang=EN-US style='font-size:12.0pt;color:black'><o:p>&nbsp;</o:p></span></p>

<p class=MsoNormal><span lang=EN-US style='font-size:12.0pt;color:black'><o:p>&nbsp;</o:p></span></p>

<p class=MsoNormal><span lang=EN-US style='font-size:12.0pt;color:black'>And I
add this line ( : RSA /etc/ipsec.d/private/right.key &#8220;passwd&#8221;) to my
right server&#8217;s ipsec.secret file, not add this in left server.&nbsp; <o:p></o:p></span></p>

<p class=MsoNormal><span lang=EN-US style='font-size:12.0pt;color:black'>Every
pubkey or privatekey are all placed in the correct place.&nbsp; <o:p></o:p></span></p>

<p class=MsoNormal><span lang=EN-US style='font-size:12.0pt;color:black'>But
when use command :<o:p></o:p></span></p>

<p class=MsoNormal><span lang=EN-US style='font-size:14.0pt;color:red'>[root@right
~]# ipsec auto &#8211;up n-n <o:p></o:p></span></p>

<p class=MsoNormal><span lang=EN-US style='font-size:12.0pt;color:black'>on my
right serer, the error still that shows like above .<o:p></o:p></span></p>

<p class=MsoNormal><span lang=EN-US style='font-size:12.0pt;color:black'>I hope
you could tell me the way to solve this problem!<o:p></o:p></span></p>

<p class=MsoNormal><span lang=EN-US style='font-size:12.0pt;color:black'>My
openswan version is : openswan-2.6.14-1.el5_2.1<o:p></o:p></span></p>

<p class=MsoNormal><span lang=EN-US style='font-size:12.0pt;color:black'>Thanks
very much!<o:p></o:p></span></p>

<p class=MsoNormal><span lang=EN-US style='font-size:12.0pt;color:black'><o:p>&nbsp;</o:p></span></p>

<p class=MsoNormal><span lang=EN-US style='font-size:12.0pt;color:black'><o:p>&nbsp;</o:p></span></p>

<p class=MsoNormal><span lang=EN-US style='font-size:12.0pt;color:black'>Shawn
with my best regards!<o:p></o:p></span></p>

<p class=MsoNormal><span lang=EN-US style='font-size:12.0pt;color:black'><o:p>&nbsp;</o:p></span></p>

<p class=MsoNormal><span lang=EN-US style='font-size:12.0pt;color:black'><o:p>&nbsp;</o:p></span></p>

<p class=MsoNormal><span lang=EN-US style='font-size:12.0pt;color:black'><o:p>&nbsp;</o:p></span></p>

<p class=MsoNormal><span lang=EN-US style='font-size:12.0pt;color:black'><o:p>&nbsp;</o:p></span></p>

</div>

</body>

</html>