Am Dienstag, den 03.05.2005, 13:48 +0200 schrieb Ralf Lübben:
> If the server sends a "access-accept-ticket" the authorization is ok,
> in the 
> ticket can be some attributes:
> 
> - Framed-IP-Address: The IP-address which is pushed to the client.

AFAIK for receiving a Framed-IP-Address out of a IP-Pool the Client must
send a unique NAS-IP-Address:NAS-Port pair to the server, when doing the
*authentication*. There must also exist a Service-Type=Framed Attribute
in the Authentication Request.

I added this to ppp 2.4.1, to be able to receive a IP address from a
server side pool for a PPTP connection.

This is based on the patch:

http://www.xs4all.nl/~evbergen/radius-pppd.html

I simply added the NAS-Port which is the number of the ppp-interface 

[...]
        addpair(&head, &tail, "NAS-Port", 0,rad_nasport(ifname),0);
[...]

rad_nasport simply cuts out the numeric value following ppp in the
interface name.


Handing out static Ips based on the clientname should work without
sending a unique NAS-IP-Address:NAS-Port pair in the authentication
process.

-- 
Torge Szczepanek <openvpn-de...@szczepanek.de>


Reply via email to