OpenWrt Forum Archive

Topic: pptpd config

The content of this topic has been archived on 1 May 2018. There are no obvious gaps in this topic, but there may still be some posts missing at the end.

Hello

I have setup pptpd according to these instructions

Nico wrote:

In order to use MPPE/MPPC, you must install the following packages from nbd's experimental repository :
· kmod-crypto
· kmod-ppp
· kmod-mppe
· ppp
· pptpd


You must then load the following modules :
· arc4
· sha1
· slhc
· ppp_generic
· ppp_mppe_mppc
· ppp_async

arc4, sha1 and ppp_mppe_mppc are needed for encryption

You can then start pptpd. Please note that the pptpd package doesn't allocate IP addresses by itself, it relies on ppp for this : you must add adresses for your clients in your chap-secrets file.

Edited : fix typo on slhc and ppp_async module requirement

--
Nico

And it's working fine,
(thanks for the directions Nico)

Now I would config pptpd using the localip and remoteip configuration options in /etc/pptpd.conf
but according to a comment in the file ip assignments are done from pppd  and have to be specified /etc/ppp/chap-secrets

Is there a chance to change this or is it "hardcoded" somewere?

I am especially interested (need) in the remoteip option.

Is there a chance to change this or is it "hardcoded" somewere?

This is a "configure" option choosen at compile time.

--
Nico

(Last edited by Nico on 8 May 2005, 13:31)

Hi
is it enough to disable the option --with-pppd-ip-alloc ?
(in file openwrt/package/pptpd/Makefile)

Thanks

(Last edited by e312 on 9 May 2005, 07:18)

The discussion might have continued from here.