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

Исходное сообщение
"MPD не подключиться из другой сети...Помощи прошу слёзно... "

Отправлено Spider , 05-Мрт-08 15:54 
Приветствую и прошу помощи!

Всё работает всё ок, но...

Подключаюсь к своему серваку стандартным виндовыим VPN клиентом...

Через скай линк - да, через GSM да, с работы по оптике - да,
а вот из некоторых сетей нет...

вот конфиг:

        load client_standard
client1:
        new -i ng1 pptp1 client1
        set ipcp ranges 192.168.1.2/24 192.168.1.3/24
        load client_standard
client2:
        new -i ng2 pptp2 client2
        set ipcp ranges 192.168.1.2/24 192.168.1.3/24
        load client_standard
client3:
        new -i ng3 pptp3 client3
        set ipcp ranges 192.168.1.2/24 192.168.1.3/24
        load client_standard
client_standard:
                set iface disable on-demand
                set iface enable tcpmssfix
                set bundle enable multilink

                ------
менял           set iface mtu 1600
не помогает     set link mtu 496
                set link mru 496
                ------

                set link yes acfcomp protocomp
                set link no pap chap
                set link enable chap
                set link keep-alive 60 180
                set ipcp yes vjcomp
                set ipcp dns 192.168.1.2
                set ipcp nbns 192.168.1.2
                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 self ***********
                set pptp enable incoming
                set pptp disable originate


вот лог:

