I recently purchased a shiny new iPhone 3G and wanted to be able to connect back to my house where I have a Cisco ASA 5505. I have noticed a lot of questions about how to get this to work, so here it is…
First, make sure you are running ASA Software version 8.0(3) or better. The previous versions have a bug when the iPhone connects that will boot all other users connected to the VPN.
On the ASA, we need to get the VPN configured. First, the ACLs for split-tunneling, no NAT and VPN access:
Since this config will authenticate to the local ASA, we need to have a username and password setup:
Now setup a DHCP pool for VPN clients:
Now create the crypto maps and apply them to the outside interface:
Setup ISAKMP:
Now create a remote access VPN policy. Make sure to add the split-dns value for your local domian. If you leave this out, the iPhone will not resolve DNS on the internal network!
Add the tunnel-group to allow the VPN connection:
Now to configure the iPhone. First, go to Settings -> General -> Network -> VPN. Then Add VPN Configuration. Select IPSec at the top and enter your information. The Server is the IP address or hostname of the ASA. The Account is the Username you created in the config above. The Group Name is the tunnel-group name created on the ASA.
To connect the VPN, go to Settings -> VPN (this appears after you create a VPN connection). Just change the option to ON.
Once you see the VPN icon on the top bar, you are connected!
No comments:
Post a Comment