Skip to content
  • Home
  • About
  • Contact
« September Roundup – Best of the Web
How to uninstall Mac OS X .pkg packages »

How To connect to a Cisco VPN using Mac OS X 10.6

By Sharninder | Published: October 8, 2009

Snow LeopardCisco’s VPN solution are quite popular in the enterprise market and a lot of companies use them to provide their employees access to the company’s networks and resources when the employees are not onsite.

Most of these companies use the default Cisco client which Cisco supplies with a couple of modifications to suit their particular needs. More specifically, the configuration of this client involves creating a .pcf file which the client uses to read the settings for the specific network.

The .pcf file is a plain text only file which a couple of config options, the important of which are the VPN server address, the encrypted group password and the group name.

Mac OS X, since the last few version came with the ability to connect to L2TP and IPSec based VPNs out of the box but lacked the ability to connect to Cisco’s implementation. That has now changed with the release of Mac OS X 10.6 aka. Snow Leopard. OS X now ships with the ability to connect to Cisco based VPNs out of the box.

The only problem is that the configuration of the built in client requires a little bit of “homework” and in this post today I’ll be taking you through just that.

First of all you need to get hold of the .pcf file for your company’s network. If you’d been connecting to the VPN using Cisco’s client all this time, you’ll have the .pcf somewhere on your computer – Search for it and save it somewhere convenient. Or else ask your network admin to provide you with a copy of the file. Either way you need to open this file with a text editor (TextEdit on OS X) and make note of a couple of config parameters.

The first config option that we’re interested in is the Host=xxx.xxx.xxx.xxx option where the xxx.xxx.xxx.xxx is an IP address.

The second option that you’d need is the GroupName=xxx option and the third option that we want is the enc_GroupPwd=xxx where xxx will be a long string of seemingly random characters. The seemingly random characters is the encrypted group password that is needed to connect to your company’s VPN server.

We need to first get the decrypted the encrypted password that we got from the .pcf file. To do this, visit this website and enter the encrypted password from enc_GroupPwd field in the Text box and click decode. The website will decode the password and output the decrypted password in clear form. Make note of this decrypted password as we’ll need to use this later on.

Now, open the Network config panel from the System Preferences application.

Snow Leopard Network Preferences

Click on the + sign to add a new Network connection and Select VPN as the Interface and Cisco IPSec as the VPN Type and press Create.

Now, you need to fill in the details that you’d collected earlier from the .pcf file.

The server address comes from the Host parameter that we looked at earlier. The Account name is the username that you use to connect to the VPN. Password is the one that you use to connect to the VPN. If you use a dongle provided by RSA or some other company which generates a random password each time you login, leave this field blank.

Snow Leopard VPN Settings

Now, click on the Authentication Settings button and in the Shared Secret text box, enter the decrypted password that you got earlier. Enter the text from the GroupName field that we looked at earlier in the Group Name text box. Click on the Ok button and you’re all set.

Snow Leopard VPN Settings

Apply the settings and Click connect to get online and connect to your company’s VPN server.

About Sharninder:

Programmer, blogger and a geek making a living shifting bits around the Internet. Sharninder is the owner of Geeky Ninja
Related Posts with Thumbnails
  • PrintFriendly
  • Yahoo Buzz
  • Google Reader
  • Delicious
  • Evernote
  • LinkedIn
  • StumbleUpon
  • Tumblr
  • Identi.ca
  • Digg
  • Facebook
  • FriendFeed
  • Reddit
  • Technorati Favorites
  • Twitter
  • Share/Bookmark

Related Posts

  • Manipulate and Manage PDF files using Preview – Mac
  • Record a Screencast on Mac OS X using QuickTime X
  • Gruml brings Google Reader to the Desktop [Mac]
  • How to read HFS+ volumes on Windows
  • How to create a secure and private network
This entry was posted in Mac OS X and tagged cisco, Mac OS X, snow leopard, VPN. Bookmark the permalink. Post a comment or leave a trackback: Trackback URL.
« September Roundup – Best of the Web
How to uninstall Mac OS X .pkg packages »

