On Wed, Jul 23, 2003 at 10:12:04AM -0600, Brett Glass wrote:
> At 12:21 AM 7/23/2003, Julian Elischer wrote:
>   
> >it needs one netgraph node... fullstop
> >it uses negligable kernel ram per session
> >1node handles lots of sessions
> 
> The way the configuration file works, one
> node can handle only one client. I tried to
> work with it when we first began to set up
> PPTP servers, and gave up; it just wasn't
> configurable enough.
> 
I pretty much agree.  Attached are my configuration files
for mpd/pptp; please let me know (Julian) how this could
be enhanced to serve more PPTP clients simultaneously
(with different IP addresses).  I'd appreciate it.


Cheers,
-- 
Ruslan Ermilov          Sysadmin and DBA,
[EMAIL PROTECTED]               Sunbay Software Ltd,
[EMAIL PROTECTED]               FreeBSD committer
# $Sunbay: sun-net/hosts/whale/local/etc/mpd/mpd.conf,v 1.3 2003/04/23 14:29:10 ru Exp 
$

default:
        load pptp1
        load pptp2
        load pptp3
        load pptp4
        load pptp5
        load pptp6
        load pptp7
        load pptp8
        load pptp9
        load pptp10
        load pptp11
        load pptp12
        load pptp13
        load pptp14
        load pptp15
        load pptp16

pptp1:
        new -i ng1 pptp1 pptp1
        set ipcp ranges 192.168.4.65/32 192.168.100.1/32
        load pptp_default

pptp2:
        new -i ng2 pptp2 pptp2
        set ipcp ranges 192.168.4.65/32 192.168.100.2/32
        load pptp_default

pptp3:
        new -i ng3 pptp3 pptp3
        set ipcp ranges 192.168.4.65/32 192.168.100.3/32
        load pptp_default

pptp4:
        new -i ng4 pptp4 pptp4
        set ipcp ranges 192.168.4.65/32 192.168.100.4/32
        load pptp_default

pptp5:
        new -i ng5 pptp5 pptp5
        set ipcp ranges 192.168.4.65/32 192.168.100.5/32
        load pptp_default

pptp6:
        new -i ng6 pptp6 pptp6
        set ipcp ranges 192.168.4.65/32 192.168.100.6/32
        load pptp_default

pptp7:
        new -i ng7 pptp7 pptp7
        set ipcp ranges 192.168.4.65/32 192.168.100.7/32
        load pptp_default

pptp8:
        new -i ng8 pptp8 pptp8
        set ipcp ranges 192.168.4.65/32 192.168.100.8/32
        load pptp_default

pptp9:
        new -i ng9 pptp9 pptp9
        set ipcp ranges 192.168.4.65/32 192.168.100.9/32
        load pptp_default

pptp10:
        new -i ng10 pptp10 pptp10
        set ipcp ranges 192.168.4.65/32 192.168.100.10/32
        load pptp_default

pptp11:
        new -i ng11 pptp11 pptp11
        set ipcp ranges 192.168.4.65/32 192.168.100.11/32
        load pptp_default

pptp12:
        new -i ng12 pptp12 pptp12
        set ipcp ranges 192.168.4.65/32 192.168.100.12/32
        load pptp_default

pptp13:
        new -i ng13 pptp13 pptp13
        set ipcp ranges 192.168.4.65/32 192.168.100.13/32
        load pptp_default

pptp14:
        new -i ng14 pptp14 pptp14
        set ipcp ranges 192.168.4.65/32 192.168.100.14/32
        load pptp_default

pptp15:
        new -i ng15 pptp15 pptp15
        set ipcp ranges 192.168.4.65/32 192.168.100.15/32
        load pptp_default

pptp16:
        new -i ng16 pptp16 pptp16
        set ipcp ranges 192.168.4.65/32 192.168.100.16/32
        load pptp_default

pptp_default:
        set iface up-script /usr/local/etc/mpd/pptp-up.sh
        set iface disable on-demand
        set iface enable proxy-arp
        set iface idle 1800
        set link yes acfcomp protocomp
        set link no pap chap
        set link enable chap
        set link keep-alive 10 60
        set link mtu 1460
        set bundle no multilink
        set ipcp yes vjcomp
        set ipcp dns 192.168.4.65
        set ipcp nbns 192.168.4.65
        set bundle enable compression
        set ccp yes mppc
        set ccp yes mpp-e40
        set ccp yes mpp-e128
        set ccp yes mpp-stateless
# $Sunbay: sun-net/hosts/whale/local/etc/mpd/mpd.links,v 1.1 2003/04/10 18:17:25 ru 
Exp $

pptp1:
        set link type pptp
        set pptp enable incoming
        set pptp disable originate

pptp2:
        set link type pptp
        set pptp enable incoming
        set pptp disable originate

pptp3:
        set link type pptp
        set pptp enable incoming
        set pptp disable originate

pptp4:
        set link type pptp
        set pptp enable incoming
        set pptp disable originate

pptp5:
        set link type pptp
        set pptp enable incoming
        set pptp disable originate

pptp6:
        set link type pptp
        set pptp enable incoming
        set pptp disable originate

pptp7:
        set link type pptp
        set pptp enable incoming
        set pptp disable originate

pptp8:
        set link type pptp
        set pptp enable incoming
        set pptp disable originate

pptp9:
        set link type pptp
        set pptp enable incoming
        set pptp disable originate

pptp10:
        set link type pptp
        set pptp enable incoming
        set pptp disable originate

pptp11:
        set link type pptp
        set pptp enable incoming
        set pptp disable originate

pptp12:
        set link type pptp
        set pptp enable incoming
        set pptp disable originate

pptp13:
        set link type pptp
        set pptp enable incoming
        set pptp disable originate

pptp14:
        set link type pptp
        set pptp enable incoming
        set pptp disable originate

pptp15:
        set link type pptp
        set pptp enable incoming
        set pptp disable originate

pptp16:
        set link type pptp
        set pptp enable incoming
        set pptp disable originate

Attachment: pgp00000.pgp
Description: PGP signature

Reply via email to