You will also need some group configuration information. Members of Oxford University can download a file containing this information from the Software Registration and Downloads page (select [VPNC Client for Linux/Unix] from the list). This will display the VPNC Client for Linux/Unix page. Click on the vpnc configuration file to display the configuration information you will need.
Once installed the client works straight away. Open a terminal and type: sudo vpnc-connect
You will be queried about the following things. Use the information provided in the vpnc configuration file to respond to the prompts. You will also need your IT Services Remote Access account username and password:
- Enter IPSec gateway address: vpn.ox.ac.uk
- Enter IPSec ID for vpn.ox.ac.uk: oxford [also known as the group id]
- Enter IPSec secret for email@example.com: ****** [the group password]
- Enter username for vpn.ox.ac.uk: ***** [this is the same as your SSO username e.g. abcd1234]
- Enter password for firstname.lastname@example.org: ****** [Remote Access account password]
(As noted above, the password information can be downloaded from IT Services.)
If all goes well you should see VPNC started in background (PID: xxxx).
If you type ifconfig you should see a new interface tun0 with an Oxford IP address.
To disconnect type: sudo vpnc-disconnect
You can also save the connection settings in a configuration file so that you don't need to type them in every time you want to connect. To do this, type in at the terminal: sudo gedit /etc/vpnc/oxford.conf
This will open the Gedit editor and create a configuration file. Make sure there is only a single space between a feature and a value. Note that this method requires you to save the passwords in plain text. So don't save any passwords to this file if you're using a shared computer!
IPSec gateway vpn.ox.ac.uk
IPSec ID oxford
IPSec secret PASSWORD
Xauth username YOUR-REMOTE-ACCESS-USERNAME
Xauth password YOUR-REMOTE-ACCESS-PASSWORD
Do not leave a space after any value before starting a new line. vpnc will treat this as part of the password if you do.
After creating this file you can connect by typing: sudo vpnc-connect oxford
For more information on vpnc type: man vpnc