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

Исходное сообщение
"настроить mpd4 pptp server+pptp client+pppoe server"

Отправлено Blood Angel , 03-Мрт-07 13:39 
Задачка на одной машине поднять пптп клиента, пптп сервер и пппое сервер, в случае с мпд3.18 решалось все запуском двух версия мпд. первая работал в качестве пптп клиента и пппое сервера, а вторая в качетсве пптп сервера. сейчас же конфиг от 3.18 в недоступном месте, настроить же 4.0 не получается :(
конфиг для сервера:
startup:
        # enable TCP-Wrapper (hosts_access(5)) to block unfriendly clients
        set global enable tcp-wrapper
        # configure the console
        set console port 5006
        set console ip 0.0.0.0
        set console user support help
        set console open

#
# Default configuration is "myisp"

default:
   load pptp100

pptp100:
    new -i ng100 pptp100 pptp100
    set iface disable on-demand
    set bundle enable multilink
    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.10.1
    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 bundle yes crypt-reqd
    set pptp enable incoming
    set pptp disable originate
    set iface mtu 1500
    set link mtu 1500

в логах:
Mar  3 13:23:12 server2 mpd: process 2511 started, version 4.0rc1 (root@server2.ssbiz.ru 21:54  4-Feb-2007)
Mar  3 13:23:12 server2 mpd: CONSOLE: listening on 0.0.0.0 5006
Mar  3 13:23:12 server2 mpd: [pptp100] using interface ng100
Mar  3 13:23:20 server2 mpd: PPTP connection from IP адрес 2405
Mar  3 13:23:20 server2 mpd: pptp0: attached to connection with IP адрес 2405
Mar  3 13:23:20 server2 mpd: [pptp100] Accepting PPTP connection
Mar  3 13:23:20 server2 mpd: [pptp100] opening link "pptp100"...
Mar  3 13:23:20 server2 mpd: [pptp100] link: OPEN event
Mar  3 13:23:20 server2 mpd: [pptp100] LCP: Open event
Mar  3 13:23:20 server2 mpd: [pptp100] LCP: state change Initial --> Starting
Mar  3 13:23:20 server2 mpd: [pptp100] LCP: LayerStart
Mar  3 13:23:20 server2 mpd: [pptp100] attaching to peer's outgoing call
Mar  3 13:23:20 server2 mpd: [pptp100] link: UP event
Mar  3 13:23:20 server2 mpd: [pptp100] link: origination is remote
Mar  3 13:23:20 server2 mpd: [pptp100] LCP: Up event
Mar  3 13:23:20 server2 mpd: [pptp100] LCP: state change Starting --> Req-Sent
Mar  3 13:23:20 server2 mpd: [pptp100] LCP: SendConfigReq #1
Mar  3 13:23:20 server2 mpd:  ACFCOMP
Mar  3 13:23:20 server2 mpd:  PROTOCOMP
Mar  3 13:23:20 server2 mpd:  MAGICNUM 43e3e040
Mar  3 13:23:20 server2 mpd:  MP MRRU 1600
Mar  3 13:23:20 server2 mpd:  MP SHORTSEQ
Mar  3 13:23:20 server2 mpd:  ENDPOINTDISC [802.1] 00 02 b3 5c 1d da
Mar  3 13:23:20 server2 mpd: pptp0-0: ignoring SetLinkInfo
Mar  3 13:23:22 server2 mpd: [pptp100] LCP: SendConfigReq #2
Mar  3 13:23:22 server2 mpd:  ACFCOMP
Mar  3 13:23:22 server2 mpd:  PROTOCOMP
Mar  3 13:23:22 server2 mpd:  MAGICNUM 43e3e040
Mar  3 13:23:22 server2 mpd:  MP MRRU 1600
Mar  3 13:23:22 server2 mpd:  MP SHORTSEQ
Mar  3 13:23:22 server2 mpd:  ENDPOINTDISC [802.1] 00 02 b3 5c 1d da
Mar  3 13:23:24 server2 mpd: [pptp100] LCP: SendConfigReq #3
Mar  3 13:23:24 server2 mpd:  ACFCOMP
Mar  3 13:23:24 server2 mpd:  PROTOCOMP
Mar  3 13:23:24 server2 mpd:  MAGICNUM 43e3e040
Mar  3 13:23:24 server2 mpd:  MP MRRU 1600
Mar  3 13:23:24 server2 mpd:  MP SHORTSEQ
Mar  3 13:23:24 server2 mpd:  ENDPOINTDISC [802.1] 00 02 b3 5c 1d da
Mar  3 13:23:26 server2 mpd: [pptp100] LCP: SendConfigReq #4
Mar  3 13:23:26 server2 mpd:  ACFCOMP
Mar  3 13:23:26 server2 mpd:  PROTOCOMP
Mar  3 13:23:26 server2 mpd:  MAGICNUM 43e3e040
Mar  3 13:23:26 server2 mpd:  MP MRRU 1600
Mar  3 13:23:26 server2 mpd:  MP SHORTSEQ
Mar  3 13:23:26 server2 mpd:  ENDPOINTDISC [802.1] 00 02 b3 5c 1d da
Mar  3 13:23:28 server2 mpd: [pptp100] LCP: SendConfigReq #5
Mar  3 13:23:28 server2 mpd:  ACFCOMP
Mar  3 13:23:28 server2 mpd:  PROTOCOMP
Mar  3 13:23:28 server2 mpd:  MAGICNUM 43e3e040
Mar  3 13:23:28 server2 mpd:  MP MRRU 1600
Mar  3 13:23:28 server2 mpd:  MP SHORTSEQ
Mar  3 13:23:28 server2 mpd:  ENDPOINTDISC [802.1] 00 02 b3 5c 1d da
Mar  3 13:23:30 server2 mpd: [pptp100] LCP: SendConfigReq #6
Mar  3 13:23:30 server2 mpd:  ACFCOMP
Mar  3 13:23:30 server2 mpd:  PROTOCOMP
Mar  3 13:23:30 server2 mpd:  MAGICNUM 43e3e040
Mar  3 13:23:30 server2 mpd:  MP MRRU 1600
Mar  3 13:23:30 server2 mpd:  MP SHORTSEQ
Mar  3 13:23:30 server2 mpd:  ENDPOINTDISC [802.1] 00 02 b3 5c 1d da
Mar  3 13:23:32 server2 mpd: [pptp100] LCP: SendConfigReq #7
Mar  3 13:23:32 server2 mpd:  ACFCOMP
Mar  3 13:23:32 server2 mpd:  PROTOCOMP
Mar  3 13:23:32 server2 mpd:  MAGICNUM 43e3e040
Mar  3 13:23:32 server2 mpd:  MP MRRU 1600
Mar  3 13:23:32 server2 mpd:  MP SHORTSEQ
Mar  3 13:23:32 server2 mpd:  ENDPOINTDISC [802.1] 00 02 b3 5c 1d da
Mar  3 13:23:34 server2 mpd: [pptp100] LCP: SendConfigReq #8
Mar  3 13:23:34 server2 mpd:  ACFCOMP
Mar  3 13:23:34 server2 mpd:  PROTOCOMP
Mar  3 13:23:34 server2 mpd:  MAGICNUM 43e3e040
Mar  3 13:23:34 server2 mpd:  MP MRRU 1600
Mar  3 13:23:34 server2 mpd:  MP SHORTSEQ
Mar  3 13:23:34 server2 mpd:  ENDPOINTDISC [802.1] 00 02 b3 5c 1d da
Mar  3 13:23:36 server2 mpd: [pptp100] LCP: SendConfigReq #9
Mar  3 13:23:36 server2 mpd:  ACFCOMP
Mar  3 13:23:36 server2 mpd:  PROTOCOMP
Mar  3 13:23:36 server2 mpd:  MAGICNUM 43e3e040
Mar  3 13:23:36 server2 mpd:  MP MRRU 1600
Mar  3 13:23:36 server2 mpd:  MP SHORTSEQ
Mar  3 13:23:36 server2 mpd:  ENDPOINTDISC [802.1] 00 02 b3 5c 1d da
Mar  3 13:23:38 server2 mpd: [pptp100] LCP: SendConfigReq #10
Mar  3 13:23:38 server2 mpd:  ACFCOMP
Mar  3 13:23:38 server2 mpd:  PROTOCOMP
Mar  3 13:23:38 server2 mpd:  MAGICNUM 43e3e040
Mar  3 13:23:38 server2 mpd:  MP MRRU 1600
Mar  3 13:23:38 server2 mpd:  MP SHORTSEQ
Mar  3 13:23:38 server2 mpd:  ENDPOINTDISC [802.1] 00 02 b3 5c 1d da
Mar  3 13:23:40 server2 mpd: [pptp100] LCP: parameter negotiation failed
Mar  3 13:23:40 server2 mpd: [pptp100] LCP: state change Req-Sent --> Stopped
Mar  3 13:23:40 server2 mpd: [pptp100] LCP: LayerFinish
Mar  3 13:23:40 server2 mpd: pptp0-0: clearing call
Mar  3 13:23:40 server2 mpd: pptp0-0: killing channel
Mar  3 13:23:40 server2 mpd: [pptp100] PPTP call terminated
Mar  3 13:23:40 server2 mpd: pptp0: closing connection with IP адрес 2405
Mar  3 13:23:40 server2 mpd: [pptp100] link: DOWN event
Mar  3 13:23:40 server2 mpd: [pptp100] link: reconnection attempt 1
Mar  3 13:23:40 server2 mpd: [pptp100] LCP: Down event
Mar  3 13:23:40 server2 mpd: [pptp100] LCP: state change Stopped --> Starting
Mar  3 13:23:40 server2 mpd: [pptp100] LCP: LayerStart
Mar  3 13:23:40 server2 mpd: [pptp100] pausing 6 seconds before open
Mar  3 13:23:40 server2 mpd: pptp0: killing connection with IP адрес 2405
Mar  3 13:23:46 server2 mpd: [pptp100] pptp originate option is not enabled
Mar  3 13:23:46 server2 mpd: [pptp100] link: DOWN event
Mar  3 13:23:46 server2 mpd: [pptp100] link: reconnection attempt 2
Mar  3 13:23:46 server2 mpd: [pptp100] LCP: Down event
Mar  3 13:23:46 server2 mpd: [pptp100] pausing 6 seconds before open
Mar  3 13:23:52 server2 mpd: [pptp100] pptp originate option is not enabled
Mar  3 13:23:52 server2 mpd: [pptp100] link: DOWN event
Mar  3 13:23:52 server2 mpd: [pptp100] link: reconnection attempt 3
Mar  3 13:23:52 server2 mpd: [pptp100] LCP: Down event
Mar  3 13:23:52 server2 mpd: [pptp100] pausing 6 seconds before open
Mar  3 13:23:58 server2 mpd: [pptp100] pptp originate option is not enabled
Mar  3 13:23:58 server2 mpd: [pptp100] link: DOWN event
Mar  3 13:23:58 server2 mpd: [pptp100] link: reconnection attempt 4
Mar  3 13:23:58 server2 mpd: [pptp100] LCP: Down event
Mar  3 13:23:58 server2 mpd: [pptp100] pausing 6 seconds before open
Mar  3 13:24:04 server2 mpd: [pptp100] pptp originate option is not enabled
Mar  3 13:24:04 server2 mpd: [pptp100] link: DOWN event
Mar  3 13:24:04 server2 mpd: [pptp100] link: reconnection attempt 5
Mar  3 13:24:04 server2 mpd: [pptp100] LCP: Down event
Mar  3 13:24:04 server2 mpd: [pptp100] pausing 5 seconds before open
Mar  3 13:24:09 server2 mpd: [pptp100] pptp originate option is not enabled
Mar  3 13:24:09 server2 mpd: [pptp100] link: DOWN event
Mar  3 13:24:09 server2 mpd: [pptp100] link: reconnection attempt 6
Mar  3 13:24:09 server2 mpd: [pptp100] LCP: Down event
Mar  3 13:24:09 server2 mpd: [pptp100] pausing 6 seconds before open
Mar  3 13:24:15 server2 mpd: [pptp100] pptp originate option is not enabled
Mar  3 13:24:15 server2 mpd: [pptp100] link: DOWN event
Mar  3 13:24:15 server2 mpd: [pptp100] link: reconnection attempt 7
Mar  3 13:24:15 server2 mpd: [pptp100] LCP: Down event
Mar  3 13:24:15 server2 mpd: [pptp100] pausing 5 seconds before open
Mar  3 13:24:20 server2 mpd: [pptp100] pptp originate option is not enabled
Mar  3 13:24:20 server2 mpd: [pptp100] link: DOWN event
Mar  3 13:24:20 server2 mpd: [pptp100] link: reconnection attempt 8
Mar  3 13:24:20 server2 mpd: [pptp100] LCP: Down event
Mar  3 13:24:20 server2 mpd: [pptp100] pausing 6 seconds before open
Mar  3 13:24:26 server2 mpd: [pptp100] pptp originate option is not enabled
Mar  3 13:24:26 server2 mpd: [pptp100] link: DOWN event
Mar  3 13:24:26 server2 mpd: [pptp100] link: reconnection attempt 9
Mar  3 13:24:26 server2 mpd: [pptp100] LCP: Down event
Mar  3 13:24:26 server2 mpd: [pptp100] pausing 6 seconds before open
Mar  3 13:24:32 server2 mpd: [pptp100] pptp originate option is not enabled
Mar  3 13:24:32 server2 mpd: [pptp100] link: DOWN event
Mar  3 13:24:32 server2 mpd: [pptp100] link: reconnection attempt 10
Mar  3 13:24:32 server2 mpd: [pptp100] LCP: Down event
Mar  3 13:24:32 server2 mpd: [pptp100] pausing 5 seconds before open
Mar  3 13:24:36 server2 mpd: caught fatal signal term
Mar  3 13:24:36 server2 mpd: [pptp100] IPCP: Close event
Mar  3 13:24:36 server2 mpd: [pptp100] IFACE: Close event
Mar  3 13:24:37 server2 mpd: [pptp100] pptp originate option is not enabled
Mar  3 13:24:37 server2 mpd: [pptp100] link: DOWN event
Mar  3 13:24:37 server2 mpd: [pptp100] link: reconnection attempt 11
Mar  3 13:24:37 server2 mpd: [pptp100] LCP: Down event
Mar  3 13:24:37 server2 mpd: [pptp100] pausing 5 seconds before open
Mar  3 13:24:38 server2 mpd: [pptp100] IPCP: Close event
Mar  3 13:24:38 server2 mpd: [pptp100] IFACE: Close event
Mar  3 13:24:38 server2 mpd: process 2511 terminated

несколько вопросов - что за цифирь такая странная 2405? это порт? но вроде как должен быть 1723
что интерфейс пытается сделать после неудачной попытки коннекта?
причем тут pptp0? он работает клиентом и соединен с другим серваком. вроде все впорядке в этом случае


Содержание

Сообщения в этом обсуждении
"настроить mpd4 pptp server+pptp client+pppoe server"
Отправлено universite , 04-Мрт-07 21:10 
>Задачка на одной машине поднять пптп клиента, пптп сервер и пппое сервер,

Вы версию OS так и не озвучили.


"настроить mpd4 pptp server+pptp client+pppoe server"
Отправлено Blood Angel , 04-Мрт-07 22:10 
>>Задачка на одной машине поднять пптп клиента, пптп сервер и пппое сервер,
>
>Вы версию OS так и не озвучили.

FreeBSD 6.2