![]() |
VPN Client User Guide for Linux and Solaris, Release 4.0
|
|||||||||||
Installing the VPN Client
![]() |
||||||||||||
Table of ContentsInstalling the VPN ClientUninstalling an Old Client Gathering Information You Need Verifying System Requirements Unpacking the VPN Client Files Installing the Software Installing the VPN ClientThis chapter describes how to install the VPN Client software on your workstation. You should be familiar with software installation on UNIX computers to perform this procedure. The commands and some parts of the driver are distributed in binary form only. Uninstalling an Old ClientThis section describes how to uninstall the VPN Client.
Uninstalling a VPN Client for SolarisIf a VPN Client for Solaris was previously installed, you must remove the old VPN Client before you install a new one. To uninstall a package, use the pkgrm command. For example: Uninstalling a VPN Client for LinuxTo uninstall the VPN Client for Linux: Step 1 Run the following command: Step 2 You are prompted to remove all profiles and certificates. Gathering Information You NeedTo configure and use the VPN Client, you might be required to have the following information. This information is normally obtained from the system administrator of the private network you want to access. The system administrator might preconfigure much of this data.
Verifying System RequirementsThis section describes system requirements for the VPN Client for each operating system. Linux System RequirementsThe 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.
Firewall IssuesIf you are running a Linux firewall (for example, ipchains or iptables), be sure that the following types of traffic are allowed to pass through: Troubleshooting TipThe following two lines might be added by default with your Linux installation in the /etc/sysconfig/ipchains directory. For Red Hat, this might be written to the /etc/sysconfig/ipchains directory. These two commands might prevent UDP traffic from passing through. If you have problems with UDP traffic, try one of the following solutions:
This rule allows UDP port 500, which is required for the VPN Client connection. Solaris System RequirementsThe VPN Client for Solaris runs on any UltraSPARC computer running a 32-bit or 64-bit Solaris kernel OS Version 2.6 or later. Changing a Kernel VersionYou can install the VPN Client running the 32-bit or 64-bit version of the kernel (referred to as 32-bit mode and 64-bit mode). If you experience problems installing or running the VPN Client in one mode, try the other one. To see which mode the system is running in, enter this command: If the cipsec module is loaded correctly, the dmesg log displays a message similar to the following:
Unpacking the VPN Client FilesThe VPN Client is shipped as a compressed tar file. Step 1 Download the packed files, either from your internal network or the Cisco website, to a directory of your choice. Step 2 Copy the VPN Client file to a selected directory. Step 3 Unpack the file using the zcat and tar commands. For example, the command for Linux is: This command creates the vpnclient directory in the current directory. Installing the SoftwareThe following sections describe the installation procedure for the VPN Client for each operating system. Installing the VPN Client for LinuxBefore you install a new version of the VPN Client, or before you reinstall your current version, you must use the stop command to disable VPN service. If you are upgrading from the VPN 5000 Client to the VPN Client, use the following stop command: If you are upgrading from the VPN 3000 Client to the VPN Client, use the following stop command: To install the VPN Client for Linux Step 1 Obtain superuser privileges to run the install script. Step 2 Enter the following commands: The default directories for the binaries, kernel, VPN modules, and profiles are listed during the installation process. You receive the following prompts during the installation: Step 3 Press Enter to choose the default response. At the directory prompts, if you do not choose the default, you must enter another directory in your user's path. Step 4 If the installer cannot autodetect these settings, you might receive the following prompts: Step 5 Enable the VPN service by using one of the following methods: Kernel Source RequirementsTo install the VPN Client, you must have the kernel source that was used to build the kernel that is running on the system. If the system is using a kernel that came as part of the Linux distribution, or a custom built kernel, the kernel code can be obtained in different ways:
VPN Client for Linux Install Script NotesDuring the installation process: 1. The module is compiled, linked, and copied to either the directory /lib/modules/preferred/CiscoVPN, if it exists, or to /lib/modules/system/CiscoVPN, where system is the kernel version. 2. The application binaries are copied to the specified destination directory. 3. The startup file /etc/rc.d/init.d/vpnclient_init is created to enable and disable the VPN service. 4. The links /etc/rc3.d/s85vpnclient and /etc/rc5.d/s85vpnclient are added to run level 3 and level 5 if startup at boot time is requested. These links allow the tunnel server to start at boot time and run in levels 3 and 5. Installing the VPN Client for SolarisBefore you install a new version of the VPN Client, or before you reinstall your current version, you must uninstall the old VPN Client. See the "Uninstalling an Old Client" section for more information.
To install the VPN Client for Solaris Step 1 Obtain superuser privileges to run the install script. Step 2 Enter the following command: The default directories for the binaries, kernel, VPN modules, and profiles are listed during the installation process. You receive the following prompts during the installation: The following files are already installed on the system and are being used by another package:<installer lists files> Do you want to install these conflicting files [y,n,?,q]
Step 3 Press Enter to choose the default response. At the directory prompts, if you do not choose the default, you must enter another directory in your user's path. Step 4 Restart your computer. VPN Client for Solaris Install Script NotesDuring the installation process: 1. The following line is added to the /etc/iu.ap file to enable the autopush facility at startup: where dev_name is the name of the interface without the trailing numbers (for example ipdtp, le, or hme). A line is added for every supported network device detected. 2. The VPN module is copied to the /kernel/strmod directory, which is in the system's module search path. The pkginfo command provides information about the installed packages. For more information on other package-related commands, enter:
|
||||||||||||
|
|