Замучился уже, не знаю что дальше делать. Отдельно и radius и vpn работают, а вместе не хотят. Работу радиуса проверял
[root@mnk raddb]# radtest vova tima 172.16.130.19 0 doit2me Sending Access-Request of id 117 to 172.16.130.19:1812 User-Name = "vova" User-Password = "tima" NAS-IP-Address = mnk.volmed.org.ru NAS-Port = 0 rad_recv: Access-Accept packet from host 172.16.130.19:1812, id=117, length=71 Service-Type = Framed-User Framed-Protocol = PPP Framed-IP-Address = 172.16.3.33 Framed-IP-Netmask = 255.255.255.0 Framed-Routing = Broadcast-Listen Filter-Id = "std.ppp" Framed-MTU = 1500 Framed-Compression = Van-Jacobson-TCP-IP
и тогда радиус выдает
rad_recv: Access-Request packet from host 172.16.130.19:32925, id=158, length=56 User-Name = "vova" User-Password = "tima" NAS-IP-Address = 255.255.255.255 NAS-Port = 0 Processing the authorize section of radiusd.conf modcall: entering group authorize for request 2 modcall[authorize]: module "preprocess" returns ok for request 2 modcall[authorize]: module "chap" returns noop for request 2 modcall[authorize]: module "mschap" returns noop for request 2 rlm_realm: No '@' in User-Name = "vova", looking up realm NULL rlm_realm: No such realm "NULL" modcall[authorize]: module "suffix" returns noop for request 2 users: Matched entry vova at line 80 modcall[authorize]: module "files" returns ok for request 2 modcall: group authorize returns ok for request 2 rad_check_password: Found Auth-Type Local auth: type Local auth: user supplied User-Password matches local User-Password Login OK: [vova] (from client misha port 0) Sending Access-Accept of id 158 to 172.16.130.19:32925 Service-Type = Framed-User Framed-Protocol = PPP Framed-IP-Address = 172.16.3.33 Framed-IP-Netmask = 255.255.255.0 Framed-Routing = Broadcast-Listen Framed-Filter-Id = "std.ppp" Framed-MTU = 1500 Framed-Compression = Van-Jacobson-TCP-IP Finished request 2
VPN - CHAP авторизация А при совместной работе, вместо пароля в текстовом формате выдает
rad_recv: Access-Request packet from host 127.0.0.1:32923, id=226, length=69 Service-Type = Framed-User Framed-Protocol = PPP User-Name = "vova" CHAP-Password = 0x6fffcb45a3cb0f53b27ef493b60b2053e1 NAS-IP-Address = 127.0.0.1 NAS-Port = 1 Processing the authorize section of radiusd.conf modcall: entering group authorize for request 1 modcall[authorize]: module "preprocess" returns ok for request 1 rlm_chap: Setting 'Auth-Type := CHAP' modcall[authorize]: module "chap" returns ok for request 1 modcall[authorize]: module "mschap" returns noop for request 1 rlm_realm: No '@' in User-Name = "vova", looking up realm NULL rlm_realm: No such realm "NULL" modcall[authorize]: module "suffix" returns noop for request 1 users: Matched entry vova at line 80 modcall[authorize]: module "files" returns ok for request 1 modcall: group authorize returns ok for request 1 rad_check_password: Found Auth-Type Local auth: type Local auth: user supplied CHAP-Password does NOT match local User-Password auth: Failed to validate the user. Login incorrect: [vova/<CHAP-Password>] (from client localhost port 1) Delaying request 1 for 1 seconds Finished request 1
Т е или надо в options.pptpd что-то подправить, или в настройках радиуса (склоняюсь к последнему). Подскажите, не дайте погибнуть. Михаил