<div dir="ltr"><div><div><div><div><div><div><div>Hi Noel,<br><br></div>Thanks for replying.<br><br></div>I haven't tried it before, but (I think) I've just tried now and it didn't work (I got the same connectivity problems).<br><br></div>I've edited /etc/strongswan.d/charon.conf by setting:<br>cisco_unity = yes<br><br></div>and I've confirmed I've /etc/strongswan.d/charon/unity.conf being loaded.<br><br></div>Then I've ran the charon-cmd above and the result was the same. I'm not sure if charon-cmd reads charon.conf or not though. Is there a way to check which plugins are being loaded by charon-cmd?<br><br></div>Thanks,<br></div>André.<br></div><div class="gmail_extra"><br><div class="gmail_quote">On Sat, May 2, 2015 at 10:54 AM, Noel Kuntze <span dir="ltr"><<a href="mailto:noel@familie-kuntze.de" target="_blank">noel@familie-kuntze.de</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><br>
-----BEGIN PGP SIGNED MESSAGE-----<br>
Hash: SHA256<br>
<br>
Hello André,<br>
<br>
Did you try using the UNITY plugin?<br>
<br>
Mit freundlichen Grüßen/Kind Regards,<br>
Noel Kuntze<br>
<br>
GPG Key ID: 0x63EC6658<br>
Fingerprint: 23CA BB60 2146 05E7 7278 6592 3839 298F 63EC 6658<br>
<span class=""><br>
Am 02.05.2015 um 10:45 schrieb André Pinto:<br>
> Hi<br>
><br>
> I'm trying to connect to my employer's office network from my home using Strongswan's VPN client.<br>
><br>
> I'm using 2 factor authentication with pre-shared key and I'm running this command in order to connect to the network:<br>
><br>
> charon-cmd --debug 0 --identity $USERNAME --xauth-username $USERNAME --host $RIGHT_IP --profile ikev1-xauth-psk-am --esp-proposal aes256-sha1 --ah-proposal aes256-sha1 --ike-proposal aes256-sha1-modp1024<br>
><br>
> with the following network configuration:<br>
><br>
><br>
> <br>
><br>
</span><span class="">> With this software versions:<br>
> Distro: Debian Jessie ( Debian 3.16.7-ckt9-3~deb8u1 (2015-04-24) )<br>
> Strongswan: 5.2.1<br>
><br>
> Even though I successfully establish the VPN connection:<br>
><br>
> 14[IKE] IKE_SA cmd[1] established between $LOCAL_IP[$USERNAME]...$RIGHT_IP[$RIGHT_IP]<br>
</span>> 08[IKE] CHILD_SA cmd{1} established with SPIs $X and TS $Y/32 === <a href="http://0.0.0.0/0" target="_blank">0.0.0.0/0</a> <<a href="http://0.0.0.0/0" target="_blank">http://0.0.0.0/0</a>><br>
<span class="">><br>
> I'm not able to open any kind of website (being it inside the office network or the public web) either via WiFi or Ethernet cable. curl just waits forever but traceroute works and mtr doesn't show any package lost.<br>
><br>
> When I connect my laptop directly to the Inteno XG6749 switch (managed by the ISP, I don't have any kind of admin access to it), everything works as expected.<br>
><br>
> I've confirmed that IPSec passthrough is enabled on the TP-Link TL-WR841ND, I've updated the vendor's firmware, tried DD-WRT, tried a different router (Technicolor TG799vn v2) but the result is always the same.<br>
><br>
> Besides that, if I use one of the subregions VPN hosts from my company instead of the generic alias they provide for the VPN access, I'm able to access most of the Internet and a considerable part of the company's private network. However, accessing some sites, for example, Gmail takes forever (I have to fallback to the HTML only version to open it, otherwise it gets stuck in the loading bar), and some other internal resources have the same problem. It kind of "feels" like the connection is losing packets even though mtr doesn't say so.<br>
><br>
> Accessing the company's VPN from other networks (e.g. in my previous apartment and at the office Guest's network) also works properly.<br>
><br>
> I've already tried to identify the problem by using several tools but I don't really know how Strongswan works that well, so I was unable to get anything useful from that.<br>
><br>
> Do you know what might be causing this strange problem? Is there any thing I can do to identify the root cause of the problem or to fix it? I'm completely out of ideas here.<br>
><br>
> Thanks in advance,<br>
> André.<br>
><br>
><br>
</span>> _______________________________________________<br>
> Users mailing list<br>
> <a href="mailto:Users@lists.strongswan.org">Users@lists.strongswan.org</a><br>
> <a href="https://lists.strongswan.org/mailman/listinfo/users" target="_blank">https://lists.strongswan.org/mailman/listinfo/users</a><br>
<br>
-----BEGIN PGP SIGNATURE-----<br>
Version: GnuPG v2<br>
<br>
iQIcBAEBCAAGBQJVRJDaAAoJEDg5KY9j7GZYp5sP/AibPef1VeHrlptJlgUetXMM<br>
L75MQebzyi0T3Ov2IpdjiNlfrzX+3wUOihqxsqJqwIxEvz1dzzjPaBFG2lWqtK6n<br>
vcbjhfBepqAw9vYox4dmMrYLKZBD+DfQIzKctxSGCE6FGU0DnSPExGMViMYaXoyR<br>
KAVtxMEgw22qyBzaObrMivS3nX2c9ukmxmb++dH2K8SSvTwrLi6xaBhl/bCITVV8<br>
MquWEr+8Ou15FAcRDl+dveGlTGdGqJ74/dbyxoYa6/oeufaxFYgd3wDvyRnveQmj<br>
+0h2PEnHlwnrR73uBg+o15Cs3DzuHsrqRd6/Q57Y+HIiTmAqc7W2ADjFNj7ygROc<br>
dlyoWIfHalGwHhxASqCmPsEYpCAJlAPbpsAygaKBKzzhmzVtSnj3hDcJyghdsnbM<br>
eGzl6/XcLxTT4K6XYPnfGCvPrMH0cU20c1UCvYN7swQ7lDjQyRG/hru5pDsjjZYk<br>
sVOVLsBgZGZQioQP8q8syixQmU5oFgU0ie+ZRsSDuFw6Rdkrh6ZItKxEktf92KfQ<br>
OcLHEZnpZhOmRtw4mavJdeu94kG4r+XhnBPjTsy8PArBiefjObDdklx4mARzckVX<br>
Lt+7fR/WTJCjJmamukyif1ZU5ISurJN+nPYaj4uKftV/Hvn2YZylsI0fHSDW/OTi<br>
+H++AV0lbkNNdcUWm5Gr<br>
=ylOO<br>
-----END PGP SIGNATURE-----<br>
<br>
</blockquote></div><br></div>