Hi,

Here is a Howto for MPPE on FreeBSD 3.5.1:

1. Get these files from 4.1.

  sys/netgraph/ng_mppc.c
  sys/netgraph/ng_mppc.h
  sys/modules/netgraph/mppc/*

  copy ng_mppc.h to /usr/include/netgraph

2. get new crypto-sources from 4.1

 cvs co -rRELENG_4_1_0_RELEASE src/sys/crypto

 change #ifdef _KERNEL to #ifdef KERNEL in /sys/crypto/sha1.h

3. Add new options:

  /sys/conf/options

  NETGRAPH_MPPC_COMPRESSION       opt_netgraph.h
  NETGRAPH_MPPC_ENCRYPTION        opt_netgraph.h

4. add these lines to /sys/conf/files

  netgraph/ng_mppc.c    netgraph_mppc_encryption
  crypto/rc4/rc4.c      netgraph_mppc_encryption
  crypto/sha1.c         netgraph_mppc_encryption

5. get mpd3.2 port and change the Makefile:

  ENCRYPTION_MPPE=yes:

6. Add NETGRAPH_MPPC_ENCRYPTION option to the Kernel-config-file

7. Compile Kernel and mpd3.2

I tested it with successfully with Windows 2000 and Win98.

bye,
--
--------------------------------------
E-mail: [EMAIL PROTECTED]
----------------------------
JAWA MANAGEMENT und SOFTWARE
Liebenauer Hauptstr. 200
A-8041 GRAZ
Tel: ++43-(0)316-403274-12
Fax: ++43-(0)316-403274-10
GSM: ++43-(0)676-93 96 698
homepage: http://www.jawa.at
--------- privat -----------
E-mail:   [EMAIL PROTECTED]
homepage: http://www.inode.at/mbretter
--------------------------------------




To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-net" in the body of the message

Reply via email to