<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 14 (filtered medium)"><style><!--
/* Font Definitions */
@font-face
{font-family:Calibri;
panose-1:2 15 5 2 2 2 4 3 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
{margin:0in;
margin-bottom:.0001pt;
font-size:11.0pt;
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;
font-family:"Calibri","sans-serif";}
@page WordSection1
{size:8.5in 11.0in;
margin:1.0in 1.0in 1.0in 1.0in;}
div.WordSection1
{page:WordSection1;}
--></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=EN-US link=blue vlink=purple><div class=WordSection1><p class=MsoNormal>I am trying to set up a tunnel between an embedded board and a remote CISCO box, both of which has subnets behind them. From the board I was successfully able to create a tunnel with a regular vpn enabled router. However when I’m trying to setup a tunnel with the CISCO box (which I don’t have access to), my requests gets rejected. <o:p></o:p></p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>I was told the message from my side doesn’t contain Configuration Payload (CP). How can I enable the CP using the existing OpenSwan installation? <o:p></o:p></p><p class=MsoNormal>Following is my ipsec.conf. I tried adding modecfgpull, but it doesn’t seems to do anything.<o:p></o:p></p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>config setup<o:p></o:p></p><p class=MsoNormal> dumpdir=/var/run/pluto/<o:p></o:p></p><p class=MsoNormal> nat_traversal=yes<o:p></o:p></p><p class=MsoNormal> oe=off<o:p></o:p></p><p class=MsoNormal> protostack=auto<o:p></o:p></p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>conn %default<o:p></o:p></p><p class=MsoNormal> ikelifetime=86400s<o:p></o:p></p><p class=MsoNormal> keylife=60m<o:p></o:p></p><p class=MsoNormal> rekeymargin=3m<o:p></o:p></p><p class=MsoNormal> keyingtries=1<o:p></o:p></p><p class=MsoNormal> ikev2=yes<o:p></o:p></p><p class=MsoNormal> authby=secret<o:p></o:p></p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>conn cisco_iot<o:p></o:p></p><p class=MsoNormal># # Left security gateway, subnet behind it, nexthop toward right.<o:p></o:p></p><p class=MsoNormal> pfs=no<o:p></o:p></p><p class=MsoNormal> left=192.168.A.A<o:p></o:p></p><p class=MsoNormal> leftsubnet=192.168.0.0/24<o:p></o:p></p><p class=MsoNormal> right=192.168.B.B<o:p></o:p></p><p class=MsoNormal> rightsubnet=192.168.1.0/24<o:p></o:p></p><p class=MsoNormal> auto=start<o:p></o:p></p><p class=MsoNormal> ike=aes128-sha1;modp1024!<o:p></o:p></p><p class=MsoNormal> phase2=esp<o:p></o:p></p><p class=MsoNormal> phase2alg=aes128-sha1<o:p></o:p></p><p class=MsoNormal> modecfgpull=yes<o:p></o:p></p><p class=MsoNormal> leftmodecfgclient=yes<o:p></o:p></p><p class=MsoNormal> modecfgdns1=192.168.C.C<o:p></o:p></p><p class=MsoNormal> modecfgdns2=192.168.D.D<o:p></o:p></p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal><b><span style='font-size:10.0pt;color:#0F243E'>Best,<o:p></o:p></span></b></p><p class=MsoNormal><b><span style='font-size:10.0pt;color:#0F243E'>Joel Abraham<o:p></o:p></span></b></p><p class=MsoNormal><b><span style='font-size:10.0pt;color:#215868'><o:p> </o:p></span></b></p><p class=MsoNormal><b><span style='font-size:10.0pt;color:#215868'>GlobalWirelessTech</span></b><span style='color:#215868'><o:p></o:p></span></p><p class=MsoNormal><b><span style='font-size:10.0pt;color:#215868'><a href="mailto:joel@globalwirelesstech.com"><span style='color:#215868'>joel@globalwirelesstech.com</span></a><br>973-998-6256</span></b><span style='color:#215868'><o:p></o:p></span></p><p class=MsoNormal><span style='color:#215868'> <o:p></o:p></span></p><p class=MsoNormal><b><span style='font-size:10.0pt;color:#215868'>This email, and any associated attachments have been classified as: <o:p></o:p></span></b></p><p class=MsoNormal><b><span style='font-size:10.0pt;color:#215868'>[ ] Public<o:p></o:p></span></b></p><p class=MsoNormal><b><span style='font-size:10.0pt;color:#215868'>[x] GWT Internal Use Only<o:p></o:p></span></b></p><p class=MsoNormal><b><span style='font-size:10.0pt;color:#215868'>[ ] GWT Confidential & Proprietary<o:p></o:p></span></b></p><p class=MsoNormal><span style='color:#215868'><o:p> </o:p></span></p><p class=MsoNormal><b><span style='font-size:7.5pt;color:#215868'>Important: This message is intended for the use of the entity or recipient to</span></b><span style='color:#215868'><o:p></o:p></span></p><p class=MsoNormal><b><span style='font-size:7.5pt;color:#215868'>which it is addressed and may contain information which is privileged </span></b><span style='color:#215868'><o:p></o:p></span></p><p class=MsoNormal><b><span style='font-size:7.5pt;color:#215868'>and/or confidential. If you have received this communication in error, please </span></b><span style='color:#215868'><o:p></o:p></span></p><p class=MsoNormal><b><span style='font-size:7.5pt;color:#215868'>inform the sender immediately</span></b><b><span style='font-size:10.0pt;color:#215868'>. </span></b><span style='color:#215868'><o:p></o:p></span></p><p class=MsoNormal><o:p> </o:p></p></div></body></html>