[ previous ] [ next ] [ threads ]
 From:  "edward mzj" <edward dot mzj at gmail dot com>
 To:  "Lee Moore" <lee dot moore at tamuk dot edu>
 Cc:  m0n0wall at lists dot m0n0 dot ch
 Subject:  Re: [m0n0wall] PPTP Question
 Date:  Wed, 8 Mar 2006 20:58:54 +0800
2006/3/3, Lee Moore <lee dot moore at tamuk dot edu>:
> Is there any way to have a radius server assign the IP addresses to PPTP

yes. to do that, download the vpn.inc in /etc/inc and insert
	set iface enable radius-ip
before line 568¡£save && upload to mono and issue 'cp /tmp/vpn.inc /etc/inc'

now goto services->pptp, do nothing but press save. the mpd should
restart and ready to assign the ip address given by the radius server.
here i assume you have configured every other things, such as the
radius server, the address pool, etc.

and, mpd is so powerful that it can do more than that.  for example,
it can take the acls returned by the radius server and create/delete
ipfw pipes/queues/rules on per-user basis when users login/logout.

for more details, refer to the mpd documents.