[ previous ] [ next ] [ threads ]
 From:  Ekkart Bahr <eobahr at sysax dot de>
 To:  m0n0wall at lists dot m0n0 dot ch
 Subject:  Allocate a fixed IP for PPTP-VPN user (RADIUS)
 Date:  Thu, 25 May 2006 10:51:16 +0200

I'd like to allocate a fixed IP for a special PPTP-VPN users on M0n0wall 1.22. 
The authentication is against RADIUS.
The server (freeradius on Debian Sarge) runs pretty good and the 
authentication works very fine. The only thing that i wish is to allocate 
special users fixed IPs.

The M0n0wall-PPTP-Server's IP is
The PPTP-Network is

M0n0wall gets the right reply access-package for the user "foo" with password 

radtest foo bar localhost 1645 foobar
Sending Access-Request of id 67 to
        User-Name = "foo"
        User-Password = "bar"
        NAS-IP-Address = rossoll
        NAS-Port = 1645
rad_recv: Access-Accept packet from host, id=67, length=56
        Idle-Timeout = 86400
        Framed-Protocol = PPP
        Service-Type = Framed-User
        Framed-Compression = Van-Jacobson-TCP-IP
        Framed-IP-Address =
        Framed-IP-Netmask =

I found in list-archive, that M0n0wall 1.22 supports the attribute 
"Framed-IP-Address" [1]. Is the Attribute "Framed-IP-Netmask" not supported? 
When I delete the "Framed-IP-Netmask" Attribute, it's the same effect.


Ekkart Bahr

[1] http://m0n0.ch/wall/list/showmsg.php?id=253/5