Хмм... связался я с mpd и что-то не врубаюсь :)Сначала сервак работал, принимал соединения, но ничего не работало.
Потом вообще перестал принимать соединения - авторизация не проходит.
Пишет в консоль:
process 66109 started, version 4.4 (root@srv 20:53 15-Jan-2008)
CONSOLE: listening on 0.0.0.0 5005
PPTP: waiting for connection on внешний_интерфейс
[client1] using interface ng0
PPTP: Incoming control connection from внешний_интерфейс 61369 to внешний_интерфейс 1723
pptp0: attached to connection with внешний_интерфейс 61369
[client1] Accepting PPTP connection
[client1] opening link "client1"...
[client1] link: OPEN event
[client1] LCP: Open event
[client1] LCP: state change Initial --> Starting
[client1] LCP: LayerStart
[client1] PPTP: attaching to peer's outgoing call
[client1] link: UP event
[client1] link: origination is remote
[client1] LCP: Up event
[client1] LCP: state change Starting --> Req-Sent
[client1] LCP: SendConfigReq #1
ACFCOMP
PROTOCOMP
MRU 1500
MAGICNUM 0a810517
AUTHPROTO CHAP MSOFTv2
[client1] LCP: SendConfigReq #2
ACFCOMP
PROTOCOMP
MRU 1500
MAGICNUM 0a810517
AUTHPROTO CHAP MSOFTv2
и т.д.
В конце:
pptp0-0: call cleared by peer
pptp0-0: killing channel
[client1] PPTP call terminated
[client1] link: DOWN event
[client1] LCP: Close event
[client1] LCP: state change Req-Sent --> Closing
[client1] LCP: SendTerminateReq #9
[client1] error writing len 8 frame to bypass: Network is down
[client1] LCP: Down event
[client1] LCP: LayerFinish
[client1] LCP: state change Closing --> Initial
pptp0: closing connection with внешний_интерфейс 61369
pptp0: killing connection with внешний_интерфейс 61369
Конфиги:
mpd.conf
default:
load client1client1:
new -i ng0 client1 client1
set ipcp ranges 192.168.1.250/32 192.168.1.50/32
load pptp
pptp:
set iface disable on-demand
set iface enable proxy-arp
set iface idle 1800
set iface enable tcpmssfix
set ipcp ranges 192.168.1.250/32 192.168.1.50/32
# Так же пробовал этот акк использовать:
# set auth authname "mous"
# set auth password "word"
# Multilink adds some overhead, but gives full 1500 MTU.
set bundle enable multilink
set link yes acfcomp protocomp
set link no pap chap
set link enable chap
set link keep-alive 10 60
set link mtu 1460
set ipcp yes vjcomp
set ipcp dns 192.168.1.253
# set ipcp nbns 192.168.1.253
set bundle enable compression
set ccp yes mppc
set ccp yes mpp-e40
set ccp yes mpp-e128
set ccp yes mpp-stateless
mpd.link
client1:
set phys type pptp
set pptp self 80.69.156.26
set pptp enable incoming
set pptp disable originate
mpd.secret
MyLogin MyPassword
PeerLogin PeerPasswordfred "fred-pw"
joe "foobar" 192.168.1.1
bob "\x34\"foo\n" 192.168.1.10/24
sal "yipee" 192.168.1.254
client1 "yahoo" 192.168.1.50
Пытался коннектиться с логином "client1", "fred" - одна фигня...
Кто разбирается в mpd - помогите, плиз