1 (15-05-2018 14:53:41 отредактировано user0001)

Тема: FreeBSD: создание VPN-подключения с помощью mpd5

Доброго времени суток. В организации к инету подключаются через VPN-подключение из Windows. Одна единственная машина на которой FreeBSD. Как подключиться к инету. Уже неделю не могу сделать этого. Установил mpd5 с DVD диска. Данные для подключения:
Login: mylogin
Password: mypass
ip vpn: 192.168.0.254

Из под виндовс подключается только при не обязательном шифровании.

Я так понял нужно настоить файл mpd.conf.
Пробовал в разделе pptp_client. Прописал логин, пароль, ip VPN.
В терминале пишу mpd5 pptp_client.
Выходит вот это:
Password:
Multi-link PPP daemon for FreeBSD

process 659 started, version 5.8 (root@110i386-quarterly-job-14 05:40  2-Jul-201                                                                                                                                7)
CONSOLE: listening on 127.0.0.1 5005
web: listening on 0.0.0.0 5006
[B1] Bundle: Interface ng0 created
[L1] [L1] Link: OPEN event
[L1] LCP: Open event
[L1] LCP: state change Initial --> Starting
[L1] LCP: LayerStart
[L1] PPTP call successful
[L1] Link: UP event
[L1] LCP: Up event
[L1] LCP: state change Starting --> Req-Sent
[L1] LCP: SendConfigReq #1
[L1]   ACFCOMP
[L1]   PROTOCOMP
[L1]   ACCMAP 0x000a0000
[L1]   MRU 1500
[L1]   MAGICNUM 0x5d42b5ae
[L1] LCP: rec'd Configure Ack #1 (Req-Sent)
[L1]   ACFCOMP
[L1]   PROTOCOMP
[L1]   ACCMAP 0x000a0000
[L1]   MRU 1500
[L1]   MAGICNUM 0x5d42b5ae
[L1] LCP: state change Req-Sent --> Ack-Rcvd
[L1] LCP: state change Ack-Rcvd --> Req-Sent
[L1] LCP: SendConfigReq #2
[L1]   ACFCOMP
[L1]   PROTOCOMP
[L1]   ACCMAP 0x000a0000
[L1]   MRU 1500
[L1]   MAGICNUM 0x5d42b5ae
[L1] LCP: rec'd Configure Ack #2 (Req-Sent)
[L1]   ACFCOMP
[L1]   PROTOCOMP
[L1]   ACCMAP 0x000a0000
[L1]   MRU 1500
[L1]   MAGICNUM 0x5d42b5ae
[L1] LCP: state change Req-Sent --> Ack-Rcvd
[L1] LCP: rec'd Configure Request #1 (Ack-Rcvd)
[L1]   ACCMAP 0x00000000
[L1]   AUTHPROTO CHAP MSOFTv2
[L1]   MAGICNUM 0x9380b508
[L1]   PROTOCOMP
[L1]   ACFCOMP
[L1] LCP: SendConfigAck #1
[L1]   ACCMAP 0x00000000
[L1]   AUTHPROTO CHAP MSOFTv2
[L1]   MAGICNUM 0x9380b508
[L1]   PROTOCOMP
[L1]   ACFCOMP
[L1] LCP: state change Ack-Rcvd --> Opened
[L1] LCP: auth: peer wants CHAP, I want nothing
[L1] LCP: LayerUp
[L1] CHAP: rec'd CHALLENGE #140 len: 26
[L1]   Name: "pptpd"
[L1] CHAP: Using authname "oap-8"
[L1] CHAP: sending RESPONSE #140 len: 59
[L1] CHAP: rec'd SUCCESS #140 len: 46
[L1]   MESG: S=C65BF53BD34960981AFFFC99AB0A366AE34FEF38
[L1] LCP: authorization successful
[L1] Link: Matched action 'bundle "B1" ""'
[L1] Link: Join bundle "B1"
[B1] Bundle: Status update: up 1 link, total bandwidth 64000 bps
[B1] IPCP: Open event
[B1] IPCP: state change Initial --> Starting
[B1] IPCP: LayerStart
[B1] CCP: Open event
[B1] CCP: state change Initial --> Starting
[B1] CCP: LayerStart
[B1] IPCP: Up event
[B1] IPCP: state change Starting --> Req-Sent
[B1] IPCP: SendConfigReq #1
[B1]   IPADDR 0.0.0.0
[B1]   COMPPROTO VJCOMP, 16 comp. channels, no comp-cid
[B1] CCP: Up event
[B1] CCP: state change Starting --> Req-Sent
[B1] CCP: SendConfigReq #1
[B1]   MPPC
[B1]     0x01000040:MPPE(128 bits), stateless
[B1] CCP: rec'd Configure Request #1 (Req-Sent)
[B1]   DEFLATE
[B1]     0x7800: w:7, m:8, c:0
[B1]   DEFLATE24
[B1]     Not supported
[B1] CCP: SendConfigRej #1
[B1]   DEFLATE
[B1]     0x7800: w:7, m:8, c:0
[B1]   DEFLATE24
[B1] IPCP: rec'd Configure Request #1 (Req-Sent)
[B1]   COMPPROTO VJCOMP, 16 comp. channels, allow comp-cid
[B1]   IPADDR 192.168.222.1
[B1]     192.168.222.1 is OK
[B1] IPCP: SendConfigAck #1
[B1]   COMPPROTO VJCOMP, 16 comp. channels, allow comp-cid
[B1]   IPADDR 192.168.222.1
[B1] IPCP: state change Req-Sent --> Ack-Sent
[B1] IPCP: rec'd Configure Nak #1 (Ack-Sent)
[B1]   IPADDR 192.168.111.44
[B1]     192.168.111.44 is OK
[B1] IPCP: SendConfigReq #2
[B1]   IPADDR 192.168.111.44
[B1]   COMPPROTO VJCOMP, 16 comp. channels, no comp-cid
[B1] CCP: rec'd Configure Reject #1 (Req-Sent)
[B1]   MPPC
[B1]     0x01000040:MPPE(128 bits), stateless
[B1] CCP: SendConfigReq #2
[B1] CCP: rec'd Configure Request #2 (Req-Sent)
[B1] CCP: SendConfigAck #2
[B1] CCP: state change Req-Sent --> Ack-Sent
[B1] IPCP: rec'd Configure Ack #2 (Ack-Sent)
[B1]   IPADDR 192.168.111.44
[B1]   COMPPROTO VJCOMP, 16 comp. channels, no comp-cid
[B1] IPCP: state change Ack-Sent --> Opened
[B1] IPCP: LayerUp
[B1]   192.168.111.44 -> 192.168.222.1
[B1] IFACE: Add route 0.0.0.0/0 192.168.222.1 failed: File exists
[B1] IFACE: Up event
[B1] CCP: rec'd Configure Ack #2 (Ack-Sent)
[B1] CCP: state change Ack-Sent --> Opened
[B1] CCP: LayerUp
[B1] CCP: No compression negotiated
[B1] CCP: parameter negotiation failed
[B1] CCP: state change Opened --> Stopping
[B1] CCP: SendTerminateReq #3
[B1] CCP: LayerDown
[B1] CCP: rec'd Terminate Ack #3 (Stopping)
[B1] CCP: state change Stopping --> Stopped
[B1] CCP: LayerFinish


Не понимаю что вообще делать. И в правильном направлении я двигаюсь вообще.
Кто может помогите. Очень нужно.

2

Re: FreeBSD: создание VPN-подключения с помощью mpd5

А какой протокол то используется? Может вам OpenVPN клиент пойдет? Как то так https://forums.freebsd.org/threads/how- … ost-294109