ar  3 15:10:04 mail mpd: pptp0: attached to connection with 80.70.236.63:62331
Mar  3 15:10:04 mail mpd: [pptp0] IFACE: Open event
Mar  3 15:10:04 mail mpd: [pptp0] IPCP: Open event
Mar  3 15:10:04 mail mpd: [pptp0] IPCP: state change Initial --> Starting
Mar  3 15:10:04 mail mpd: [pptp0] IPCP: LayerStart
Mar  3 15:10:04 mail mpd: [pptp0] IPCP: Open event
Mar  3 15:10:04 mail mpd: [pptp0] bundle: OPEN event in state CLOSED
Mar  3 15:10:04 mail mpd: [pptp0] opening link "client0"...
Mar  3 15:10:04 mail mpd: [client0] link: OPEN event
Mar  3 15:10:04 mail mpd: [client0] LCP: Open event
Mar  3 15:10:04 mail mpd: [client0] LCP: state change Initial --> Starting
Mar  3 15:10:04 mail mpd: [client0] LCP: LayerStart
Mar  3 15:10:04 mail mpd: [client0] device: OPEN event in state DOWN
Mar  3 15:10:04 mail mpd: [client0] attaching to peer's outgoing call
Mar  3 15:10:04 mail mpd: [client0] device is now in state OPENING
Mar  3 15:10:04 mail mpd: [client0] device: UP event in state OPENING
Mar  3 15:10:04 mail mpd: [client0] device is now in state UP
Mar  3 15:10:04 mail mpd: [client0] link: UP event
Mar  3 15:10:04 mail mpd: [client0] link: origination is remote
Mar  3 15:10:04 mail mpd: [client0] LCP: Up event
Mar  3 15:10:04 mail mpd: [client0] LCP: state change Starting --> Req-Sent
Mar  3 15:10:04 mail mpd: [client0] LCP: phase shift DEAD --> ESTABLISH
Mar  3 15:10:04 mail mpd: [client0] LCP: SendConfigReq #1
Mar  3 15:10:04 mail mpd: [client0] LCP: SendConfigReq #1
Mar  3 15:10:04 mail mpd:  ACFCOMP
Mar  3 15:10:04 mail mpd:  PROTOCOMP
Mar  3 15:10:04 mail mpd:  MRU 496
Mar  3 15:10:04 mail mpd:  MAGICNUM 56977290
Mar  3 15:10:04 mail mpd:  AUTHPROTO CHAP MSOFTv2
Mar  3 15:10:04 mail mpd:  MP MRRU 1600
Mar  3 15:10:04 mail mpd:  MP SHORTSEQ
Mar  3 15:10:04 mail mpd:  ENDPOINTDISC [802.1] 00 13 d4 eb 2b 9f
Mar  3 15:10:04 mail mpd: pptp0-0: ignoring SetLinkInfo
Mar  3 15:10:06 mail mpd: [client0] LCP: SendConfigReq #2
Mar  3 15:10:06 mail mpd:  ACFCOMP
Mar  3 15:10:06 mail mpd:  PROTOCOMP
Mar  3 15:10:06 mail mpd:  MRU 496
Mar  3 15:10:06 mail mpd:  MAGICNUM 56977290
Mar  3 15:10:06 mail mpd:  AUTHPROTO CHAP MSOFTv2
Mar  3 15:10:06 mail mpd:  MP MRRU 1600
Mar  3 15:10:06 mail mpd:  MP SHORTSEQ
Mar  3 15:10:06 mail mpd:  ENDPOINTDISC [802.1] 00 13 d4 eb 2b 9f
Mar  3 15:10:08 mail mpd: [client0] LCP: SendConfigReq #3
Mar  3 15:10:08 mail mpd:  ACFCOMP
Mar  3 15:10:08 mail mpd:  PROTOCOMP
Mar  3 15:10:08 mail mpd:  MRU 496
Mar  3 15:10:08 mail mpd:  MAGICNUM 56977290
Mar  3 15:10:08 mail mpd:  AUTHPROTO CHAP MSOFTv2
Mar  3 15:10:08 mail mpd:  MP MRRU 1600
Mar  3 15:10:08 mail mpd:  MP SHORTSEQ
Mar  3 15:10:08 mail mpd:  ENDPOINTDISC [802.1] 00 13 d4 eb 2b 9f
Mar  3 15:10:10 mail mpd: [client0] LCP: SendConfigReq #4
Mar  3 15:10:10 mail mpd:  ACFCOMP
Mar  3 15:10:10 mail mpd:  PROTOCOMP
Mar  3 15:10:10 mail mpd:  MRU 496
Mar  3 15:10:10 mail mpd:  MAGICNUM 56977290
Mar  3 15:10:10 mail mpd:  AUTHPROTO CHAP MSOFTv2
Mar  3 15:10:10 mail mpd:  MP MRRU 1600
Mar  3 15:10:10 mail mpd:  MP SHORTSEQ
Mar  3 15:10:10 mail mpd:  ENDPOINTDISC [802.1] 00 13 d4 eb 2b 9f
Mar  3 15:10:12 mail mpd: [client0] LCP: SendConfigReq #5
Mar  3 15:10:12 mail mpd:  ACFCOMP
Mar  3 15:10:12 mail mpd:  PROTOCOMP
Mar  3 15:10:12 mail mpd:  MRU 496
Mar  3 15:10:12 mail mpd:  MAGICNUM 56977290
Mar  3 15:10:12 mail mpd:  AUTHPROTO CHAP MSOFTv2
Mar  3 15:10:12 mail mpd:  MP MRRU 1600
Mar  3 15:10:12 mail mpd:  MP SHORTSEQ
Mar  3 15:10:12 mail mpd:  ENDPOINTDISC [802.1] 00 13 d4 eb 2b 9f
Mar  3 15:10:14 mail mpd: [client0] LCP: SendConfigReq #6
Mar  3 15:10:14 mail mpd:  ACFCOMP
Mar  3 15:10:14 mail mpd:  PROTOCOMP
Mar  3 15:10:14 mail mpd:  MRU 496
Mar  3 15:10:14 mail mpd:  MAGICNUM 56977290
Mar  3 15:10:14 mail mpd:  AUTHPROTO CHAP MSOFTv2
Mar  3 15:10:14 mail mpd:  MP MRRU 1600
Mar  3 15:10:14 mail mpd:  MP SHORTSEQ
Mar  3 15:10:14 mail mpd:  ENDPOINTDISC [802.1] 00 13 d4 eb 2b 9f
Mar  3 15:10:16 mail mpd: [client0] LCP: SendConfigReq #7
Mar  3 15:10:16 mail mpd:  ACFCOMP
Mar  3 15:10:16 mail mpd:  PROTOCOMP
Mar  3 15:10:16 mail mpd:  MRU 496
Mar  3 15:10:16 mail mpd:  MAGICNUM 56977290
Mar  3 15:10:16 mail mpd:  AUTHPROTO CHAP MSOFTv2
Mar  3 15:10:16 mail mpd:  MP MRRU 1600
Mar  3 15:10:16 mail mpd:  MP SHORTSEQ
Mar  3 15:10:16 mail mpd:  ENDPOINTDISC [802.1] 00 13 d4 eb 2b 9f
Mar  3 15:10:18 mail mpd: [client0] LCP: SendConfigReq #8
Mar  3 15:10:18 mail mpd:  ACFCOMP
Mar  3 15:10:18 mail mpd:  PROTOCOMP
Mar  3 15:10:18 mail mpd:  MRU 496
Mar  3 15:10:18 mail mpd:  MAGICNUM 56977290
Mar  3 15:10:18 mail mpd:  AUTHPROTO CHAP MSOFTv2
Mar  3 15:10:18 mail mpd:  MP MRRU 1600
Mar  3 15:10:18 mail mpd:  MP SHORTSEQ
Mar  3 15:10:18 mail mpd:  ENDPOINTDISC [802.1] 00 13 d4 eb 2b 9f
Mar  3 15:10:20 mail mpd: [client0] LCP: SendConfigReq #9
Mar  3 15:10:20 mail mpd:  ACFCOMP
Mar  3 15:10:20 mail mpd:  PROTOCOMP
Mar  3 15:10:20 mail mpd:  MRU 496
Mar  3 15:10:20 mail mpd:  MAGICNUM 56977290
Mar  3 15:10:20 mail mpd:  AUTHPROTO CHAP MSOFTv2
Mar  3 15:10:20 mail mpd:  MP MRRU 1600
Mar  3 15:10:20 mail mpd:  MP SHORTSEQ
Mar  3 15:10:20 mail mpd:  ENDPOINTDISC [802.1] 00 13 d4 eb 2b 9f
Mar  3 15:10:22 mail mpd: [client0] LCP: SendConfigReq #10
Mar  3 15:10:22 mail mpd:  ACFCOMP
Mar  3 15:10:22 mail mpd:  PROTOCOMP
Mar  3 15:10:22 mail mpd:  MRU 496
Mar  3 15:10:22 mail mpd:  MAGICNUM 56977290
Mar  3 15:10:22 mail mpd:  AUTHPROTO CHAP MSOFTv2
Mar  3 15:10:22 mail mpd:  MP MRRU 1600
Mar  3 15:10:22 mail mpd:  MP SHORTSEQ
Mar  3 15:10:22 mail mpd:  ENDPOINTDISC [802.1] 00 13 d4 eb 2b 9f
Mar  3 15:10:24 mail mpd: [client0] LCP: state change Req-Sent --> Stopped
Mar  3 15:10:24 mail mpd: [client0] LCP: LayerFinish
Mar  3 15:10:24 mail mpd: [client0] LCP: parameter negotiation failed
Mar  3 15:10:24 mail mpd: [client0] LCP: LayerFinish
Mar  3 15:10:24 mail mpd: [client0] device: CLOSE event in state UP
Mar  3 15:10:24 mail mpd: pptp0-0: clearing call
Mar  3 15:10:24 mail mpd: pptp0-0: killing channel
Mar  3 15:10:24 mail mpd: [client0] PPTP call terminated
Mar  3 15:10:24 mail mpd: [pptp0] IFACE: Close event
Mar  3 15:10:24 mail mpd: [pptp0] IPCP: Close event
Mar  3 15:10:24 mail mpd: [pptp0] IPCP: state change Starting --> Initial
Mar  3 15:10:24 mail mpd: [pptp0] IPCP: LayerFinish
Mar  3 15:10:24 mail mpd: [pptp0] IFACE: Close event
Mar  3 15:10:24 mail mpd: pptp0: closing connection with 80.70.236.63:62331
Mar  3 15:10:24 mail mpd: [pptp0] IFACE: Close event
Mar  3 15:10:24 mail mpd: [client0] device is now in state CLOSING
Mar  3 15:10:24 mail mpd: [pptp0] bundle: CLOSE event in state OPENED
Mar  3 15:10:24 mail mpd: [pptp0] closing link "client0"...
Mar  3 15:10:24 mail mpd: [client0] device: CLOSE event in state CLOSING
Mar  3 15:10:24 mail mpd: [client0] device is now in state CLOSING
Mar  3 15:10:24 mail mpd: [client0] link: CLOSE event
Mar  3 15:10:24 mail mpd: [client0] LCP: Close event
Mar  3 15:10:24 mail mpd: [client0] LCP: state change Stopped --> Closed
Mar  3 15:10:24 mail mpd: [client0] device: DOWN event in state CLOSING
Mar  3 15:10:24 mail mpd: [client0] device is now in state DOWN
Mar  3 15:10:24 mail mpd: [client0] link: DOWN event
Mar  3 15:10:24 mail mpd: [client0] LCP: Down event
Mar  3 15:10:24 mail mpd: [client0] LCP: state change Closed --> Initial
Mar  3 15:10:24 mail mpd: [client0] LCP: phase shift ESTABLISH --> DEAD
Mar  3 15:10:24 mail mpd: [client0] device: DOWN event in state DOWN
Mar  3 15:10:24 mail mpd: [client0] device is now in state DOWN
Mar  3 15:10:24 mail mpd: [client0] link: DOWN event
Mar  3 15:10:24 mail mpd: [client0] LCP: Down event
Mar  3 15:10:24 mail mpd: pptp0: killing connection with 80.70.236.63:62331


