myVPN Setup for Mac OS X

This document assumes that you have an Internet connection already present. Please follow the instructions below to configure Mac OS to connect to UBC's myVPN service.

Important notes:

  • Requires Mac OS X 10.4 and above
  • OS X Lion (10.7) requires Java SE 6 which by default is not included. Download Java here before continuing with the VPN client set up.

Web-based VPN Client Setup

  1. Open your browser and go to the website https://myvpn.ubc.ca
  2. Enter your CWL username and password and click Login.

    Note: If you are a member of a specialized departmental group, you can append your group id after the CWL username (e.g. cwluser.department). If you are not sure whether you need a departmental group, just enter your CWL username.

    myvpnosx1
  3. The installation will begin and may take several minutes to complete. If presented with a security certificate prompt, click Trust to accept the certificate.

    myvpnosx2
  4. If prompted to elevate permissions for installation, enter your Mac OS X Profile username and password and click OK.

    myvpnosx3

  5. The installation will continue. If it fails, proceed to the Manual VPN Client Installation section. Otherwise, the Cisco AnyConnect VPN Client window should read Connection Established.
    myvpnosx4

  6. When the installation is completed, an icon will appear at the top menu bar of the desktop. You are now successfully connect to the UBC myVPN service. You can click on the icon to disconnect or quit.

    myvpnosx6  

Enabling Access to Your Local (home) Network Devices:

When you enable local LAN access, it will allow your computer to access devices in IP addresses range of 192.168.0.0 to 192.168.255.255. This is useful if you want to connect to other network devices at home such as network printers. Note: If you are connecting to a specialized departmental pool, this option may be disabled depending upon your department's security settings.

  1. Click on the Cisco AnyConnect VPN Client icon on the menu bar.

    myvpnosx6
  2. Select Bring AnyConnect to front.
  3. On the menu bar click on Cisco AnyConnect VPN Client (next to the Apple icon), then select Preferences.
  4. Turn on Enable local LAN access, then click Save.

Reconnecting to myVPN

You have 2 options in reconnecting to myVPN:

  • Go to https://myvpn.ubc.ca and the Cisco AnyConnect VPN Client should automatically launch.
  • If you would like connect without going to the website, use the installed client.
    1. Go to Applications -> Cisco- > Cisco AnyConnect VPN Client.
    2. In the Connect To: field, enter myvpn.ubc.ca and click Select.
      myvpnosx6
    3. Enter your CWL username and password, and click Connect.

      Note: If you are a member of a specialized departmental group, you can append your group id after the CWL username (e.g. cwluser.departmentgroup).myvpnosx7

Manual VPN Client Installation

  1. If the automated installation fails, you will be presented with a screen similar to the following. Click the link to continue.

    myvpnosx6
  2. Save the vpnsetup.sh file to your Desktop.

    myvpnosx7
  3. Open the Mac OS X Terminal in your Applications/Utilities folder.

    myvpnosx8
  4. At the command line, enter the following commands:
    cd ~/Desktop
    sudo sh ./vpnsetup.sh

    enter your Mac OS X Profile password to proceed with the installation.
  5. When the installation is complete, you may close Terminal. In your browser, go back to website
    https://myvpn.ubc.ca and login with your CWL username and password to connect.