[strongSwan] iPhone iOS devices disconnecting when screen if off.

Felipe Arturo Polanco felipeapolanco at gmail.com
Wed Jun 14 15:36:37 CEST 2017


Hi,

We are facing a problem with our Strongswan 5.4 IKEv1 xAUTH with PSK server.

Basically we can get all the devices login fine and get their IPs but when
the iphone turn off the screen, after a few seconds the connection drops.

I have many servers with this issue and only happens to devices when they
go to sleep, in Android devices it works fine.

Here is our ipsec.conf:

config setup
    cachecrls=yes
    uniqueids=yes
    charondebug="cfg 2, chd 2, esp 2, ike 2, knl 2, mgr 2, net 2"

conn ios
    keyexchange=ikev1
    authby=xauthpsk
    xauth=server
    leftsubnet=0.0.0.0/0
    leftfirewall=yes
    lefthostaccess=yes
    right=%any
    rightsourceip=192.168.47.1/24
    rightdns=8.8.8.8
    auto=add

We appreciate any help on this.

Thanks,
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.strongswan.org/pipermail/users/attachments/20170614/4a311022/attachment.html>


More information about the Users mailing list