Содержание

Сообщения в этом обсуждении
"MPD не подключиться из другой сети...Помощи прошу слёзно... "
Отправлено lapweed , 05-Мрт-08 23:33 
возможно в некоторых сетях фильтруются gre пакеты.

"MPD не подключиться из другой сети...Помощи прошу слёзно... "
Отправлено lykich99 , 23-Апр-08 15:09 
>[оверквотинг удален]
>Mar  3 15:10:24 mail mpd: [client0] LCP: Down event
>Mar  3 15:10:24 mail mpd: [client0] LCP: state change Closed --> Initial
>Mar  3 15:10:24 mail mpd: [client0] LCP: phase shift ESTABLISH --> DEAD
>Mar  3 15:10:24 mail mpd: [client0] device: DOWN event in state
>DOWN
>Mar  3 15:10:24 mail mpd: [client0] device is now in state
>DOWN
>Mar  3 15:10:24 mail mpd: [client0] link: DOWN event
>Mar  3 15:10:24 mail mpd: [client0] LCP: Down event
>Mar  3 15:10:24 mail mpd: pptp0: killing connection with 80.70.236.63:62331

Скажите плиз уважаетмый решили вы задачу?Ели да укажите путь.


"MPD не подключиться из другой сети...Помощи прошу слёзно... "
Отправлено denson , 04-Май-08 16:46 
>[оверквотинг удален]
>>Mar  3 15:10:24 mail mpd: [client0] LCP: phase shift ESTABLISH --> DEAD
>>Mar  3 15:10:24 mail mpd: [client0] device: DOWN event in state
>>DOWN
>>Mar  3 15:10:24 mail mpd: [client0] device is now in state
>>DOWN
>>Mar  3 15:10:24 mail mpd: [client0] link: DOWN event
>>Mar  3 15:10:24 mail mpd: [client0] LCP: Down event
>>Mar  3 15:10:24 mail mpd: pptp0: killing connection with 80.70.236.63:62331
>
>Скажите плиз уважаетмый решили вы задачу?Ели да укажите путь.

