LINUX.ORG.RU

vpn соединение

 ,


0

1

Привет.

Есть на работе защищённый vpn, я создал учётную запись и заполнил всё. Но NM не конектится.

<info>  VPN connection 'VPN 2' (Connect) reply received.
Jun 01 16:20:12 localhost.localdomain pppd[5188]: Plugin /usr/lib64/pppd/2.4.7/nm-pptp-pppd-plugin.so loaded.
Jun 01 16:20:12 localhost.localdomain NetworkManager[4903]: Plugin /usr/lib64/pppd/2.4.7/nm-pptp-pppd-plugin.so loaded.
Jun 01 16:20:12 localhost.localdomain NetworkManager[4903]: ** Message: nm-pptp-ppp-plugin: (plugin_init): initializing
Jun 01 16:20:12 localhost.localdomain pppd[5188]: pppd 2.4.7 started by root, uid 0
Jun 01 16:20:12 localhost.localdomain NetworkManager[4903]: ** Message: nm-pptp-ppp-plugin: (nm_phasechange): status 3 / phase 'serial connection'
Jun 01 16:20:12 localhost.localdomain pppd[5188]: Using interface ppp0
Jun 01 16:20:12 localhost.localdomain pppd[5188]: Connect: ppp0 <--> /dev/pts/2
Jun 01 16:20:12 localhost.localdomain NetworkManager[4903]: Using interface ppp0
Jun 01 16:20:12 localhost.localdomain NetworkManager[4903]: Connect: ppp0 <--> /dev/pts/2
Jun 01 16:20:12 localhost.localdomain NetworkManager[4903]: ** Message: nm-pptp-ppp-plugin: (nm_phasechange): status 5 / phase 'establish'
Jun 01 16:20:12 localhost.localdomain pptp[5190]: nm-pptp-service-5186 log[main:pptp.c:333]: The synchronous pptp option is NOT activated
Jun 01 16:20:12 localhost.localdomain NetworkManager[4903]: <info>  (ppp0): new Generic device (driver: 'unknown' ifindex: 8)
Jun 01 16:20:12 localhost.localdomain NetworkManager[4903]: <info>  (ppp0): exported as /org/freedesktop/NetworkManager/Devices/3
Jun 01 16:20:12 localhost.localdomain pptp[5197]: nm-pptp-service-5186 log[ctrlp_rep:pptp_ctrl.c:258]: Sent control packet type is 1 'Start-Control-Connection-Request'
Jun 01 16:20:12 localhost.localdomain pptp[5197]: nm-pptp-service-5186 log[ctrlp_disp:pptp_ctrl.c:758]: Received Start Control Connection Reply
Jun 01 16:20:12 localhost.localdomain pptp[5197]: nm-pptp-service-5186 log[ctrlp_disp:pptp_ctrl.c:792]: Client connection established.
Jun 01 16:20:13 localhost.localdomain pptp[5197]: nm-pptp-service-5186 log[ctrlp_rep:pptp_ctrl.c:258]: Sent control packet type is 7 'Outgoing-Call-Request'
Jun 01 16:20:13 localhost.localdomain pptp[5197]: nm-pptp-service-5186 log[ctrlp_disp:pptp_ctrl.c:877]: Received Outgoing Call Reply.
Jun 01 16:20:13 localhost.localdomain pptp[5197]: nm-pptp-service-5186 log[ctrlp_disp:pptp_ctrl.c:916]: Outgoing call established (call ID 0, peer's call ID 19239).
Jun 01 16:20:13 localhost.localdomain NetworkManager[4903]: ** Message: nm-pptp-ppp-plugin: (nm_phasechange): status 6 / phase 'authenticate'
Jun 01 16:20:13 localhost.localdomain NetworkManager[4903]: ** Message: nm-pptp-ppp-plugin: (get_credentials): passwd-hook, requesting credentials...
Jun 01 16:20:13 localhost.localdomain pptp[5197]: nm-pptp-service-5186 log[ctrlp_disp:pptp_ctrl.c:982]: PPTP_SET_LINK_INFO received from peer_callid 0
Jun 01 16:20:13 localhost.localdomain pptp[5197]: nm-pptp-service-5186 log[ctrlp_disp:pptp_ctrl.c:985]:   send_accm is 00000000, recv_accm is FFFFFFFF
Jun 01 16:20:13 localhost.localdomain pptp[5197]: nm-pptp-service-5186 warn[ctrlp_disp:pptp_ctrl.c:988]: Non-zero Async Control Character Maps are not supported!
Jun 01 16:20:13 localhost.localdomain NetworkManager[4903]: ** Message: nm-pptp-ppp-plugin: (get_credentials): got credentials from NetworkManager-pptp
Jun 01 16:20:13 localhost.localdomain pppd[5188]: CHAP authentication succeeded
Jun 01 16:20:13 localhost.localdomain NetworkManager[4903]: CHAP authentication succeeded
Jun 01 16:20:13 localhost.localdomain NetworkManager[4903]: ** Message: nm-pptp-ppp-plugin: (nm_phasechange): status 8 / phase 'network'
Jun 01 16:20:13 localhost.localdomain pppd[5188]: MPPE 128-bit stateless compression enabled
Jun 01 16:20:13 localhost.localdomain NetworkManager[4903]: MPPE 128-bit stateless compression enabled
Jun 01 16:20:14 localhost.localdomain pppd[5188]: local  IP address 172.*.*.*
Jun 01 16:20:14 localhost.localdomain pppd[5188]: remote IP address 172.*.*.*
Jun 01 16:20:14 localhost.localdomain pppd[5188]: primary   DNS address 172.*.*.*
Jun 01 16:20:14 localhost.localdomain NetworkManager[4903]: <info>  VPN connection 'VPN 2' (IP4 Config Get) reply received from old-style plugin.
Jun 01 16:20:14 localhost.localdomain NetworkManager[4903]: <info>  VPN Gateway: 37.157.0.7
Jun 01 16:20:14 localhost.localdomain NetworkManager[4903]: <info>  Tunnel Device: ppp0
Jun 01 16:20:14 localhost.localdomain NetworkManager[4903]: <info>  IPv4 configuration:
Jun 01 16:20:14 localhost.localdomain NetworkManager[4903]: <info>    Internal Address: 172.*.*.*
Jun 01 16:20:14 localhost.localdomain NetworkManager[4903]: <info>    Internal Prefix: 32
Jun 01 16:20:14 localhost.localdomain NetworkManager[4903]: <info>    Internal Point-to-Point Address: 172.*.*.*
Jun 01 16:20:14 localhost.localdomain NetworkManager[4903]: <info>    Maximum Segment Size (MSS): 0
Jun 01 16:20:14 localhost.localdomain NetworkManager[4903]: <info>    Static Route: 172.*.*.0/8   Next Hop: 172.*.*.*
Jun 01 16:20:14 localhost.localdomain NetworkManager[4903]: <info>    Static Route: 192.*.*.0/16   Next Hop: 172.*.*.*
Jun 01 16:20:14 localhost.localdomain NetworkManager[4903]: <info>    Static Route: 10.*.*.0/7   Next Hop: 172.*.*.*
Jun 01 16:20:14 localhost.localdomain NetworkManager[4903]: <info>    Forbid Default Route: no
Jun 01 16:20:14 localhost.localdomain NetworkManager[4903]: <info>    Internal DNS: 172.*.*.*
Jun 01 16:20:14 localhost.localdomain NetworkManager[4903]: <info>    Internal DNS: 10.0.8.4
Jun 01 16:20:14 localhost.localdomain NetworkManager[4903]: <info>    DNS Domain: '(none)'
Jun 01 16:20:14 localhost.localdomain NetworkManager[4903]: <info>  No IPv6 configuration
Jun 01 16:20:14 localhost.localdomain NetworkManager[4903]: <error> [1433164814.666054] [platform/nm-linux-platform.c:1790] add_object(): Netlink error adding 172.0.0.0/8 via 172.*.*.1 dev ppp0 metric 50 mss 0 src user: Unspecific failure
Jun 01 16:20:14 localhost.localdomain NetworkManager[4903]: <warn>  VPN connection 'VPN 2' did not receive valid IP config information.
Jun 01 16:20:14 localhost.localdomain NetworkManager[4903]: local  IP address 172.*.*.*
Jun 01 16:20:14 localhost.localdomain NetworkManager[4903]: remote IP address 172.*.*.*
Jun 01 16:20:14 localhost.localdomain NetworkManager[4903]: primary   DNS address 172.*.*.*
Jun 01 16:20:14 localhost.localdomain NetworkManager[4903]: ** Message: nm-pptp-ppp-plugin: (nm_phasechange): status 9 / phase 'running'
Jun 01 16:20:14 localhost.localdomain NetworkManager[4903]: ** Message: nm-pptp-ppp-plugin: (nm_ip_up): ip-up event
Jun 01 16:20:14 localhost.localdomain NetworkManager[4903]: ** Message: nm-pptp-ppp-plugin: (nm_ip_up): sending Ip4Config to NetworkManager-pptp...
Jun 01 16:20:14 localhost.localdomain pppd[5188]: Terminating on signal 15
Jun 01 16:20:14 localhost.localdomain pppd[5188]: Modem hangup
Jun 01 16:20:14 localhost.localdomain pppd[5188]: Connect time 0.0 minutes.
Jun 01 16:20:14 localhost.localdomain pppd[5188]: Sent 0 bytes, received 0 bytes.
Jun 01 16:20:14 localhost.localdomain NetworkManager[4903]: ** Message: PPTP service (IP Config Get) reply received.
Jun 01 16:20:14 localhost.localdomain NetworkManager[4903]: ** Message: Terminated ppp daemon with PID 5188.
Jun 01 16:20:14 localhost.localdomain NetworkManager[4903]: Terminating on signal 15
Jun 01 16:20:14 localhost.localdomain NetworkManager[4903]: Modem hangup
Jun 01 16:20:14 localhost.localdomain NetworkManager[4903]: ** Message: nm-pptp-ppp-plugin: (nm_phasechange): status 8 / phase 'network'
Jun 01 16:20:14 localhost.localdomain NetworkManager[4903]: Connect time 0.0 minutes.
Jun 01 16:20:14 localhost.localdomain NetworkManager[4903]: Sent 0 bytes, received 0 bytes.
Jun 01 16:20:14 localhost.localdomain pppd[5188]: MPPE disabled
Jun 01 16:20:14 localhost.localdomain pppd[5188]: Connection terminated.
Jun 01 16:20:14 localhost.localdomain NetworkManager[4903]: MPPE disabled
Jun 01 16:20:14 localhost.localdomain NetworkManager[4903]: ** Message: nm-pptp-ppp-plugin: (nm_phasechange): status 10 / phase 'terminate'
Jun 01 16:20:14 localhost.localdomain NetworkManager[4903]: ** Message: nm-pptp-ppp-plugin: (nm_phasechange): status 5 / phase 'establish'
Jun 01 16:20:14 localhost.localdomain NetworkManager[4903]: ** Message: nm-pptp-ppp-plugin: (nm_phasechange): status 5 / phase 'establish'
Jun 01 16:20:14 localhost.localdomain NetworkManager[4903]: ** Message: nm-pptp-ppp-plugin: (nm_phasechange): status 11 / phase 'disconnect'
Jun 01 16:20:14 localhost.localdomain NetworkManager[4903]: Connection terminated.
Jun 01 16:20:14 localhost.localdomain NetworkManager[4903]: <error> [1433164814.677853] [platform/nm-linux-platform.c:1861] delete_object(): Netlink error deleting 172.*.*.*/32 lft forever pref forever lifetime 10-0[4294967295,4294967295] ptp 172.*.*.* dev ppp0 src kernel: No such device (-31)
Jun 01 16:20:14 localhost.localdomain NetworkManager[4903]: ** Message: nm-pptp-ppp-plugin: (nm_phasechange): status 1 / phase 'dead'
Jun 01 16:20:14 localhost.localdomain NetworkManager[4903]: ** Message: nm-pptp-ppp-plugin: (nm_exit_notify): cleaning up
Jun 01 16:20:14 localhost.localdomain pppd[5188]: Exit.
Jun 01 16:20:14 localhost.localdomain NetworkManager[4903]: ** (nm-pptp-service:5186): WARNING **: pppd exited with error code 16
Jun 01 16:20:34 localhost.localdomain NetworkManager[4903]: <info>  VPN service 'pptp' disappeared
Jun 01 16:20:39 localhost.localdomain NetworkManager[4903]: <info>  (wlp3s0): Activation: Stage 4 of 5 (IPv6 Configure Timeout) scheduled...
Jun 01 16:20:39 localhost.localdomain NetworkManager[4903]: <info>  (wlp3s0): Activation: Stage 4 of 5 (IPv6 Configure Timeout) started...
Jun 01 16:20:39 localhost.localdomain NetworkManager[4903]: <info>  (wlp3s0): Activation: Stage 4 of 5 (IPv6 Configure Timeout) complete.

Система, федора 22.

спасибо


Ответ на: комментарий от mc123

Был такой баг когда то, что если указать роуты вручную, то vpn профиль не коннектился, видимо не пофиксили

По сабжу - скорее всего придется убрать роуты, если конфигурация позволяет, либо используй openvpn

Deleted ()
Ответ на: комментарий от tiandrey

Мне кажется, всё же не openvpn, а pptp.

мне тоже :)

Deleted ()

были похожие баги на микротике. так там пароли не сохранялись в pptp & openvpn . приходилось ручками перебивать заново. проверьте заново конфиги и пароли

yoZz ()
Вы не можете добавлять комментарии в эту тему. Тема перемещена в архив.