Привет Всем
Как прикрутить к mpd4{4.0b4, 4.1} - linux клиентов?
Виндовс ХР нормально крутиться...
Linux - конектится, поднимается ppp0...
in 42byte
out возростающее количество Мбвот конфиг mpd.conf:
default:
load pptp0
pptp0:
new -i ng00 pptp0 pptp0
set ipcp ranges 10.11.25.1/24 192.168.11.1/32
load pptp_standart
pptp_standart:
set iface route default
set iface disable on-demand
set bundle enable multilink
set link yes acfcomp protocomp
set iface up-script "/usr/local/etc/mpd4/link-up"
set iface down-script "/usr/local/etc/mpd4/link-down"
set link no pap chap
set link enable chap
set link keep-alive 30 60
set ipcp yes vjcomp
set ipcp dns 10.11.25.1
set ccp yes mppc
set ccp yes mpp-e40
set ccp yes mpp-e56
set ccp yes mpp-e128
set ccp yes mpp-stateless
set pptp enable incoming
set pptp disable originate
set radius me 127.0.0.1
set radius retries 2
set radius server 127.0.0.1 PASSWORD 1812 1813
set radius timeout 5
set auth acct-update 300
set auth enable radius-auth
set auth enable radius-acct
PPTP connection from 10.11.25.252 2308
pptp0: attached to connection with 10.11.25.252 2308
[pptp0] Accepting PPTP connection
[pptp0] opening link "pptp0"...
[pptp0] link: OPEN event
[pptp0] LCP: Open event
[pptp0] LCP: state change Initial --> Starting
[pptp0] LCP: LayerStart
[pptp0] attaching to peer's outgoing call
[pptp0] link: UP event
[pptp0] link: origination is remote
[pptp0] LCP: Up event
[pptp0] LCP: state change Starting --> Req-Sent
[pptp0] LCP: SendConfigReq #1
ACFCOMP
PROTOCOMP
MRU 1500
MAGICNUM a8e39964
AUTHPROTO CHAP MSOFTv2
MP MRRU 1600
MP SHORTSEQ
ENDPOINTDISC [802.1] 00 11 2f a8 ce 0e
[pptp0] LCP: rec'd Configure Request #1 link 0 (Req-Sent)
ACCMAP 0x00000000
MAGICNUM 18971521
PROTOCOMP
ACFCOMP
[pptp0] LCP: SendConfigAck #1
ACCMAP 0x00000000
MAGICNUM 18971521
PROTOCOMP
ACFCOMP
[pptp0] LCP: state change Req-Sent --> Ack-Sent
[pptp0] LCP: rec'd Configure Reject #1 link 0 (Ack-Sent)
MP MRRU 1600
MP SHORTSEQ
[pptp0] LCP: SendConfigReq #2
ACFCOMP
PROTOCOMP
MRU 1500
MAGICNUM a8e39964
AUTHPROTO CHAP MSOFTv2
[pptp0] LCP: SendConfigReq #3
ACFCOMP
PROTOCOMP
MRU 1500
MAGICNUM a8e39964
AUTHPROTO CHAP MSOFTv2
[pptp0] LCP: rec'd Configure Ack #3 link 0 (Ack-Sent)
ACFCOMP
PROTOCOMP
MRU 1500
MAGICNUM a8e39964
AUTHPROTO CHAP MSOFTv2
[pptp0] LCP: state change Ack-Sent --> Opened
[pptp0] LCP: auth: peer wants nothing, I want CHAP
[pptp0] CHAP: sending CHALLENGE len:17
[pptp0] LCP: LayerUp
[pptp0] CHAP: rec'd RESPONSE #1
Name: "nemo"
[pptp0] AUTH: Auth-Thread started
[pptp0] AUTH: Trying RADIUS
[pptp0] RADIUS: RadiusAuthenticate for: nemo
[pptp0] RADIUS: rec'd RAD_ACCESS_ACCEPT for user nemo
[pptp0] AUTH: RADIUS returned authenticated
[pptp0] AUTH: Auth-Thread finished normally
[pptp0] CHAP: ChapInputFinish: status authenticated
[pptp0] CHAP: sending SUCCESS len:42
[pptp0] LCP: authorization successful
[pptp0] Bundle up: 1 link, total bandwidth 64000 bps
[pptp0] IPCP: Open event
[pptp0] IPCP: state change Initial --> Starting
[pptp0] IPCP: LayerStart
[pptp0] IPCP: Up event
[pptp0] IPCP: state change Starting --> Req-Sent
[pptp0] IPCP: SendConfigReq #1
IPADDR 10.11.25.1
COMPPROTO VJCOMP, 16 comp. channels, no comp-cid
[pptp0] IPCP: rec'd Configure Request #1 link 0 (Req-Sent)
COMPPROTO VJCOMP, 16 comp. channels, allow comp-cid
IPADDR 0.0.0.0
NAKing with 192.168.12.1
[pptp0] IPCP: SendConfigNak #1
IPADDR 192.168.12.1
[pptp0] IPCP: rec'd Configure Ack #1 link 0 (Req-Sent)
IPADDR 10.11.25.1
COMPPROTO VJCOMP, 16 comp. channels, no comp-cid
[pptp0] IPCP: state change Req-Sent --> Ack-Rcvd
[pptp0] IPCP: rec'd Configure Request #2 link 0 (Ack-Rcvd)
COMPPROTO VJCOMP, 16 comp. channels, allow comp-cid
IPADDR 192.168.12.1
192.168.12.1 is OK
[pptp0] IPCP: SendConfigAck #2
COMPPROTO VJCOMP, 16 comp. channels, allow comp-cid
IPADDR 192.168.12.1
[pptp0] IPCP: state change Ack-Rcvd --> Opened
[pptp0] IPCP: LayerUp
10.11.25.1 -> 192.168.12.1
[pptp0] AUTH: Accounting-Thread started
[pptp0] RADIUS: RadiusAccount for: nemo (Type: 1)
[pptp0] RADIUS: rec'd RAD_ACCOUNTING_RESPONSE for user nemo
[pptp0] no interface to proxy arp on for 192.168.12.1
[pptp0] IFACE: Up event
[pptp0] AUTH: Accounting-Thread finished normally
pptp0-0: call cleared by peer
pptp0-0: killing channel
[pptp0] PPTP call terminated
pptp0: closing connection with 10.11.25.252 2308
pptp0: read: Connection reset by peer
pptp0: killing connection with 10.11.25.252 2308
[pptp0] link: DOWN event
[pptp0] LCP: Close event
[pptp0] LCP: state change Opened --> Closing
[pptp0] AUTH: Accounting data for user nemo: 23 seconds, 189 octets in, 2octets out
[pptp0] AUTH: Cleanup
[pptp0] Bundle up: 0 links, total bandwidth 9600 bps
[pptp0] IPCP: Close event
[pptp0] IPCP: state change Opened --> Closing
[pptp0] IPCP: SendTerminateReq #2
[pptp0] error writing len 8 frame to bypass: Network is down
[pptp0] IPCP: LayerDown
[pptp0] AUTH: Accounting-Thread started
[pptp0] RADIUS: RadiusAccount for: nemo (Type: 2)
[pptp0] RADIUS: Termination cause: Dropped, RADIUS: 2
[pptp0] RADIUS: rec'd RAD_ACCOUNTING_RESPONSE for user nemo
[pptp0] IFACE: Down event
[pptp0] IPCP: Down event
[pptp0] IPCP: LayerFinish
[pptp0] No NCPs left. Closing links...
[pptp0] closing link "pptp0"...
[pptp0] IPCP: state change Closing --> Initial
[pptp0] LCP: SendTerminateReq #4
[pptp0] error writing len 8 frame to bypass: Network is down
[pptp0] LCP: LayerDown
[pptp0] LCP: Down event
[pptp0] LCP: LayerFinish
[pptp0] LCP: state change Closing --> Initial
[pptp0] link: CLOSE event
[pptp0] LCP: Close event
[pptp0] AUTH: Accounting-Thread finished normally
HELP ME
>HELP MEВот чего Я достиг:
Конект нормальный: Debian 4.0 <--> FreeBSD6.2RC1+mpd4.1
но Инета нет...
Вешаю :
tcpdump -i ng0
tcpdump: verbose output suppressed, use -v or -vv for full protocol decode
listening on ng0, link-type NULL (BSD loopback), capture size 96 bytes
23:47:59.471504 IP k152-XX.saltov.net > ya.ru: ICMP echo request, id 53259, seq 16, length 64
23:48:00.471208 IP k152-XX.saltov.net > ya.ru: ICMP echo request, id 53259, seq 17, length 64
23:48:01.471045 IP k152-XX.saltov.net > ya.ru: ICMP echo request, id 53259, seq 18, length 64mpd.conf:
pptp100:
new -i ng100 pptp100 pptp100
set ipcp ranges 192.168.11.1/32 192.168.11.101/32
load pptp_standartpptp_standart:
set pptp disable windowing
set iface route default
set iface disable on-demand
#
set iface enable tcpmssfix
#
set bundle disable multilink
set link yes acfcomp protocomp
set iface up-script "/usr/local/etc/mpd4/link-up"
set iface down-script "/usr/local/etc/mpd4/link-down"
set link no pap chap
set link enable chap
set link keep-alive 10 75
set ipcp yes vjcomp
set ipcp dns 10.11.25.1
# set link mtu 1460
# set link mru 1460
set iface enable proxy-arp
set bundle enable compression
set ccp yes mppc
set ccp yes mpp-e40
# set ccp yes mpp-e56
set ccp yes mpp-e128
set ccp yes mpp-stateless
set pptp enable incoming
set pptp disable originate
# set radius config /opt/radius.conf
set radius me 127.0.0.1
set radius retries 2
set radius server 127.0.0.1 password 1812 1813
set radius timeout 5
set auth acct-update 300
set auth enable radius-auth
set auth enable radius-acct
# set ipcp yes radius-ip
# set iface routempd.links:
pptp100:
set link type pptpКонект есть, а Инета нету :(
Проверяюна винде - все ОК..
> Проверяюна винде - все ОК..default route проверь после коннекта наверняка не меняешь просто
>> Проверяюна винде - все ОК..
> default route проверь после коннекта наверняка не меняешь простонекрофил)))