ARCHIVED: In Linux, what software do I need to make a VPN connection to the IU network?

This content has been archived, and is no longer maintained by Indiana University. Information here may no longer be accurate, and links may no longer be available or reliable.

Note: If you are a student, faculty member, or staff member at Indiana University Bloomington, IUPUI, or IU East, use the IU Secure network for wireless access. For help, see About IU Secure wireless If you are visiting IU, instead see You do not have sufficient permission to view this document..

In Linux, you will need the following software to make a VPN connection to the Indiana University network:

Once you have installed the appropriate software, you can form a VPN connection by following the steps at ARCHIVED: In Linux at IUB or IUPUI, how do I make a VPN connection to the IU network? If the instructions listed in this document do not cover your Linux distribution or do not work for you, see the Additional instructions below.

Note: IU's VPN is intended for individual computing accounts only. Group and departmental accounts cannot access the VPN. See Group accounts cannot connect to IU's VPN or campus wireless network

PPP daemon

To form a VPN connection, you must have a PPP daemon capable of Microsoft Point to Point Encryption (MPPE).

If you are running the latest version of RedHat Enterprise, SUSE, Ubuntu, or Gentoo, you probably already have a PPP daemon with the required support. You can check this by entering the following command at the shell prompt:

  which pppd

This command will give you the location of the installed PPP daemon (usually /usr/sbin/pppd). If it does not show this information, you will need to install a PPP daemon; download it from your distribution's repository.

You can find RPMs, source code, and installation instructions for older versions or other distributions at:

  http://pptpclient.sourceforge.net/

Kernel modules

To form a VPN connection, you must have MPPE kernel modules.

If you are running kernel 2.6.15 or later, you already have MPPE support in your kernel. To check your kernel version number, enter the following command at the shell prompt:

  uname -r

You can also check whether the MPPE kernel modules are already enabled on your system by entering the following command at the shell prompt:

  modprobe ppp-compress-18

If the modules are enabled, you may receive a warning about the modules tainting the kernel license or you may receive no output at all. In either case, skip to the section regarding the PPTP client. If you received the message "Can't locate module ppp-compress-18" you will need to enable and install the modules using the instructions for your distribution.

For MPPE kernel modules, source code, and installation instructions, see:

  http://pptpclient.sourceforge.net/ 

If you have RHEL, you need to install the Dynamic Kernel Module Support (DKMS) RPM and the kernel-ppp-mppe RPM. From the web site above, follow the instructions for Fedora.

PPTP client

To form a VPN connection, you must have a current PPTP client installed. To determine whether it is already installed, enter the following command at the shell prompt:

  which pptp

This command should give you the location of the installed PPTP client (usually /usr/sbin/pptp). If it does not show this information, you need to install a PPTP client. Download it using your distribution's package management, or see:

  http://pptpclient.sourceforge.net/

For example, Ubuntu users can install PPTP by entering the command (as root):

  apt-get install pptp-linux

For other distributions, obtain PPTP and installation instructions at:

  http://pptpclient.sourceforge.net/

Additional instructions

For additional instructions specific to older versions of Debian, Fedora, Gentoo, Mandrake, NetBSD, Red Hat 7.3, 8.0, and 9.0, and SUSE 8.2, visit:

  http://pptpclient.sourceforge.net/documentation.phtml

This is document akcx in the Knowledge Base.
Last modified on 2018-01-18 12:57:00.