Sophie

Sophie

distrib > Mandriva > 9.1 > ppc > by-pkgid > b08bd6a4a4738f50578360dd90f4adc1 > files > 16

pptpd-server-1.1.2-0.3mdk.ppc.rpm

How to use slirp with PoPToP
Tue Aug 31 10:50:59 MET DST 1999

o Grab the slirp-1.0c package and install it, after 
  editing ctl.h as described below
  ftp://blitzen.canberra.edu.au/pub/slirp/slirp-1.0c.tar.gz
  (other versions might work also, but were not tested)

o Change the default remote ip address in one of the 
  remote addresses you will set in pptpd.conf (see the 
  the pptpd instructions)
  juice:~/d.ux/slirp-1.0c/src> diff ctl.h.org ctl.h
  < #define CTL_LOCAL        "10.0.2.15"
  ---
  > #define CTL_LOCAL        "192.87.7.231"

Then install pptpd

o ./configure --with-slirp

o Set path to slirp in config.h right

o Be sure to have a HOME variable set when you start 
  pptpd, because slirp reads the HOME/.chap-secrets file
  for authentication
  This file must be TAB-separated filled in as follows:
  <pptploginname>            *            <password>          192.87.7.231
  Note the remote address at the end, it must be the same 
  as the one you edit into ctl.h of slirp.

o For the rest follow the pptpd instructions

o I have tested this with a Solaris 2.4 server, gcc and 
  pptpd running on this configuration. As client I used 
  Win95 DUN 1.3. I tested this local and remote,
  I get a clean authentication, and a working pptp tunnel.

Harald Vogt, vogt@serc.nl