У меня такая же проблема, все работало, но потом перестало ) оба провайдера говорят что ничего не режется
вот лог клиента

pptp1: connecting to xxx.xxx.xxx.xxx 1723
May  4 16:44:36 msk2 mpd: pptp1: connected to xxx.xxx.xxx.xxx 1723
May  4 16:44:36 msk2 mpd: pptp1: attached to connection with xxx.xxx.xxx.xxx 1723
May  4 16:44:36 msk2 mpd: pptp1-0: outgoing call connected at 64000 bps
May  4 16:44:36 msk2 mpd: [vpn1] PPTP call successful
May  4 16:44:36 msk2 mpd: [vpn1] link: UP event
May  4 16:44:36 msk2 mpd: [vpn1] link: origination is local
May  4 16:44:36 msk2 mpd: [vpn1] LCP: Up event
May  4 16:44:36 msk2 mpd: [vpn1] LCP: state change Starting --> Req-Sent
May  4 16:44:36 msk2 mpd: [vpn1] LCP: SendConfigReq #39
May  4 16:44:36 msk2 mpd:  ACFCOMP
May  4 16:44:36 msk2 mpd:  PROTOCOMP
May  4 16:44:36 msk2 mpd:  ACCMAP 0x000a0000
May  4 16:44:36 msk2 mpd:  MRU 1300
May  4 16:44:36 msk2 mpd:  MAGICNUM 0b2b1150
May  4 16:44:36 msk2 mpd:  AUTHPROTO CHAP MSOFTv2
May  4 16:44:38 msk2 mpd: [vpn1] LCP: SendConfigReq #40
May  4 16:44:38 msk2 mpd:  ACFCOMP
May  4 16:44:38 msk2 mpd:  PROTOCOMP
May  4 16:44:38 msk2 mpd:  ACCMAP 0x000a0000
May  4 16:44:38 msk2 mpd:  MRU 1300
May  4 16:44:38 msk2 mpd:  MAGICNUM 0b2b1150
May  4 16:44:38 msk2 mpd:  AUTHPROTO CHAP MSOFTv2
May  4 16:44:40 msk2 mpd: [vpn1] LCP: SendConfigReq #41
May  4 16:44:40 msk2 mpd:  ACFCOMP
May  4 16:44:40 msk2 mpd:  PROTOCOMP
May  4 16:44:40 msk2 mpd:  ACCMAP 0x000a0000
May  4 16:44:40 msk2 mpd:  MRU 1300
May  4 16:44:40 msk2 mpd:  MAGICNUM 0b2b1150
May  4 16:44:40 msk2 mpd:  AUTHPROTO CHAP MSOFTv2
May  4 16:44:42 msk2 mpd: [vpn1] LCP: SendConfigReq #42
May  4 16:44:42 msk2 mpd:  ACFCOMP
May  4 16:44:42 msk2 mpd:  PROTOCOMP
May  4 16:44:42 msk2 mpd:  ACCMAP 0x000a0000
May  4 16:44:42 msk2 mpd:  MRU 1300
May  4 16:44:42 msk2 mpd:  MAGICNUM 0b2b1150
May  4 16:44:42 msk2 mpd:  AUTHPROTO CHAP MSOFTv2
May  4 16:44:44 msk2 mpd: [vpn1] LCP: SendConfigReq #43
May  4 16:44:44 msk2 mpd:  ACFCOMP
May  4 16:44:44 msk2 mpd:  PROTOCOMP
May  4 16:44:44 msk2 mpd:  ACCMAP 0x000a0000
May  4 16:44:44 msk2 mpd:  MRU 1300
May  4 16:44:44 msk2 mpd:  MAGICNUM 0b2b1150
May  4 16:44:44 msk2 mpd:  AUTHPROTO CHAP MSOFTv2