7 Comments

  1. Sarah
    Posted November 24, 2009 at 4:17 am | Permalink

    I’m a network tech for a medium-sized healthcare company. A few of our doctors have recently gotten MACs, and we are trying to set up the VPN client for them (our network is Windows based). The Cisco VPN client we have uses group authentication. We were able to set it up on one of the Doc’s machines (he’s running regular leopard) but we can’t get it to work on snow leopard. I followed the instructions on this page, using the VPN password as the shared secret, put in the group name, have the connection type right. (yes, I do have the cisco VPN software installed) but it’s still not working. Any suggestions?

    Reply
  2. Sharninder
    Posted November 24, 2009 at 8:31 am | Permalink

    Sarah,

    I’m not quite sure why this isn’t working for you since I use a similar setup and everything works for me. There may be something different about your setup that snow leopard doesn’t handle yet. Since the support is built into snow leopard, I think you should be able to get support from Apple for this ?

    Or see if Cisco has a newer version of their client out. That might work for you. There are a couple of third party cisco clients also available for OS X so you might want to give them a look too.

    Reply
  3. Caleb Walker
    Posted December 8, 2009 at 11:40 am | Permalink

    I have 10.6 as well and have never gotten this to work. I can get it to work with Cisco’s client but on the client that comes with either the iPhone or the Mac it says, “Enter your user authentication” with no place to enter it. After clicking ok it says, “The negotiation with the VPN server failed. Verify the server address and try reconnecting.” In the PIX log I find that a user and password never traverse so its not authenticating.

    Reply
    • Sharninder
      Posted December 8, 2009 at 1:23 pm | Permalink

      I’m not sure what problem you’re facing. Did you try following the steps I’ve mentioned to the ‘T’ ? I’ve always connected to my work VPN with this method and never needed to use the official Cisco client.

      Reply
    • Brian
      Posted December 9, 2009 at 6:29 am | Permalink

      Caleb…I’m having the exact same issue you described, both with Snow Leopard and iPhone clients. I can connect using the Cisco VPN client software. From what I can tell, the ACS never even receives the authentication request — there’s nothing listed in the logs as access approved or denied.

      If I find a solution I’ll swing back and post it.

      Reply
    • Brian H.
      Posted December 9, 2009 at 8:17 am | Permalink

      Caleb… We were experiencing the exact same symptoms, but resolved the issue by upgrading our PIX IOS to 7.2.4. This also resolved the VPN issue for iPhones. Cisco says the following about the iPhone VPN but the same holds true for the built-in VPN in Snow Leopard:

      Which Cisco platforms work with the Cisco VPN Client on the iPhone?

      Cisco ASA 5500 Security Appliances and PIX Firewalls. We highly recommend the latest 8.0.x software release (or greater), but you can also use 7.2.x software.

      Neither Cisco IOS VPN routers nor the VPN 3000 Series Concentrators support the iPhone VPN capabilities.

      Reply
      • Sharninder
        Posted December 9, 2009 at 12:04 pm | Permalink

        Aah ! This explains it all. Looks like a Cisco bug and the box at my work was probably already on the latest firmware revision and so everything worked fine for me.

        Thanks for digging out the solution Brian and posting it here.

4 Trackbacks

  1. By Tweets that mention How To connect to a Cisco VPN using Mac OS X 10.6 | Geeky Ninja -- Topsy.com on October 8, 2009 at 2:04 pm

    [...] This post was mentioned on Twitter by Mac OS X Tweets. Mac OS X Tweets said: RT @sharninder How To connect to a Cisco VPN using Mac OS X 10.6 http://bit.ly/zwaMm via @AddToAny [...]

  2. By How To connect to a Cisco VPN using Mac OS X 10.6 | Geeky Ninja » 唧唧客 on October 8, 2009 at 4:16 pm

    [...] See the rest here: How To connect to a Cisco VPN using Mac OS X 10.6 | Geeky Ninja [...]

  3. By   How To connect to a Cisco VPN using Mac OS X 10.6 | Geeky Ninja by Cisco Information Technology on October 8, 2009 at 4:36 pm

    [...] Read more: How To connect to a Cisco VPN using Mac OS X 10.6 | Geeky Ninja [...]

  4. By October Roundup – Best of the Web | Geeky Ninja on November 3, 2009 at 10:07 pm

    [...] I had OS X on my inspiron, I configured it to work with the Cisco VPN solution that my office uses, and also did some digging around with .pkg package format that OS X [...]

Post a Comment

Click here to cancel reply.

Your email is never published nor shared. Required fields are marked *

*
*

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>

Subscribe without commenting

  • Subscription Options:

  • Recent Posts

    • How to add Facebook chat to iChat on Mac OS X
    • How To Get Music Off your iPhone
    • Monitor your websites for free using WasitUp?
    • Grooveshark: Listen to unlimited music online for Free
    • Glide OS – A web based free operating system
    • December Roundup – Best of the Web
    • HowTo install RockBox on your iPod
  • Recent Comments

    • How To Get Music Off your iPhone | Geeky Ninja on How To Get Music Off your iPod
    • Sharninder on Grooveshark: Listen to unlimited music online for Free
    • Briefgold on Grooveshark: Listen to unlimited music online for Free
    • Matjaz on Recover data from an iPhone backup
    • Simon on Recover data from an iPhone backup
  • Most Popular Posts

    1. 3%HowTo install RockBox on your iPod
    2. 2%Grooveshark: Listen to unlimited music online for Free
    3. 2%Glide OS - A web based free operating system
    4. 2%Want to see what the Google Wave Hype is all about ? We've got invites for you
    5. 2%Find the cheapest books on Amazon using CheapRiver
    6. 2%Monitor your websites for free using WasitUp?
    7. 1%December Roundup - Best of the Web
    8. 1%How To Get Music Off your iPhone
    9. 1%How to add Facebook chat to iChat on Mac OS X
  • Categories

    • Announcements
    • Firefox
    • Internet
    • iphone
    • Linux
    • Mac OS X
    • Open Source
    • Tips and tricks
    • Useful Utilities
    • WebApps
    • Windows
  • Archives

    • March 2010
    • February 2010
    • January 2010
    • December 2009
    • November 2009
    • October 2009
    • September 2009
    • August 2009
    • July 2009
    • May 2009
    • April 2009
    • March 2009
    • February 2009
    • January 2009
    • December 2008
Powered by WordPress.