<font size="3" face="Times New Roman">
</font><div style="margin:0in 0in 0pt" class="MsoNormal"><font size="3"><font face="Calibri">Hi all,</font></font></div><div style="margin:0in 0in 0pt" class="MsoNormal"><font size="3"><font face="Calibri"></font></font> </div>
<div style="margin:0in 0in 0pt" class="MsoNormal"><font size="3"><font face="Calibri">I'm having some trouble connecting my strongswan client to a strongswan server on our
small testing network. charon and starter are both running on the
strongswan Ubuntu client (192.168.0.75) and the strongswan Ubuntu server
(192.168.0.50).</font></font></div><font size="3" face="Times New Roman">
</font><p style="margin:0in 0in 0pt" class="MsoNormal"><font size="3" face="Calibri"> </font></p><font size="3" face="Times New Roman">
</font><p style="margin:0in 0in 0pt" class="MsoNormal"><font size="3"><font face="Calibri">When I type "</font><b><span style="font-family:"Courier New"">sudo ipsec up
mytest" </span></b><font face="Calibri">on the client-side, I get an error saying “<i>unable to initiate
to %any</i></font><font face="Calibri">.”</font></font></p><font size="3" face="Times New Roman">
</font><p style="margin:0in 0in 0pt" class="MsoNormal"><font size="3" face="Calibri"> </font></p><font size="3" face="Times New Roman">
</font><p style="margin:0in 0in 0pt" class="MsoNormal"><font size="3"><font face="Calibri">Here are the ipsec files from the client & server.
Can someone help me dissect what's going on?</font></font></p><font size="3" face="Times New Roman">
</font><p style="margin:0in 0in 0pt" class="MsoNormal"><font size="3" face="Calibri"> </font></p><font size="3" face="Times New Roman">
</font><p style="margin:0in 0in 0pt" class="MsoNormal"><b><font size="3"><font face="Calibri">### Client ###</font></font></b></p><font size="3" face="Times New Roman">
</font><p style="margin:0in 0in 0pt" class="MsoNormal"><font size="3"><font face="Calibri"># ipsec.conf – strongSwan IPsec configuration file</font></font></p><font size="3" face="Times New Roman">
</font><p style="margin:0in 0in 0pt" class="MsoNormal"><font size="3"><font face="Calibri">config setup</font></font></p><font size="3" face="Times New Roman">
</font><p style="margin:0in 0in 0pt" class="MsoNormal"><font size="3"><font face="Calibri">
strictcrlpolicy=no</font></font></p><font size="3" face="Times New Roman">
</font><p style="margin:0in 0in 0pt" class="MsoNormal"><font size="3"><font face="Calibri">
plutostart=no</font></font></p><font size="3" face="Times New Roman">
</font><p style="margin:0in 0in 0pt" class="MsoNormal"><font size="3" face="Calibri"> </font></p><font size="3" face="Times New Roman">
</font><p style="margin:0in 0in 0pt" class="MsoNormal"><font size="3"><font face="Calibri">conn %default</font></font></p><font size="3" face="Times New Roman">
</font><p style="margin:0in 0in 0pt" class="MsoNormal"><font size="3"><font face="Calibri">
ikelifetime=60m</font></font></p><font size="3" face="Times New Roman">
</font><p style="margin:0in 0in 0pt" class="MsoNormal"><font size="3"><font face="Calibri">
keylife=20m</font></font></p><font size="3" face="Times New Roman">
</font><p style="margin:0in 0in 0pt" class="MsoNormal"><font size="3"><font face="Calibri">
rekeymargin=3m</font></font></p><font size="3" face="Times New Roman">
</font><p style="margin:0in 0in 0pt" class="MsoNormal"><font size="3"><font face="Calibri">
keyingtries=1</font></font></p><font size="3" face="Times New Roman">
</font><p style="margin:0in 0in 0pt" class="MsoNormal"><font size="3"><font face="Calibri">
authby=secret</font></font></p><font size="3" face="Times New Roman">
</font><p style="margin:0in 0in 0pt" class="MsoNormal"><font size="3"><font face="Calibri">
keyexchange=ikev2</font></font></p><font size="3" face="Times New Roman">
</font><p style="margin:0in 0in 0pt" class="MsoNormal"><font size="3" face="Calibri"> </font></p><font size="3" face="Times New Roman">
</font><p style="margin:0in 0in 0pt" class="MsoNormal"><font size="3"><font face="Calibri">conn mytest</font></font></p><font size="3" face="Times New Roman">
</font><p style="margin:0in 0in 0pt" class="MsoNormal"><font size="3"><font face="Calibri">
left=%any</font></font></p><font size="3" face="Times New Roman">
</font><p style="margin:0in 0in 0pt" class="MsoNormal"><font size="3"><font face="Calibri">
leftsubnet=<a href="http://0.0.0.0/0">0.0.0.0/0</a></font></font></p><font size="3" face="Times New Roman">
</font><p style="margin:0in 0in 0pt" class="MsoNormal"><font size="3"><font face="Calibri">
leftcert=/home/amdroid/cacert.pem</font></font></p><font size="3" face="Times New Roman">
</font><p style="margin:0in 0in 0pt" class="MsoNormal"><font size="3"><font face="Calibri">
leftsourceip=%config</font></font></p><font size="3" face="Times New Roman">
</font><p style="margin:0in 0in 0pt" class="MsoNormal"><font size="3"><font face="Calibri">
mobike=yes</font></font></p><font size="3" face="Times New Roman">
</font><p style="margin:0in 0in 0pt" class="MsoNormal"><font size="3"><font face="Calibri">
right=%any</font></font></p><font size="3" face="Times New Roman">
</font><p style="margin:0in 0in 0pt" class="MsoNormal"><font size="3"><font face="Calibri">
auto=start</font></font></p><font size="3" face="Times New Roman">
</font><p style="margin:0in 0in 0pt" class="MsoNormal"><font size="3" face="Calibri"> </font></p><font size="3" face="Times New Roman">
</font><p style="margin:0in 0in 0pt" class="MsoNormal"><font size="3" face="Calibri"> </font></p><font size="3" face="Times New Roman">
</font><p style="margin:0in 0in 0pt" class="MsoNormal"><b><font size="3"><font face="Calibri">### Server ###</font></font></b></p><font size="3" face="Times New Roman">
</font><p style="margin:0in 0in 0pt" class="MsoNormal"><font size="3"><font face="Calibri"># ipsec.conf – strongSwan IPsec configuration file</font></font></p><font size="3" face="Times New Roman">
</font><p style="margin:0in 0in 0pt" class="MsoNormal"><font size="3"><font face="Calibri">config setup</font></font></p><font size="3" face="Times New Roman">
</font><p style="margin:0in 0in 0pt" class="MsoNormal"><font size="3"><font face="Calibri">
strictcrlpolicy=no</font></font></p><font size="3" face="Times New Roman">
</font><p style="margin:0in 0in 0pt" class="MsoNormal"><font size="3"><font face="Calibri">
plutostart=no</font></font></p><font size="3" face="Times New Roman">
</font><p style="margin:0in 0in 0pt" class="MsoNormal"><font size="3" face="Calibri"> </font></p><font size="3" face="Times New Roman">
</font><p style="margin:0in 0in 0pt" class="MsoNormal"><font size="3"><font face="Calibri">conn %default</font></font></p><font size="3" face="Times New Roman">
</font><p style="margin:0in 0in 0pt" class="MsoNormal"><font size="3"><font face="Calibri">
ikelifetime=60m</font></font></p><font size="3" face="Times New Roman">
</font><p style="margin:0in 0in 0pt" class="MsoNormal"><font size="3"><font face="Calibri">
keylife=20m</font></font></p><font size="3" face="Times New Roman">
</font><p style="margin:0in 0in 0pt" class="MsoNormal"><font size="3"><font face="Calibri">
rekeymargin=3m</font></font></p><font size="3" face="Times New Roman">
</font><p style="margin:0in 0in 0pt" class="MsoNormal"><font size="3"><font face="Calibri">
keyingtries=1</font></font></p><font size="3" face="Times New Roman">
</font><p style="margin:0in 0in 0pt" class="MsoNormal"><font size="3"><font face="Calibri">
authby=secret</font></font></p><font size="3" face="Times New Roman">
</font><p style="margin:0in 0in 0pt" class="MsoNormal"><font size="3"><font face="Calibri">
keyexchange=ikev2</font></font></p><font size="3" face="Times New Roman">
</font><p style="margin:0in 0in 0pt" class="MsoNormal"><font size="3" face="Calibri"> </font></p><font size="3" face="Times New Roman">
</font><p style="margin:0in 0in 0pt" class="MsoNormal"><font size="3"><font face="Calibri">conn mytest</font></font></p><font size="3" face="Times New Roman">
</font><p style="margin:0in 0in 0pt" class="MsoNormal"><font size="3"><font face="Calibri">
left=%any</font></font></p><font size="3" face="Times New Roman">
</font><p style="margin:0in 0in 0pt" class="MsoNormal"><font size="3"><font face="Calibri">
leftsubnet=<a href="http://0.0.0.0/0">0.0.0.0/0</a></font></font></p><font size="3" face="Times New Roman">
</font><p style="margin:0in 0in 0pt" class="MsoNormal"><font size="3"><font face="Calibri">
mobike=yes</font></font></p><font size="3" face="Times New Roman">
</font><p style="margin:0in 0in 0pt" class="MsoNormal"><font size="3"><font face="Calibri">
right=%any</font></font></p><font size="3" face="Times New Roman">
</font><p style="margin:0in 0in 0pt" class="MsoNormal"><font size="3"><font face="Calibri">
auto=add</font></font></p><font size="3" face="Times New Roman">
</font><p style="margin:0in 0in 0pt" class="MsoNormal"><font size="3"><font face="Calibri">
authby=pubkey</font></font></p><font size="3" face="Times New Roman">
</font><p style="margin:0in 0in 0pt" class="MsoNormal"><font size="3"><font face="Calibri">
leftcert=cert.pem</font></font></p><font size="3" face="Times New Roman">
</font><p style="margin:0in 0in 0pt" class="MsoNormal"><font size="3"><font face="Calibri">
rightid=%any</font></font></p><font size="3" face="Times New Roman">
</font><p style="margin:0in 0in 0pt" class="MsoNormal"><font size="3"><font face="Calibri">
leftid=%any</font></font></p><font size="3" face="Times New Roman">
</font><p style="margin:0in 0in 0pt" class="MsoNormal"><font size="3"><font face="Calibri">
rightsourceip=<a href="http://10.0.0.1/24">10.0.0.1/24</a></font></font></p><font size="3" face="Times New Roman">
</font><p style="margin:0in 0in 0pt" class="MsoNormal"><font size="3"><font face="Calibri">
esp=aes256-sha384-modp4096 !</font></font></p><font size="3" face="Times New Roman">
</font><p style="margin:0in 0in 0pt" class="MsoNormal"><font size="3"><font face="Calibri">
ike=aes256-sha384-modp4096 !</font></font></p><font size="3" face="Times New Roman">
</font>