Thursday, February 12, 2009

Configuring Tamu VPN in Linux

First step is to install vpnc.

Install “vpnc” through apt (ubuntu, debian) or yum (fedora, redhat) or manually.

example: yum install vpnc (fedora)

apt-get install vpnc (ubuntu, debian)


1) Command line option:

To run TAMU vpn through command line is very very simple. Just run vpnc:

$ vpnc

This will prompt you a series of questions:

Enter IPSec gateway address: vpn-master.tamu.edu

Enter IPSec ID for vpn-master.tamu.edu: tamu

Enter IPSec secret for tamu@vpn-master.tamu.edu : tamuvpn

Enter username for vpn-master.tamu.edu: (your neo-id)

Enter password for @vpn-master.tamu.edu: (your neo-password)

Thats it! You are done...


You can store this as a configuration file and load it as: $ vpnc tamu.conf

example configuration file tamu.conf:

IPSec gateway vpn-master.tamu.edu
IPSec ID tamu
IPSec secret tamuvpn
Xauth username
Xauth password


To disconnect vpn type command: vpnc-disconnect


2) GUI Option:

Requirement: You need NetworkManager running in your system.

STEPS:


Open your network configuration and choose VPN menu:

Click on Add menu and create new VPN connection:

Add the required details as shown in the figure and create the new VPN setting:

Fill in your neo ID and password at the required places. And click OK.

Now a new VPN connection should appear on your NetworkManager icon in your desktop

when you left-click on the icon. Click on it and enjoy TAMU-VPN.



No comments: