URL: https://www.opennet.me/cgi-bin/openforum/vsluhboard.cgi
Форум: vsluhforumID1
Нить номер: 74940
[ Назад ]

Исходное сообщение
"проблема VPN FreeBSD + FreeBSD"

Отправлено greyhard , 29-Июн-07 20:53 
есть впн сервер на фриибсд mpd 3-й
есть второй комп было фрибсд 5.4 пптп клиент 1.7.1 мпд 4.0 бета
после обновления на втором серве мпд до 4.1 фрибсд перестало коннектиться к первому серву

Jun 29 21:02:52 server mpd: mpd: PPTP connection from 1.1.9.12:39670
Jun 29 21:02:52 server mpd: pptp5: attached to connection with 1.1.9.12:39670
Jun 29 21:02:53 server mpd: [pptp5] IFACE: Open event
Jun 29 21:02:53 server mpd: [pptp5] IPCP: Open event
Jun 29 21:02:53 server mpd: [pptp5] IPCP: state change Initial --> Starting
Jun 29 21:02:53 server mpd: [pptp5] IPCP: LayerStart
Jun 29 21:02:53 server mpd: [pptp5] IPCP: Open event
Jun 29 21:02:53 server mpd: [pptp5] bundle: OPEN event in state CLOSED
Jun 29 21:02:53 server mpd: [pptp5] opening link "pptp5"...
Jun 29 21:02:53 server mpd: [pptp5] link: OPEN event
Jun 29 21:02:53 server mpd: [pptp5] LCP: Open event
Jun 29 21:02:53 server mpd: [pptp5] LCP: state change Initial --> Starting
Jun 29 21:02:53 server mpd: [pptp5] LCP: LayerStart
Jun 29 21:02:53 server mpd: [pptp5] device: OPEN event in state DOWN
Jun 29 21:02:53 server mpd: [pptp5] attaching to peer's outgoing call
Jun 29 21:02:53 server mpd: [pptp5] device is now in state OPENING
Jun 29 21:02:53 server mpd: [pptp5] device: UP event in state OPENING
Jun 29 21:02:53 server mpd: [pptp5] device is now in state UP
Jun 29 21:02:53 server mpd: [pptp5] link: UP event
Jun 29 21:02:53 server mpd: [pptp5] link: origination is remote
Jun 29 21:02:53 server mpd: [pptp5] LCP: Up event
Jun 29 21:02:53 server mpd: [pptp5] LCP: state change Starting --> Req-Sent
Jun 29 21:02:53 server mpd: [pptp5] LCP: phase shift DEAD --> ESTABLISH
Jun 29 21:02:53 server mpd: [pptp5] LCP: SendConfigReq #7
Jun 29 21:02:53 server mpd:  ACFCOMP
Jun 29 21:02:53 server mpd:  PROTOCOMP
Jun 29 21:02:53 server mpd:  MRU 1500
Jun 29 21:02:53 server mpd:  MAGICNUM ecd6e8c8
Jun 29 21:02:53 server mpd:  AUTHPROTO CHAP MSOFTv2
Jun 29 21:02:53 server mpd:  MP MRRU 1600
Jun 29 21:02:53 server mpd:  MP SHORTSEQ
Jun 29 21:02:53 server mpd:  ENDPOINTDISC [802.1] 00 30 4f 2e 5b 19
Jun 29 21:02:55 server mpd: [pptp5] LCP: SendConfigReq #8
Jun 29 21:02:55 server mpd:  ACFCOMP
Jun 29 21:02:55 server mpd:  PROTOCOMP
Jun 29 21:02:55 server mpd:  MRU 1500
Jun 29 21:02:55 server mpd:  MAGICNUM ecd6e8c8
Jun 29 21:02:55 server mpd:  AUTHPROTO CHAP MSOFTv2
Jun 29 21:02:55 server mpd:  MP MRRU 1600
Jun 29 21:02:55 server mpd:  MP SHORTSEQ
Jun 29 21:02:55 server mpd:  ENDPOINTDISC [802.1] 00 30 4f 2e 5b 19
Jun 29 21:02:55 server mpd: [pptp5] LCP: rec'd Configure Request #7 link 0 (Req-Sent)
Jun 29 21:02:55 server mpd:  ACFCOMP
Jun 29 21:02:55 server mpd:  PROTOCOMP
Jun 29 21:02:55 server mpd:  MRU 1500
Jun 29 21:02:55 server mpd:  MAGICNUM ecd6e8c8
Jun 29 21:02:55 server mpd:    Same magic! Detected loopback condition
Jun 29 21:02:55 server mpd:  AUTHPROTO CHAP MSOFTv2
Jun 29 21:02:55 server mpd:  MP MRRU 1600
Jun 29 21:02:55 server mpd:  MP SHORTSEQ
Jun 29 21:02:55 server mpd:  ENDPOINTDISC [802.1] 00 30 4f 2e 5b 19
Jun 29 21:02:55 server mpd: [pptp5] LCP: SendConfigNak #7
Jun 29 21:02:55 server mpd:  MAGICNUM 13291737
Jun 29 21:02:55 server mpd: [pptp5] LCP: rec'd Configure Request #8 link 0 (Req-Sent)
Jun 29 21:02:55 server mpd:  ACFCOMP
Jun 29 21:02:55 server mpd:  PROTOCOMP
Jun 29 21:02:55 server mpd:  MRU 1500
Jun 29 21:02:55 server mpd:  MAGICNUM ecd6e8c8
Jun 29 21:02:55 server mpd:    Same magic! Detected loopback condition
Jun 29 21:02:55 server mpd:  AUTHPROTO CHAP MSOFTv2
Jun 29 21:02:55 server mpd:  MP MRRU 1600
Jun 29 21:02:55 server mpd:  MP SHORTSEQ
Jun 29 21:02:55 server mpd:  ENDPOINTDISC [802.1] 00 30 4f 2e 5b 19
Jun 29 21:02:55 server mpd: [pptp5] LCP: SendConfigNak #8
Jun 29 21:02:55 server mpd:  MAGICNUM 13291737
Jun 29 21:02:55 server mpd: [pptp5] LCP: rec'd Configure Nak #7 link 0 (Req-Sent)
Jun 29 21:02:55 server mpd:  Wrong id#, expecting 8
Jun 29 21:02:55 server mpd: [pptp5] LCP: rec'd Configure Nak #8 link 0 (Req-Sent)
Jun 29 21:02:55 server mpd:  MAGICNUM 13291737
Jun 29 21:02:55 server mpd: [pptp5] LCP: SendConfigReq #9
Jun 29 21:02:55 server mpd:  ACFCOMP
Jun 29 21:02:55 server mpd:  PROTOCOMP
Jun 29 21:02:55 server mpd:  MRU 1500
Jun 29 21:02:55 server mpd:  MAGICNUM 26504df8
Jun 29 21:02:55 server mpd:  AUTHPROTO CHAP MSOFTv2
Jun 29 21:02:55 server mpd:  MP MRRU 1600
Jun 29 21:02:55 server mpd:  MP SHORTSEQ
Jun 29 21:02:55 server mpd:  ENDPOINTDISC [802.1] 00 30 4f 2e 5b 19
Jun 29 21:02:55 server mpd: [pptp5] LCP: rec'd Configure Request #9 link 0 (Req-Sent)
Jun 29 21:02:55 server mpd:  ACFCOMP
Jun 29 21:02:55 server mpd:  PROTOCOMP
Jun 29 21:02:55 server mpd:  MRU 1500
Jun 29 21:02:55 server mpd:  MAGICNUM 26504df8
Jun 29 21:02:55 server mpd:    Same magic! Detected loopback condition
Jun 29 21:02:55 server mpd:  AUTHPROTO CHAP MSOFTv2
Jun 29 21:02:55 server mpd:  MP MRRU 1600
Jun 29 21:02:55 server mpd:  MP SHORTSEQ
Jun 29 21:02:55 server mpd:  ENDPOINTDISC [802.1] 00 30 4f 2e 5b 19
Jun 29 21:02:55 server mpd: [pptp5] LCP: SendConfigNak #9
Jun 29 21:02:55 server mpd:  MAGICNUM d9afb207
Jun 29 21:02:55 server mpd: [pptp5] LCP: rec'd Configure Nak #9 link 0 (Req-Sent)
Jun 29 21:02:55 server mpd:  MAGICNUM d9afb207
Jun 29 21:02:55 server mpd: [pptp5] LCP: SendConfigReq #10
Jun 29 21:02:55 server mpd:  ACFCOMP
Jun 29 21:02:55 server mpd:  PROTOCOMP
Jun 29 21:02:55 server mpd:  MRU 1500
Jun 29 21:02:55 server mpd:  MAGICNUM 45f905d4
Jun 29 21:02:55 server mpd:  AUTHPROTO CHAP MSOFTv2
Jun 29 21:02:55 server mpd:  MP MRRU 1600
Jun 29 21:02:55 server mpd:  MP SHORTSEQ
Jun 29 21:02:55 server mpd:  ENDPOINTDISC [802.1] 00 30 4f 2e 5b 19
Jun 29 21:02:55 server mpd: [pptp5] LCP: rec'd Configure Request #10 link 0 (Req-Sent)
Jun 29 21:02:55 server mpd:  ACFCOMP
Jun 29 21:02:55 server mpd:  PROTOCOMP
Jun 29 21:02:55 server mpd:  MRU 1500
Jun 29 21:02:55 server mpd:  MAGICNUM 45f905d4
Jun 29 21:02:55 server mpd:    Same magic! Detected loopback condition
Jun 29 21:02:55 server mpd:  AUTHPROTO CHAP MSOFTv2
Jun 29 21:02:55 server mpd:  MP MRRU 1600
Jun 29 21:02:55 server mpd:  MP SHORTSEQ
Jun 29 21:02:55 server mpd:  ENDPOINTDISC [802.1] 00 30 4f 2e 5b 19
Jun 29 21:02:55 server mpd: [pptp5] LCP: SendConfigNak #10
Jun 29 21:02:55 server mpd:  MAGICNUM ba06fa2b
Jun 29 21:02:55 server mpd: [pptp5] LCP: rec'd Configure Nak #10 link 0 (Req-Sent)
Jun 29 21:02:55 server mpd:  MAGICNUM ba06fa2b
Jun 29 21:02:55 server mpd: [pptp5] LCP: SendConfigReq #11
Jun 29 21:02:55 server mpd:  ACFCOMP
Jun 29 21:02:55 server mpd:  PROTOCOMP
Jun 29 21:02:55 server mpd:  MRU 1500
Jun 29 21:02:55 server mpd:  MAGICNUM 6735225c
Jun 29 21:02:55 server mpd:  AUTHPROTO CHAP MSOFTv2
Jun 29 21:02:55 server mpd:  MP MRRU 1600
Jun 29 21:02:55 server mpd:  MP SHORTSEQ
Jun 29 21:02:55 server mpd:  ENDPOINTDISC [802.1] 00 30 4f 2e 5b 19
Jun 29 21:02:55 server mpd: [pptp5] LCP: rec'd Configure Request #11 link 0 (Req-Sent)
Jun 29 21:02:55 server mpd:  ACFCOMP
Jun 29 21:02:55 server mpd:  PROTOCOMP
Jun 29 21:02:55 server mpd:  MRU 1500
Jun 29 21:02:55 server mpd:  MAGICNUM 6735225c
Jun 29 21:02:55 server mpd:    Same magic! Detected loopback condition
Jun 29 21:02:55 server mpd:  AUTHPROTO CHAP MSOFTv2
Jun 29 21:02:55 server mpd:  MP MRRU 1600
Jun 29 21:02:55 server mpd:  MP SHORTSEQ
Jun 29 21:02:55 server mpd:  ENDPOINTDISC [802.1] 00 30 4f 2e 5b 19
Jun 29 21:02:55 server mpd: [pptp5] LCP: SendConfigNak #11
Jun 29 21:02:55 server mpd:  MAGICNUM 98cadda3
Jun 29 21:02:55 server mpd: [pptp5] LCP: rec'd Configure Nak #11 link 0 (Req-Sent)
Jun 29 21:02:55 server mpd:  MAGICNUM 98cadda3
Jun 29 21:02:55 server mpd: [pptp5] LCP: SendConfigReq #12
Jun 29 21:02:55 server mpd:  ACFCOMP
Jun 29 21:02:55 server mpd:  PROTOCOMP
Jun 29 21:02:55 server mpd:  MRU 1500
Jun 29 21:02:55 server mpd:  MAGICNUM 8f6e1ed4
Jun 29 21:02:55 server mpd:  AUTHPROTO CHAP MSOFTv2
Jun 29 21:02:55 server mpd:  MP MRRU 1600
Jun 29 21:02:55 server mpd:  MP SHORTSEQ
Jun 29 21:02:55 server mpd:  ENDPOINTDISC [802.1]

конфиг клиента
vpn:
set authname LOGIN
set authkey PASSWORD
set timeout 0
set ifaddr 0 0
add default HISADDR
enable MPPE                                    # With encryption
accept MPPE
accept MSChapV2
set mppe 128 stateless

виндовые машины к тому же серверу коннектятся без проблем

конфиг сервера


Содержание

Сообщения в этом обсуждении
"проблема VPN FreeBSD + FreeBSD"
Отправлено greyhard , 29-Июн-07 20:56 
конфиг сервера
pptp_standart:
     set iface disable on-demand
        set link yes acfcomp protocomp
        set bundle enable multilink
        set iface enable tcpmssfix
        set link no pap chap
        set link enable chap
        set link deny chap-md5
        set link deny chap-msv1
        set link accept chap-msv2
        set link keep-alive 60 180
        set ipcp yes vjcomp
        set ipcp dns x.x.x.x
        set iface enable proxy-arp
        set bundle enable compression
        set ccp yes mppc
        set ccp yes mpp-e40
        set ccp yes mpp-e128
        set ccp yes mpp-stateless
        set bundle yes crypt-reqd
        set pptp enable incoming
        set pptp disable originate
        set radius server 127.0.0.1 secret 1812 1813
        set radius timeout 10
        set radius config /etc/radius.conf
        set radius retries 3
        set bundle enable radius-acct
        set bundle enable radius-auth
        set ipcp yes radius-ip
open