Помогите с сервером ВПН
прописываю в файле mpd.secret
user1 pass1 *
При соединении из винды с заранее введенным неправильным паролем соединение проходит успешно.
Создается ощущение что mpd.secret не считывается демоном mpd4. Что делать?
Вот мои конфиги
##### mpd.conf #####
startup:
set web ip 192.168.1.1
set web port 5006
set web user user pass
set web open
#
default:
load vpn-pptp
load pptp1
vpn-pptp:
new -i ng0 corbina_pptp vpn
set iface mtu 1460
set iface idle 0
set iface enable tcpmssfix
set iface enable nat
#set iface route default
set iface up-script /usr/local/etc/mpd4/io-up-pptp.sh
set iface down-script /usr/local/etc/mpd4/io-down-pptp.sh
set auth authname "login"
set auth password "pass"
set link keep-alive 1 1
set link accept chap
set link no pap
set link max-redial 0
set bundle enable multilink
set bundle disable crypt-reqd
set bundle disable noretry
set ccp no mpp-e40
set ccp no mpp-e128
set ccp no mpp-stateless
set ipcp yes vjcomp
open
#
vpn-l2tp:
new -i ng0 corbina_l2tp l2tp
set iface mtu 1460
set iface idle 0
set iface enable nat
set iface enable tcpmssfix
#set iface route default
set iface up-script /usr/local/etc/mpd4/io-up-l2tp.sh
set iface down-script /usr/local/etc/mpd4/io-down-l2tp.sh
set auth authname "user"
set auth password "pass"
set link keep-alive 1 1
set link enable chap
set link no pap
set link max-redial 0
set bundle disable multilink
set bundle disable crypt-reqd
set bundle disable noretry
set ipcp yes vjcomp
open
#
pptp1:
new -i ng1 my_serv pptp1
set bundle authname MyLogin
load pptp_server
#
pptp_server:
set iface mtu 1460
set iface idle 1800
set iface enable tcpmssfix
set ipcp yes vjcomp
set ipcp ranges 192.168.1.1/32 192.168.1.5/32
set ipcp dns 192.168.1.1
set link accept chap
set link yes acfcomp protocomp
set link no pap chap
set ccp no mpp-e40
set ccp no mpp-e128
set ccp no mpp-stateless
set bundle disable noretry
set bundle disable multilink
set link keep-alive 10 60#### mpd.links ####
vpn:
set link type pptp
set pptp peer vpn.internet.beeline.ru
set pptp enable originate incoming outcall
set pptp disable windowing
set pptp enable always-ack
set pptp disable delayed-ack
#
l2tp:
set link type l2tp
set l2tp peer l2tp.corbina.net
set l2tp enable originate incoming outcall
set l2tp disable windowing
set l2tp enable always-ack
set l2tp disable delayed-ack
#
pptp1:
set link type pptp
set pptp enable incoming originate outcall
set pptp self 192.168.1.1
set pptp enable always-ack
set pptp disable delayed-ack
#### mpd.secret ####
user1 pass1 *