nixp.ru v3.0

19 апреля 2024,
пятница,
18:47:35 MSK

neogeisha написала 15 декабря 2008 года в 02:57 (1655 просмотров) Ведет себя как женщина; открыла 53 темы в форуме, оставила 266 комментариев на сайте.

Не могу подключится к VPN Server’y

В чем проблемы?

mppc-1.0.tgz

в ядро добавила

options       NETGRAPH
options       NETGRAPH_PPP
options       NETGRAPH_PPTPGRE
options           NETGRAPH_ETHER                  
options           NETGRAPH_SOCKET              
options           NETGRAPH_TEE  
options       NETGRAPH_MPPC_ENCRYPTION
options       NETGRAPH_MPPC_COMPRESSION

mpd.conf

startup:
        set user foo bar admin
        set user foo1 bar1
        set console self 127.0.0.1 5005
        set console open
        set web self 0.0.0.0 5006
        set web open
default:
        load pptp_server
pptp_server:
        set ippool add pool1 192.168.2.50 192.168.2.99
        create bundle template B
        set iface enable proxy-arp
        set iface idle 1800
        set iface enable tcpmssfix
        set ipcp yes vjcomp
        set ipcp ranges 192.168.2.0/24 ippool pool1
        set bundle enable compression
        set bundle enable encryption
        set bundle enable crypt-reqd
        set ccp yes mppc
        set mppc yes e40
        set mppc yes e128
        set mppc yes stateless
        create link template L pptp
        set link action bundle B
        set link enable multilink
        set link yes acfcomp protocomp
        set link no pap chap
        set link enable chap
        set link keep-alive 10 60
        set link mtu 1460
        set pptp self 192.168.2.20
        set link enable incoming

log

Dec 15 03:13:10 free mpd: [B-1] IPCP: SendConfigReq #2
Dec 15 03:13:10 free mpd: [B-1]   IPADDR 192.168.2.0
Dec 15 03:13:10 free mpd: [B-1] CCP: rec'd Configure Nak #1 (Req-Sent)
Dec 15 03:13:10 free mpd: [B-1]   MPPC
Dec 15 03:13:10 free mpd: [B-1]     0x01000040:MPPE(128 bits), stateless
Dec 15 03:13:10 free mpd: [B-1] CCP: SendConfigReq #2
Dec 15 03:13:10 free mpd: [B-1]   MPPC
Dec 15 03:13:10 free mpd: [B-1]     0x01000040:MPPE(128 bits), stateless
Dec 15 03:13:10 free mpd: [L-1] LCP: rec'd Protocol Reject #6 (Opened)
Dec 15 03:13:10 free mpd: [L-1] LCP: protocol ECP was rejected
Dec 15 03:13:10 free mpd: [B-1] ECP: protocol was rejected by peer
Dec 15 03:13:10 free mpd: [B-1] IPCP: failed to negotiate required encryption
Dec 15 03:13:10 free mpd: [B-1] IPCP: state change Req-Sent --> Stopped
Dec 15 03:13:10 free mpd: [B-1] IPCP: LayerFinish
Dec 15 03:13:10 free mpd: [B-1] Bundle: No NCPs left. Closing links...
Dec 15 03:13:10 free mpd: [B-1] Bundle: closing link "L-1"...
Dec 15 03:13:10 free mpd: [B-1] IPV6CP: failed to negotiate required encryption
Dec 15 03:13:10 free mpd: [B-1] ECP: state change Req-Sent --> Stopped
Dec 15 03:13:10 free mpd: [B-1] ECP: LayerFinish
Dec 15 03:13:10 free mpd: [L-1] Link: CLOSE event
Dec 15 03:13:10 free mpd: [L-1] LCP: Close event
Dec 15 03:13:10 free mpd: [L-1] LCP: state change Opened --> Closing
Dec 15 03:13:10 free mpd: [L-1] Link: Leave bundle "B-1"
Dec 15 03:13:10 free mpd: [B-1] Bundle: Status update: up 0 links, total bandwidth 9600 bps
Heavy

>IPCP: failed to negotiate required encryption

Может настройки шифрования соединения не совпадают с теми, что пров хочет?

splinter
Dec 15 03:13:10 free mpd: [B-1] IPV6CP: failed to negotiate required encryption


пишет же что метод шифрования не тот.

neogeisha

ну вроде chap-2 завелся

а как щас mppc прикрутить?

neogeisha

все так же

Dec 15 21:45:40 free mpd: option "mpp-e128" unknown
Dec 15 21:45:40 free mpd: option "mpp-e128" unknown
Dec 15 21:45:40 free mpd: option "mpp-stateless" unknown
Dec 15 21:45:40 free mpd: option "mpp-stateless" unknown
Dec 15 21:45:40 free mpd: option "mpp-compress" unknown
Dec 15 21:45:40 free mpd: option "mpp-compress" unknown
neogeisha

вобщем на mpd5 u mpd3

не получилось заставить работать mppc

а вот на mpd4 заработало и без ошибок,

надо будет тока на стабилность проверить

neogeisha

всем спасибо, все заработало на Mpd5

andrewmanson

А на конфиги-то можно посмотреть ? Сам над подобным сижу уже пару дней…

Последние комментарии

ecobeingecobeing.ru
Экология и вегетарианство на благо всем живым существам Планеты.