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 192.168.40.254
The PPTP-Network is 192.168.40.96/28
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 127.0.0.1:1812
User-Name = "foo"
User-Password = "bar"
NAS-IP-Address = rossoll
NAS-Port = 1645
rad_recv: Access-Accept packet from host 127.0.0.1:1812, id=67, length=56
Idle-Timeout = 86400
Framed-Protocol = PPP
Service-Type = Framed-User
Framed-Compression = Van-Jacobson-TCP-IP
Framed-IP-Address = 192.168.40.100
Framed-IP-Netmask = 255.255.255.255
I found in list-archive, that M0n0wall 1.22 supports the attribute
"Framed-IP-Address" . Is the Attribute "Framed-IP-Netmask" not supported?
When I delete the "Framed-IP-Netmask" Attribute, it's the same effect.