I had a similar problem when I got started with Strongswan. I could connect to the VPN, but couldn't browse anything. I fixed it with this:
http://superuser.com/questions/648283/strongswan-ipsec-vpn-for-windows-7-road-warrior-config

On 11/2/2013 1:32 PM, Luka wrote:
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) <http://wiki.strongswan.org/projects/strongswan/wiki/IOS_%28Apple%29>

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 <http://0.0.0.0/0>

leftcert=serverLupoCert.pem

right=%any

rightsubnet=10.0.0.0/24 <http://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



_______________________________________________
Users mailing list
[email protected]
https://lists.strongswan.org/mailman/listinfo/users

_______________________________________________
Users mailing list
[email protected]
https://lists.strongswan.org/mailman/listinfo/users

Reply via email to