On Mon, 5 Aug 2013 14:46:20 -0600
Alvaro Mantilla Gimenez <alv...@alvaromantilla.com> wrote:

> Hi Wesley, Lo__c,
> 
>    Thanks for the advice. I didn't know about npppd. It seems an
> interesting option.
>    I am going to try that.

+1 for npppd, i wrote howto (in Serbian though) here:
https://www.mimar.rs/npppd-novi-openbsd-ov-pptpl2tp-server/

Make sure to use latest snapshot, and not 5.3 release, as I experienced hangs:
http://openbsd.7691.n7.nabble.com/Hang-possibly-related-to-pipex-td230816.html

If you still want poptop for any reason, my working ppp.conf (with 
authentication
from active directory implementation of radius) is as follows:

loop:
 set timeout 0
 set log phase chat connect lcp ipcp command TUN
 set device localhost:pptp
 set dial
 set login
 set mppe 128 stateful 
 set ifaddr 192.168.131.1 192.168.131.10-192.168.131.250 255.255.255.255
 set server /var/tmp/loop "" 0177

loop-in:
 set timeout 0
 set log phase lcp ipcp command
 allow mode direct

pptp:
 load loop
 disable pap
 disable chap
 enable mschapv2
 set radius /etc/ppp/radius.conf
 disable deflate pred1
 deny deflate pred1
 disable ipv6cp
 disable ipv6
 accept mppe
 enable proxy
 accept dns
 set dns 192.168.5.21 192.168.5.24
 set device !/etc/ppp/secure

You will also need file /etc/ppp/secure:

#!/bin/sh
exec /usr/sbin/ppp -direct loop-in

Hope this helps.

-- 
Marko Cupać

Reply via email to