VPN Usage Instructions for Linux

Cisco VPN Preparation. 
  1. Verify System Requirements
    • The VPN Client for Linux supports Red Hat Version 6.2 Linux (Intel), or compatible libraries with glibc Version 2.1.1-6 or later, using kernel Versions 2.2.12 or later.
       
  2. Download the VPN Client file by selecting the Linux link from this page.
     
  3. Unpack the file using the following command from within the directory to which you downloaded the client
    • gunzip -c vpnclient-linux-4.6.02.0030-k9.tar.gz|tar xvf -.
       
  4. For those of you with the Linux kernel 2.6 or higher (if you are unsure of your kernel version, open a command prompt and type in the command uname -r, then press the Enter key - the kernel version will be displayed), you will need a patch file to correctly install the VPN Client for Linux.  The patch can be obtained here.
     
Cisco VPN Client Installation.
  1. Obtain superuser privileges to run the install script.
     
  2. Enter the following command:
    cd vpnclient
    patch <../vpnclient-linux-2.6.19+-rev1.diff
    ./vpn_install

     
  3. The default directories for the binaries, kernel, VPN modules, and profiles are listed during the installation process.

     
  4. You receive the following prompts during the installation. Press Enter to choose the default responses.
    • Directory where binaries will be installed [/lib/modules//build/]
      • Note: if you do not choose the default directory, you must enter the chosen directory in your user's PATH.
    • Automatically start the VPN service at boot time [yes]
    • Directory containing linux kernel source code [/usr/src/linux]
    • Is the above correct [y]
       
  5. If the installer cannot auto detect these settings, you might receive the following prompts:
    • Directory containing init scripts:
      This is the directory where scripts that are run at boot time are kept. Typically this is /etc/init.d or /etc/rc.d/init.d
    • Directory containing run level directories (rcX.d):
      This is the directory that contains init's run level directories. Typically this is /etc or /etc/rc.d
       
  6. Restart your computer.
     
Cisco VPN Client Setup.

The VPN Client uses parameters that must be uniquely configured for each remote user of the private network. Together these parameters make up a user profile, which is contained in a profile configuration file (.pcf file). User profiles reside in the default directory /etc/CiscoSystemsVPNClient/Profiles/, or in the directory specified during the VPN Client installation. User profile parameters include the remote server address, IPSec group name and password, use of a log file, use of backup servers, and automatic connect upon startup. Each connection entry has its own user profile.

  1. Use a Text Editor to create a file named njitvpn.pcf within the /etc/CiscoSystemsVPNClient/Profiles/ directory.
     
  2. Add the following lines:
    [main]
    Description=NJIT VPN
    Host=clientvpn.njit.edu
    AuthType=1
    GroupName=acad
    GroupPwd=acad
    • Note: if you are Faculty/Staff member replace GroupName=acad with GroupName=admin and GroupPwd=acad with GroupPwd=admit
       
Connect Using the VPN Client.
  1. Before you can use the VPN client, there is a service that you may need to start.  To do so, execute this command: sudo /etc/init.d/vpnclient_init start - if that is not where your vpnclient_init scrip resides, simply use the full path to your vpnclient_init script and use the start option.
     
  2. To establish a connection, enter the following command:
    • vpnclient connect njitvpn.pcf
       
  3. You are prompted for Username and password. Use your UCID as username and type in the password for your UCID.
     
Disconnecting the VPN Client.
  1. Enter the following command:
    • vpnclient disconnect
       
  2. And to stop the vpnclient_init service, execute the command: sudo /etc/init.d/vpnclient_init stop
     
Uninstalling a VPN Client.
  1. Enter the following command:
    • sudo /usr/local/bin/vpn_uninstall
       
Last Updated: June 29, 2017