У нас назрела проблема с билингом и решили использовать такую связку FreeBSD 5.5 + PostgreSQL + FreeRadius + FreeNIBS + MPD в принципе какой у нас будет нас они могут быть как локальный вроде МПД так с другого компьютера с ОС типа МоноВолл,
Вроди все настроили все запускается ну есть проблема
Пользователей завел через веб интерфес, завел пакет которым они будут пользоваться,
Соединение по МСчап v2 проходит отлично выдает даже адреса все нормально Ну вот пинг дальше своего IP ни куда не идет, даже сервер свой не хочет пинговать.
Если у МПД отключаю авторизацию по радиусу, то все работает на ура, он пользовательей с паролями берет со своего секрт файла,
Вот логи при соединение МПД и привязкой с радиусом!!!!
May 28 20:14:58 stat mpd: IPADDR 10.10.10.2
May 28 20:14:58 stat mpd: PRIDNS 10.10.10.1
May 28 20:14:58 stat mpd: PRINBNS 10.10.10.1
May 28 20:14:58 stat mpd: [pptp0] IPCP: rec'd Configure Ack #8 link 0 (Req-Sent)
May 28 20:14:58 stat mpd: IPADDR 10.10.10.1
May 28 20:14:58 stat mpd: [pptp0] IPCP: state change Req-Sent --> Ack-Rcvd
May 28 20:14:58 stat mpd: [pptp0] CCP: rec'd Configure Ack #8 link 0 (Ack-Sent)
May 28 20:14:58 stat mpd: MPPC
May 28 20:14:58 stat mpd: 0x01000040: MPPE, 128 bit, stateless
May 28 20:14:58 stat mpd: [pptp0] CCP: state change Ack-Sent --> Opened
May 28 20:14:58 stat mpd: [pptp0] CCP: LayerUp
May 28 20:14:58 stat mpd: Compress using: MPPE, 128 bit, stateless
May 28 20:14:58 stat mpd: Decompress using: MPPE, 128 bit, stateless
May 28 20:14:58 stat mpd: [pptp0] setting interface ng0 MTU to 1396 bytes
May 28 20:14:58 stat mpd: [pptp0] IPCP: rec'd Configure Request #8 link 0 (Ack-Rcvd)
May 28 20:14:58 stat mpd: IPADDR 10.10.10.2
May 28 20:14:58 stat mpd: 10.10.10.2 is OK
May 28 20:14:58 stat mpd: PRIDNS 10.10.10.1
May 28 20:14:58 stat mpd: PRINBNS 10.10.10.1
May 28 20:14:58 stat mpd: [pptp0] IPCP: SendConfigAck #8
May 28 20:14:58 stat mpd: IPADDR 10.10.10.2
May 28 20:14:58 stat mpd: PRIDNS 10.10.10.1
May 28 20:14:58 stat mpd: PRINBNS 10.10.10.1
May 28 20:14:58 stat mpd: [pptp0] IPCP: state change Ack-Rcvd --> Opened
May 28 20:14:58 stat mpd: [pptp0] IPCP: LayerUp
May 28 20:14:58 stat mpd: 10.10.10.1 -> 10.10.10.2
May 28 20:14:58 stat mpd: [pptp0] IFACE: Up event
May 28 20:14:58 stat mpd: [pptp0] setting interface ng0 MTU to 1396 bytes
May 28 20:14:58 stat mpd: [pptp0] exec: /sbin/ifconfig ng0 10.10.10.1 10.10.10.2 netmask 0xffffffff -link0
May 28 20:14:58 stat mpd: [pptp0] exec: /usr/sbin/arp -s 10.10.10.2 0:f:ea:28:99:fb pub
May 28 20:14:58 stat mpd: [pptp0] exec: /sbin/route add 10.10.10.1 -iface lo0
May 28 20:14:58 stat mpd: [pptp0] exec: command returned 256
May 28 20:14:58 stat mpd: [pptp0] IFACE: Up event
May 28 20:14:58 stat mpd: [pptp0] rec'd unexpected protocol CRYPT on link -1, rejecting
May 28 20:14:58 stat mpd: [pptp0] rec'd unexpected protocol 0x004d on link -1, rejecting
May 28 20:14:58 stat mpd: [pptp0] rec'd unexpected protocol 0x00c9 on link -1, rejecting
May 28 20:14:58 stat mpd: [pptp0] rec'd unexpected protocol 0x8067 on link -1, rejecting
May 28 20:14:59 stat mpd: [pptp0] rec'd unexpected protocol 0x0075 on link -1, rejecting
May 28 20:15:00 stat mpd: [pptp0] rec'd unexpected protocol 0x00cb on link -1, rejecting
May 28 20:15:01 stat mpd: [pptp0] rec'd proto 0xd2b7 on MP link! (ignoring)
May 28 20:15:01 stat mpd: [pptp0] rec'd unexpected protocol 0x009f on link -1, rejecting
May 28 20:15:01 stat mpd: [pptp0] rec'd unexpected protocol 0x9491 on link -1, rejecting
May 28 20:15:01 stat mpd: [pptp0] rec'd unexpected protocol 0xb2e7 on link -1, rejecting
May 28 20:15:03 stat mpd: [pptp0] rec'd unexpected protocol 0x10db on link -1, rejecting
May 28 20:15:03 stat mpd: [pptp0] rec'd unexpected protocol 0x00a5 on link -1, rejecting
May 28 20:15:04 stat mpd: [pptp0] rec'd unexpected protocol 0x8aed on link -1, rejecting
May 28 20:15:04 stat mpd: [pptp0] rec'd unexpected protocol 0xb697 on link -1, rejecting
May 28 20:15:05 stat mpd: [pptp0] rec'd unexpected protocol 0x004b on link -1, rejecting
May 28 20:15:06 stat mpd: [pptp0] rec'd unexpected protocol 0xa269 on link -1, rejecting
May 28 20:15:07 stat mpd: [pptp0] rec'd unexpected protocol 0x0037 on link -1, rejecting
May 28 20:15:09 stat mpd: [pptp0] rec'd unexpected protocol 0x0089 on link -1, rejecting
Вот логи при соединение МПД без радиуса, аутентификация с секрет файла!!!!
May 28 20:18:38 stat mpd: IPADDR 10.10.10.2
May 28 20:18:38 stat mpd: PRIDNS 10.10.10.1
May 28 20:18:38 stat mpd: PRINBNS 10.10.10.1
May 28 20:18:38 stat mpd: [pptp0] IPCP: rec'd Configure Ack #2 link 0 (Req-Sent)
May 28 20:18:38 stat mpd: IPADDR 10.10.10.1
May 28 20:18:38 stat mpd: [pptp0] IPCP: state change Req-Sent --> Ack-Rcvd
May 28 20:18:38 stat mpd: [pptp0] CCP: rec'd Configure Ack #2 link 0 (Ack-Sent)
May 28 20:18:38 stat mpd: MPPC
May 28 20:18:38 stat mpd: 0x01000040: MPPE, 128 bit, stateless
May 28 20:18:38 stat mpd: [pptp0] CCP: state change Ack-Sent --> Opened
May 28 20:18:38 stat mpd: [pptp0] CCP: LayerUp
May 28 20:18:38 stat mpd: Compress using: MPPE, 128 bit, stateless
May 28 20:18:38 stat mpd: Decompress using: MPPE, 128 bit, stateless
May 28 20:18:38 stat mpd: [pptp0] setting interface ng0 MTU to 1396 bytes
May 28 20:18:38 stat mpd: [pptp0] IPCP: rec'd Configure Request #8 link 0 (Ack-Rcvd)
May 28 20:18:38 stat mpd: IPADDR 10.10.10.2
May 28 20:18:38 stat mpd: 10.10.10.2 is OK
May 28 20:18:38 stat mpd: PRIDNS 10.10.10.1
May 28 20:18:38 stat mpd: PRINBNS 10.10.10.1
May 28 20:18:38 stat mpd: [pptp0] IPCP: SendConfigAck #8
May 28 20:18:38 stat mpd: IPADDR 10.10.10.2
May 28 20:18:38 stat mpd: PRIDNS 10.10.10.1
May 28 20:18:38 stat mpd: PRINBNS 10.10.10.1
May 28 20:18:38 stat mpd: [pptp0] IPCP: state change Ack-Rcvd --> Opened
May 28 20:18:38 stat mpd: [pptp0] IPCP: LayerUp
May 28 20:18:38 stat mpd: 10.10.10.1 -> 10.10.10.2
May 28 20:18:38 stat mpd: [pptp0] IFACE: Up event
May 28 20:18:38 stat mpd: [pptp0] setting interface ng0 MTU to 1396 bytes
May 28 20:18:38 stat mpd: [pptp0] exec: /sbin/ifconfig ng0 10.10.10.1 10.10.10.2 netmask 0xffffffff -link0
May 28 20:18:38 stat mpd: [pptp0] exec: /usr/sbin/arp -s 10.10.10.2 0:f:ea:28:99:fb pub
May 28 20:18:38 stat mpd: [pptp0] exec: /sbin/route add 10.10.10.1 -iface lo0
May 28 20:18:38 stat mpd: [pptp0] exec: command returned 256
May 28 20:18:38 stat mpd: [pptp0] IFACE: Up event
В общем НАС сервер может быть не обязательно МПД пробовали и МоноВалл, также при аутентификации своей все работает а когда делаем его на радиус, не хочет все тоже самое, пинги не идут ни куда.....
Уже что только не пробовали, у когонить есть какие идеи??