Connecting via the native Cisco IPSec VPN client on Mac OS X
Example of profile configuration file, illustrating only the part that is relevant to this post:
- Go to System Preferences → Network and click the plus sign (Create a new service).
- Choose “VPN” for the interface and “Cisco IPSec” for its type. In the Service Name field, either enter a specific name that characterizes the VPN connection or just leave the suggested one.
- Open the .pcf file, using any text editor, or any other file that was given and contains the necessary parameters. The values that are, at least, required from the .pcf file are: Host, GroupName and enc_GroupPwd. Entering a passwords is not obligatory, as the remote resource will prompt for password whenever a connection is made.
- Enter the Server Address, using the corresponding “Host” value in the .pcf file (i.e. vpn.example.com).
- Enter your Account Name and Password. Both refer to your personal credentials.
- Click on the “Authentication Settings” button.
- Enter the Shared Secret, based on the corresponding “enc_GroupPwd” value in the .pcf file. You have to copy the long series of letters and numbers and paste it in a website that decrypts Cisco VPN group passwords (a search on Google provides numerous results). The result needs to be copied in the Shared Secret field.
For example, decrypting group password:
letmein(this is the value that should be used)
- Enter the Group Name using the corresponding “GroupName” value in the .pcf file (i.e. GroupExample).
Note: iPhone’s iOS has also a built-in Cisco IPSec VPN client. The configuration steps are the same with those described above. The only difference is the first step, since you have to go to Settings → General → Network → VPN and click on the “Add VPN Configuration…” option.