Есть конфиг /etc/ppp/peers/myvpn:
pty "pptp myvpn.myserver.ru --nolaunchpppd"
remotename myvpn
name iskatel
hide-password
maxfail 99
noauth
persist
lock
nobsdcomp
nodeflate
По команде «sudo pppd call myvpn» соединение не происходит.
Содержимое логов:
[iskatel@lenovo /]$ journalctl -x -b 0 --no-pager -t pptp
-- Logs begin at Пн 2016-06-06 17:34:59 MSK, end at Сб 2016-08-20 15:28:34 MSK. --
авг 20 15:18:44 lenovo pptp[3158]: anon log[main:pptp.c:333]: The synchronous pptp option is NOT activated
авг 20 15:18:44 lenovo pptp[3165]: anon log[ctrlp_rep:pptp_ctrl.c:258]: Sent control packet type is 1 'Start-Control-Connection-Request'
авг 20 15:18:44 lenovo pptp[3165]: anon log[ctrlp_disp:pptp_ctrl.c:758]: Received Start Control Connection Reply
авг 20 15:18:44 lenovo pptp[3165]: anon log[ctrlp_disp:pptp_ctrl.c:792]: Client connection established.
авг 20 15:18:45 lenovo pptp[3165]: anon log[ctrlp_rep:pptp_ctrl.c:258]: Sent control packet type is 7 'Outgoing-Call-Request'
авг 20 15:18:45 lenovo pptp[3165]: anon log[ctrlp_disp:pptp_ctrl.c:877]: Received Outgoing Call Reply.
авг 20 15:18:45 lenovo pptp[3165]: anon log[ctrlp_disp:pptp_ctrl.c:916]: Outgoing call established (call ID 0, peer's call ID 43904).
авг 20 15:18:46 lenovo pptp[3165]: anon log[pptp_read_some:pptp_ctrl.c:563]: read returned zero, peer has closed
авг 20 15:18:46 lenovo pptp[3165]: anon log[callmgr_main:pptp_callmgr.c:269]: Closing connection (shutdown)
авг 20 15:18:46 lenovo pptp[3165]: anon log[ctrlp_rep:pptp_ctrl.c:258]: Sent control packet type is 12 'Call-Clear-Request'
авг 20 15:18:46 lenovo pptp[3165]: anon log[pptp_read_some:pptp_ctrl.c:563]: read returned zero, peer has closed
авг 20 15:18:46 lenovo pptp[3165]: anon log[call_callback:pptp_callmgr.c:84]: Closing connection (call state)
[iskatel@lenovo /]$ journalctl -x -b 0 --no-pager -t pppd
-- Logs begin at Пн 2016-06-06 17:34:59 MSK, end at Сб 2016-08-20 15:22:20 MSK. --
авг 20 15:16:28 lenovo pppd[1926]: pppd 2.4.7 started by iskatel, uid 0
авг 20 15:18:44 lenovo pppd[1926]: Using interface ppp0
авг 20 15:18:44 lenovo pppd[1926]: Connect: ppp0 <--> /dev/pts/1
авг 20 15:18:46 lenovo pppd[1926]: CHAP authentication succeeded
авг 20 15:18:46 lenovo pppd[1926]: LCP terminated by peer (MPPE required but peer refused)
авг 20 15:18:46 lenovo pppd[1926]: Modem hangup
авг 20 15:18:46 lenovo pppd[1926]: Connection terminated.
авг 20 15:18:46 lenovo pppd[1926]: Exit.