Sidenavigasjon: Hovedside / Utdanning / Studentenes datatjeneste [Sidekart] [Kontakt] Students Computer Service
Tekststørrelse.


English pages

Hovedsiden

Direktelinker
- Endre nettregistrering
- Endre passord
- Studprint
- Skriverfeil
- UMB IT-reglement

Veiledninger
- Anti-virus
- Trådløst på Campus
- Studentskrivere
- VPN-tilkobling
- Programvare
- Brukernavn/Passord
- Feide
- Internett på Siås-bolig
- Hjemmeområdet
- Eksternt Skrivebord (Remote Desktop)
- Datasikkerhet
- Lag PDF-dokument
- Lage hjemmeside
- Epost og webmail
- Spamfilter
- Guide til raskere windows
- Hjelp til Fronter
- BACKUP
- Ip-konflikt

Studenttilbud
- Dropzone
- DELL Studentportal

Interne linker
- Webmail
- Tuntavla
- Athene
- >>Fronter

Eksterne linker
- OpenOffice
- w3schools
Studentenes datatjeneste

VPN for Linux

Studentenes datatjeneste

This guide is for setting up VPN in Ubuntu, which is one of the most common Linux distributations. The guide is tested in Ubuntu 10.04 LTS and 11.10. Other distributions will still work if you use Network-Manager in order to connect.


In order to connet to VPN you may have to download kernel support. This will have to be done while connected to the internet.

The easiest way of installing kernel support is to use open a terminal and write:
sudo apt-get install pptp-linux network-manager-pptp
Or you may use Synaptic Package Manager and search for PPTP.


Push the network icon.
bilde1vpnubuntu
bilde1vpnubuntu Foto:
Choose VPN Connections and then Configure VPN 
2vpnubuntu
2vpnubuntu Foto:


Press Add.
3vpnubuntu
3vpnubuntu Foto:


Choose PPTP, then Create
4vpnubuntu
4vpnubuntu Foto:


Give the connection a name, for instance 'UMB VPN', then enter student.vpn.umb.no as Gateway. Fill in username and zone 2 password.
5vpnubuntu
5vpnubuntu Foto:


Go to Advanced. Choose Use Point to Point Encryption.
Press OK and then Save
6vpnubuntu
6vpnubuntu Foto:


Now your VPN Connection is configured.

You may use the VPN connection by pushing the network icon, choose VPN connection and then choose the 'UMB VPN'. If you are asked for a password, please fill in you zone 2 password. When the network icon is showing with a pad lock you are connected.

 



For older versions of Ubuntu:



In order to connet to VPN you will have to download kernel support. This will have to be done while connected to the internet.

The easiest way of installing kernel support is to use open a terminal and write:
"sudo apt-get install network-manager-pptp" without the ""

Alternative method:

Click on "Applications" and choose "Add/Remove..."

VPN Linux 6
VPN Linux 6 Foto: Studentenes Datatjeneste


Choose "All available applications" from the menu that appears in the upright corner. Then type "vpn" in the search area. In the search results "PPTP VPN Connection Manager" will show. Mark this package and press the "Apply" button.

Screenshoot av Add/remove vpn i Ubuntu
Screenshoot av Add/remove vpn i Ubuntu Foto: Screenshot Ubuntu VPN


Reboot the computer.


 
VPN Linux 8
VPN Linux 8 Foto: Studentenes Datatjeneste


Click on the network icon in the upright corner and choose "VPN Connections --> Configure VPN..."



Click "Add" and "create".



In the following window you select a name for the connection, for instance UMP-VPN. Then type
gateway: student.vpn.umb.no , your username and your zone-2 password.


Settings VPN
Settings VPN Foto: DT


Press the advanced button. Go to Authentication and unmark everything except CHAP and MSCHAPv2.
Mark the Use Point to Point Encryption.

Click Ok og så Apply.








Now your VPN Connection is ready. Click the network icon, and select the proper connection under "VPN Connections". This may require that you retype your username and your zone2 password.





The following guide is old and exists primarily due to historical reasons.
This guide is for Debian:


If you want to use VPN for Linux you need to install MPPE-support in the kernel. To get MPPE in debian do the following :

1. apt-get install gcc bin86 libc6-dev bzip2 kernel-package kernel-patch-mppe
2. apt-get install linux-source-2.x.x (where x.x* is the kernel number. If you don’t know the kernel number use the following command "uname -r")
3. cd /usr/src
4. tar xfj kernel-source-2.x.x.tar.bz2
5. cd kernel-source-2.x.x
6. make-kpkg clean
7. cp /boot/config-`uname --kernel-release` ./.config
8. cd /usr/src/kernel-source-2.x.x
9. make-kpkg \
--added-patches mppe \
--append-to-version -mppe \
--config oldconfig \
--initrd \
kernel_image
10. When you get the question CONFIG_PPP_MPPE, write "m" and press enter;
PPP MPPE compression (encryption) (PPP_MPPE) [N/m/?] (NEW) m
11. dpkg --install /usr/src/kernel-image-2.x.x-mppe_10.00.Custom_all.deb
12. Restart


Then you need to install pptp and client

13. Add the following line in /etc/apt/sources.list: deb http://quozl.netrek.org/pptp/pptpconfig ./
14. apt-get update
15. apt-get install pptp-linux pptpconfig
16. Start pptpclient with the commando "pptpconfig" as root.
17. Use the same information as in the pictures below. Server should be
student.vpn.umb.no for access to UMBs internal resources


VPN linux 1
VPN linux 1 Foto: Studentenes Datatjeneste

VPN Linux 2
VPN Linux 2 Foto: Studentenes Datatjeneste

VPN linux 3
VPN linux 3 Foto: Studentenes Datatjeneste

VPN Linux 4
VPN Linux 4 Foto: Studentenes Datatjeneste

VPN linux 5
VPN linux 5 Foto: Studentenes Datatjeneste


18. For authenticating to the wireless network, you have to add "refuse-chap" under pppd-options
19. Press "Add". Next time you login with pptpconfig it will automatically logon to UMBs VPN-service.

Oppdatert: 26.10.11
Utskriftsvennlig versjon

Del med en venn:




 
 
Studentenes datatjeneste

Kontor: TF14 (IMT)

Tlf: (64 96) 55 50

E-post: dt@umb.no

Åpningstider sommer: mandag-fredag 10:00-15:00

Åpningstider resten av året: mandag-fredag 10:00-15:45

 
Relasjoner til saken

|VPN hovedside
VPN for Windows 7
VPN for Windows VISTA
VPN for Windows XP
VPN for Linux
VPN for .mac


Emneord

- Epost
- Linux
- Nettverk
- Vpn