How to configure UP VPN Connection: Difference between revisions

From Iskomunidad
Pasy (talk | contribs)
Pasy (talk | contribs)
No edit summary
 
(19 intermediate revisions by 2 users not shown)
Line 1: Line 1:
'''How to configure VPN Connection to UPD VPN '''
==Linux==
 
'''Linpus Distro'''
'''Linux ''' (at least with Linpus distro, it works)


Step 1. $sudo yum install vpnc
Step 1. $sudo yum install vpnc
Line 23: Line 22:
Step 6. $sudo vpnc default
Step 6. $sudo vpnc default


To confirm UP vpn access, ping a machine (example: 10.32.1.7) within Dilnet.
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 [http://160.78.48.20/vpn/software/Macintosh/vpnclient-darwin-4.9.01.0100-universal-k9.dmg Cisco VPN Client]<ref>This VPN client does not appear to work in OS X 10.6.x. You'll get "Error 51" (whatever that means). The client ([http://helpdesk.ugent.be/vpn/download/vpnclient-darwin-4.9.01.0080-universal-k9-5-10.dmg alternative download]) has been tested to work in 10.4.x and 10.5.x. (See also [http://www.cisco.com/univercd/cc/td/doc/product/vpn/client/index.htm Cisco VPN Client Documentation]<br /><br />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.<br /><br />
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." <br /><br /></ref>
 
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 [http://www.versiontracker.com/dyn/moreinfo/macosx/96784 Shimo] as an interface for your VPN client access using Mac.
 
==Windows 7==
Step 1. Download and install [http://helpdesk.ugent.be/vpn/download/vpnclient-win-msi-5.0.06.0160-k9.exe Cisco VPN Client] (version 5 or higher).<ref>Most likely this requires reboot.</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
 
    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==
<references/>
 
[[Category: UP Diliman]] [[Category: Tech Support]]

Latest revision as of 08:58, 20 May 2012

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.