Veiledninger


© 
datatjenesten.umb.no


Datatjenesten.umb.no

- Forsiden
- Spørsmål & Svar
- DT-ansatte
- Search/Archive

Interne linker
-

Eksterne linker
-


VPN Linux
Jakob Sandven - 2006-03-10 14:26
You can find VPN-tutorials for the most popular linux-distros here. This tutorial is tested on Debain kernel 2.6.

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
10.0.180.1 for access to UMBs wireless network







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.