<div dir="ltr">Andreas,<div><br></div><div>I can ping6 fe80::20c:29ff:fe9d:7d88 and when I tried to establish Ipsec connection using charon-cmd, I get following error. Do I need to setup anything to following to work?</div><div><div><br></div><div><div>ubuntu:/var/log$ sudo charon-cmd --host fe80::20c:29ff:fe9d:7d88 --identity fe80::20c:29ff:fe32:ba9c</div><div>00[DMN] Starting charon-cmd IKE client (strongSwan 5.4.0, Linux 3.16.0-30-generic, x86_64)<br></div><div>00[LIB] loaded plugins: charon-cmd pkcs11 aes des rc2 sha2 sha1 md5 random nonce x509 revocation constraints pubkey pkcs1 pkcs7 pkcs8 pkcs12 sshkey pem openssl fips-prf gmp xcbc cmac hmac kernel-netlink resolve socket-default xauth-generic</div><div>00[JOB] spawning 16 worker threads</div><div>06[IKE] unable to resolve fe80::20c:29ff:fe9d:7d88, initiate aborted</div><div>06[MGR] tried to checkin and delete nonexisting IKE_SA</div><div>ubuntu:/var/log$ </div></div><div><br></div></div><div><br></div><div>Thanks,</div><div>Rajeev</div></div><div class="gmail_extra"><br><div class="gmail_quote">On Tue, May 10, 2016 at 3:59 AM, Andreas Steffen <span dir="ltr"><<a href="mailto:andreas.steffen@strongswan.org" target="_blank">andreas.steffen@strongswan.org</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi Rajeev,<br>
<br>
is the charon daemon running? If not, either start charon manually:<br>
<br>
sudo /usr/local/libexec/ipsec/charon &<br>
<br>
or if your Linux distribution still uses upstart, copy the<br>
following script to /etc/init.d/<br>
<br>
<br>
<a href="https://wiki.strongswan.org/projects/strongswan/repository/revisions/master/entry/testing/hosts/default/etc/init.d/charon" rel="noreferrer" target="_blank">https://wiki.strongswan.org/projects/strongswan/repository/revisions/master/entry/testing/hosts/default/etc/init.d/charon</a><br>
<br>
and start the charon daemon in the appropriate runlevels.<br>
<br>
If your Linux distribution uses systemd instead, compile and<br>
install strongSwan with<br>
<br>
./config --enable-systemd<br>
<br>
and enable and start the strongswan-swanctl service.<br>
<br>
BTW - in order to use the vici socket you must be root. Thus<br>
<br>
sudo swanctl --load-conn<br>
<br>
Best regards<br>
<br>
Andreas<div><div class="h5"><br>
<br>
On 09.05.2016 16:34, rajeev nohria wrote:<br>
</div></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div><div class="h5">
I am new user of Strongswan and running 5.4.0. After creating<br>
certificates and configuring two Ubuntu m/c with Strongswan 5.4.0. I try<br>
to create connection as following and get error. Please advise, how to<br>
resolve following issue?<br>
<br>
$swanctl --load-conn<br>
connecting to 'unix:///var/run/charon.vici' failed: No such file or<br>
directory<br>
Error: connecting to 'default' URI failed: No such file or directory<br>
strongSwan 5.4.0 swanctl<br>
usage:<br>
<br>
<br>
Thanks,<br>
Rajeev<br>
<br>
<br></div></div>
_______________________________________________<br>
Users mailing list<br>
<a href="mailto:Users@lists.strongswan.org" target="_blank">Users@lists.strongswan.org</a><br>
<a href="https://lists.strongswan.org/mailman/listinfo/users" rel="noreferrer" target="_blank">https://lists.strongswan.org/mailman/listinfo/users</a><br>
<br><span class="HOEnZb"><font color="#888888">
</font></span></blockquote><span class="HOEnZb"><font color="#888888">
<br>
-- <br>
======================================================================<br>
Andreas Steffen <a href="mailto:andreas.steffen@strongswan.org" target="_blank">andreas.steffen@strongswan.org</a><br>
strongSwan - the Open Source VPN Solution! <a href="http://www.strongswan.org" rel="noreferrer" target="_blank">www.strongswan.org</a><br>
Institute for Internet Technologies and Applications<br>
University of Applied Sciences Rapperswil<br>
CH-8640 Rapperswil (Switzerland)<br>
===========================================================[ITA-HSR]==<br>
<br>
</font></span></blockquote></div><br></div>