лог сервера

May  4 16:43:49 vpn mpd: PPTP: Incoming control connection from xxx.xxx.xxx.xxx 54894 to xxx.xxx.xxx.xxx 1723
May  4 16:43:49 vpn mpd: pptp0: attached to connection with xxx.xxx.xxx.xxx 54894
May  4 16:43:49 vpn mpd: [pptp0] Accepting PPTP connection
May  4 16:43:49 vpn mpd: [pptp0] opening link "pptp0"...
May  4 16:43:49 vpn mpd: [pptp0] link: OPEN event
May  4 16:43:49 vpn mpd: [pptp0] LCP: Open event
May  4 16:43:49 vpn mpd: [pptp0] LCP: state change Initial --> Starting
May  4 16:43:49 vpn mpd: [pptp0] LCP: LayerStart
May  4 16:43:49 vpn mpd: [pptp0] PPTP: attaching to peer's outgoing call
May  4 16:43:49 vpn mpd: [pptp0] link: UP event
May  4 16:43:49 vpn mpd: [pptp0] link: origination is remote
May  4 16:43:49 vpn mpd: [pptp0] LCP: Up event
May  4 16:43:49 vpn mpd: [pptp0] LCP: state change Starting --> Req-Sent
May  4 16:43:49 vpn mpd: [pptp0] LCP: SendConfigReq #159
May  4 16:43:49 vpn mpd:  ACFCOMP
May  4 16:43:49 vpn mpd:  PROTOCOMP
May  4 16:43:49 vpn mpd:  MRU 1300
May  4 16:43:49 vpn mpd:  MAGICNUM f6f14333
May  4 16:43:49 vpn mpd:  AUTHPROTO CHAP MSOFTv2
May  4 16:43:49 vpn mpd:  MP MRRU 1600
May  4 16:43:49 vpn mpd:  MP SHORTSEQ
May  4 16:43:49 vpn mpd:  ENDPOINTDISC [802.1] 00 00 86 4e 52 98
May  4 16:43:49 vpn mpd: [pptp0] LCP: rec'd Configure Request #69 (Req-Sent)
May  4 16:43:49 vpn mpd:  ACFCOMP
May  4 16:43:49 vpn mpd:  PROTOCOMP
May  4 16:43:49 vpn mpd:  ACCMAP 0x000a0000
May  4 16:43:49 vpn mpd:  MRU 1300
May  4 16:43:49 vpn mpd:  MAGICNUM d7602900
May  4 16:43:49 vpn mpd:  AUTHPROTO CHAP MSOFTv2
May  4 16:43:49 vpn mpd: [pptp0] LCP: SendConfigNak #69
May  4 16:43:49 vpn mpd:  AUTHPROTO EAP
May  4 16:43:51 vpn mpd: [pptp0] LCP: rec'd Configure Request #70 (Req-Sent)
May  4 16:43:51 vpn mpd:  ACFCOMP
May  4 16:43:51 vpn mpd:  PROTOCOMP
May  4 16:43:51 vpn mpd:  ACCMAP 0x000a0000
May  4 16:43:51 vpn mpd:  MRU 1300
May  4 16:43:51 vpn mpd:  MAGICNUM d7602900
May  4 16:43:51 vpn mpd:  AUTHPROTO CHAP MSOFTv2
May  4 16:43:51 vpn mpd: [pptp0] LCP: SendConfigNak #70
May  4 16:43:51 vpn mpd:  AUTHPROTO EAP
May  4 16:43:51 vpn mpd: [pptp0] LCP: SendConfigReq #160
May  4 16:43:51 vpn mpd:  ACFCOMP
May  4 16:43:51 vpn mpd:  PROTOCOMP
May  4 16:43:51 vpn mpd:  MRU 1300
May  4 16:43:51 vpn mpd:  MAGICNUM f6f14333
May  4 16:43:51 vpn mpd:  AUTHPROTO CHAP MSOFTv2
May  4 16:43:51 vpn mpd:  MP MRRU 1600
May  4 16:43:51 vpn mpd:  MP SHORTSEQ
May  4 16:43:51 vpn mpd:  ENDPOINTDISC [802.1] 00 00 86 4e 52 98