EAP-TLS patch for pppd

Home Download Documentation: Building PPP

Building PPP with the EAP-TLS patch

First download ppp sources from the ppp website and then grab the EAP-TLS patch from the download page.
Unpack the tarball and then apply the patch.
  $ tar -xzf ppp-2.4.6.tar.gz
  $ cd ppp-2.4.6
  $ patch -p1 < ../ppp-2.4.6-eaptls-mppe-0.996.patch
  patching file README.eap-tls
  patching file etc.ppp/eaptls-client
  patching file etc.ppp/eaptls-server
  patching file linux/Makefile.top
  patching file pppd/Makefile.linux
  patching file pppd/auth.c
  patching file pppd/ccp.c
  patching file pppd/chap-md5.c
  patching file pppd/eap-tls.c
  patching file pppd/eap-tls.h
  patching file pppd/eap.c
  patching file pppd/eap.h
  patching file pppd/main.c
  patching file pppd/md5.c
  patching file pppd/md5.h
  patching file pppd/options.c
  patching file pppd/pathnames.h
  patching file pppd/pppd.h
  $
Before continuing, read the README.eap-tls file for detailed information about building and configuring.
Then compile the program and install it.
  $ ./configure
  $ make
  $ make install
  $ make install-etcppp
Finally, modify EAP-TLS configuration files (/etc/ppp/eaptls-server and /etc/ppp/eaptls-client) to suit your needs.
Read the documentation
How to run a Linux PPTP server with X.509 certificate support
and
How to run a Linux PPTP client with X.509 certificate support
for more details on how to configure your freshly built ppp+EAP-TLS package.