Re: [strongSwan] VPN works with only 1 remote client. second client logs in and disconnects the first.

2013-11-06 Thread Lawrence Chiu
Hi Tobias, Seems like one problem goes away and another one starts. It seems the Ipad can't stay connected for a long time, whereas the Android can keep up the connection indefinitely. The time seems to vary but within an hour, the Ipad drops the VPN connection. Question is is this an iPad

Re: [strongSwan] VPN works with only 1 remote client. second client logs in and disconnects the first.

2013-11-06 Thread Lawrence Chiu
Thank you Tobias. I could not use "uniqueids=no" because it was not supported by my version of Strongswan (4.5.2). But using a different certificate on the Android client solved the problem. Regards, LawrenceC On 11/6/2013 4:17 AM, Tobias Brunner wrote: > Hi Lawrence, > > It's not the XAuth u

Re: [strongSwan] VPN works with only 1 remote client. second client logs in and disconnects the first.

2013-11-06 Thread Tobias Brunner
Hi Lawrence, It's not the XAuth users but the certificate's DN that is equal and causes the deletion of the previous SA: > Nov 5 12:16:19 vmware-u003 pluto[27166]: "ios"[3] 166.147.65.85:28107 > #3: Peer ID is ID_DER_ASN1_DN: 'C=CH, O=strongSwan, CN=win7.mycompany.local' > Nov 5 12:16:19 vmwar

Re: [strongSwan] VPN works with only 1 remote client. second client logs in and disconnects the first.

2013-11-05 Thread Lawrence Chiu
Hi Noel, I have two users set up in ipsec.secrets. iPad uses "user1", the Android phone uses "user2". But the same problem still persists. Everything is fine with just iPad. Connect with the Android phone and iPad gets kicked off. As I am using only the sample files from the Wiki, I am sur

Re: [strongSwan] VPN works with only 1 remote client. second client logs in and disconnects the first.

2013-11-05 Thread Noel Kuntze
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Hello Lawrence, I think to make this work, you have to specify two different pars of XAUTH credentials in ipsec.secrets. One for your iPad and one for your Android phone. Regards Noel Kuntze On 05.11.2013 14:35, Lawrence Chiu wrote: > I original

[strongSwan] VPN works with only 1 remote client. second client logs in and disconnects the first.

2013-11-05 Thread Lawrence Chiu
I originally sent this email on 10/4/2013 but I got no replies, and after a month, I still have this problem. Can anyone help? I followed the configuration shown in the wiki for Apple IOS clients. http://wiki.strongswan.org/projects/strongswan/wiki/IOS_(Apple)

[strongSwan] VPN works with only 1 remote client. second client logs in and disconnects the first.

2013-10-04 Thread Lawrence Chiu
I followed the configuration shown in the wiki for Apple IOS clients. http://wiki.strongswan.org/projects/strongswan/wiki/IOS_(Apple) It works on one remote client (iPad). When I connect a second remote client (Android phone)