How to configure UP VPN Connection

From Iskomunidad
(Redirected from How to configure UP VPN)

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]

Click the Options tab. Check the Send all traffic over VPN connection checkbox. Optionally, check the Use verbose logging checkbox. This may help you if you later contact support staff to diagnose VPN connection problems. </ref>

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.

Windows 7

Step 1. Download and install Cisco VPN Client (version 5 or higher).[2]

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
   Group Authentication:
     Name: <supplied by UPCC>
     Password: <supplied by UPCC>
     Confirm Password: 

Step 3. Click on Connect. You'll be prompted for your username and password.

   User Name: <your UP Webmail Account login name>
   Password: <supplied by UPCC; different from your UP Webmail Account login password>


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

Notes

  1. This VPN client does not appear to work in OS X 10.6.x. You'll get "Error 51" (whatever that means). The client (alternative download) has been tested to work in 10.4.x and 10.5.x. (See also Cisco VPN Client Documentation

    For OS X 10.6.x, use Mac's own VPN Client. Open System Preferences, Network (under Internet and Wireless), add VPN (Type Cisco IPSec) and configure accordingly.

    If you're having issues in forwarding VPN traffic (especially in OS X 10.6.x), click on Advanced... button on the preference pane and check on "Send all traffic over VPN connection."

  2. Most likely this requires reboot.