How to configure UP VPN Connection

From Iskomunidad
Revision as of 18:46, 8 December 2010 by Pasy (talk | contribs) (→‎Mac OS X)

Linux

Linpus Distro

Step 1. $sudo yum install vpnc

Step 2. $sudo vim /etc/vpnc/default.conf

Enter and save the following:

 IPSec gateway vpn.upd.edu.ph
 IPSec ID vpn.upd.edu.ph
 IPSec secret <mysecret> (Your group password. Get it from UPCC)
 Xauth username <username> (same as your UP Webmail account name)
 Xauth password <password> (your password. Get it from UPCC)

Step 3. Download and unzip http://www.twimba.com/blogs/luis/wp-content/uploads/2008/08/tun.zip

Step 4. $sudo cp tun.ko /lib/modules/2.6.23.9lw/kernel/drivers/net/

Step 5. $sudo depmod

Step 6. $sudo vpnc default

To confirm UP vpn access, ping a machine (example: 10.32.1.7) within Dilnet.

Ubuntu

Step 1. $sudo apt-get install vpnc

Step 2. Right click the Network icon (usually on the upper right corner next to the sound icon) and click on "Edit Connections". Click on "Cisco Compatible VPN" and press "Create".

Step 3. Fill in the required information:

  Connection name: UP VPN
  Gateway: vpn.upd.edu.ph
  Group Name: vpn.upd.edu.ph
  User Password: <get it from UPCC> Option: Saved
  Group Password: <get it from UPCC> Option: Saved

Mac OS X

Step 1. Download and install Cisco VPN Client[1]

Step 2. Configure the Cisco VPN Client with the following entries:

   Connection Entry: UP-VPN
   Description UP Diliman VPN
   Connection Host: vpn.upd.edu.ph
   User Name: <your UP Webmail Account login name>
   Password: <supplied by UPCC; different from your UP Webmail Account login password>
   Group Authentication:
     Name: <supplied by UPCC>
     Password: <supplied by UPCC>
     Confirm Password: 

Step 3. Click on Connect

To confirm UP vpn access, ping a machine (example: 10.32.1.7) within Dilnet.

You may also find it useful to use Shimo as an interface for your VPN client access using Mac.

Notes

  1. This appears not to work with OS X 10.6.x. Error 51 (whatever that means). For OS X 10.6.x, use Mac's own VPN Client. Open System Preferences | add VPN (Type Cisco IPSec) and configure accordingly.