[strongSwan] Strongswan configuration for iphone <--> home network ipsec connection

Luka Lukapple80 at gmail.com
Sat Nov 2 19:32:34 CET 2013


Hi.
Can someone help me with strong swan configuration. I would like to access
home network from my iPhone.
I've setup config(certificates, etc...), following this guide:
http://wiki.strongswan.org/projects/strongswan/wiki/IOS_(Apple)

I can connect to VPN from iPhone, but I can't access home network or
internet.
My home network has following settings:
Subnet mask: 255.255.255.0
Router ip(local ip of vpn server): 192.168.2.1
Other devices ip range is 192.168.2.X
ipsec.conf file:

conn ios

       keyexchange=ikev1

       authby=xauthrsasig

       xauth=server

       left=%defaultroute

       leftsubnet=0.0.0.0/0

       leftcert=serverLupoCert.pem

       right=%any

       rightsubnet=10.0.0.0/24

       rightsourceip=10.0.0.2

       rightcert=clientCert.pem

       auto=add


I probably need to change left/right subnet and source IPs ?


Thanks
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.strongswan.org/pipermail/users/attachments/20131102/73236b58/attachment.html>


More information about the Users mailing list