Авторизация

Настройка L2TP / IPsec на Raspberry (Stretch)

Подробнее
5 года 6 мес. назад - 5 года 6 мес. назад #17 от admin
Так, подождите. Я же говорил пока выключить Ipsec - он пока только мешает.
Сейчас нужен только L2TP. Выключите ipsec и дайте знать о готовности - я запущу дамп еще раз.

если все заработало, то, пожалуйста, donate сюда - yoomoney.ru/to/410014618210530
Последнее редактирование: 5 года 6 мес. назад пользователем admin.

Пожалуйста Войти или Регистрация, чтобы присоединиться к беседе.

  • Ivanpost67
  • Автор темы
  • Не в сети
  • Пользователь заблокирован
  • Пользователь заблокирован
Подробнее
5 года 6 мес. назад #18 от Ivanpost67
Ivanpost67 ответил в теме Настройка L2TP / IPsec на Raspberry (Stretch)
Sep 24 16:50:48 ServerPI systemd[1]: Starting LSB: layer 2 tunelling protocol daemon...
Sep 24 16:50:48 ServerPI xl2tpd[1889]: setsockopt recvref[30]: Protocol not available
Sep 24 16:50:48 ServerPI xl2tpd[1889]: Using l2tp kernel support.
Sep 24 16:50:48 ServerPI xl2tpd[1885]: Starting xl2tpd: xl2tpd.
Sep 24 16:50:48 ServerPI xl2tpd[1890]: xl2tpd version xl2tpd-1.3.8 started on ServerPI PID:1890
Sep 24 16:50:48 ServerPI systemd[1]: Started LSB: layer 2 tunelling protocol daemon.
Sep 24 16:50:48 ServerPI xl2tpd[1890]: Written by Mark Spencer, Copyright (C) 1998, Adtran, Inc.
Sep 24 16:50:48 ServerPI xl2tpd[1890]: Forked by Scott Balmos and David Stipp, (C) 2001
Sep 24 16:50:48 ServerPI xl2tpd[1890]: Inherited by Jeff McAdams, (C) 2002
Sep 24 16:50:48 ServerPI xl2tpd[1890]: Forked again by Xelerance (www.xelerance.com) (C) 2006-2016
Sep 24 16:50:48 ServerPI xl2tpd[1890]: Listening on IP address 0.0.0.0, port 1701
Sep 24 16:51:49 ServerPI xl2tpd[1890]: Connecting to host msk.vpnki.ru, port 1701
Sep 24 16:51:49 ServerPI xl2tpd[1890]: Connection established to 193.232.49.4, 1701. Local: 37693, Remote: 23287 (ref=0/0).
Sep 24 16:51:49 ServerPI xl2tpd[1890]: Calling on tunnel 37693
Sep 24 16:51:49 ServerPI xl2tpd[1890]: Call established with 193.232.49.4, Local: 21962, Remote: 31537, Serial: 1 (ref=0/0)
Sep 24 16:51:49 ServerPI xl2tpd[1890]: start_pppd: I'm running:
Sep 24 16:51:49 ServerPI xl2tpd[1890]: "/usr/sbin/pppd"
Sep 24 16:51:49 ServerPI xl2tpd[1890]: "plugin"
Sep 24 16:51:49 ServerPI xl2tpd[1890]: "pppol2tp.so"
Sep 24 16:51:49 ServerPI xl2tpd[1890]: "pppol2tp"
Sep 24 16:51:49 ServerPI xl2tpd[1890]: "7"
Sep 24 16:51:49 ServerPI xl2tpd[1890]: "passive"
Sep 24 16:51:49 ServerPI xl2tpd[1890]: "nodetach"
Sep 24 16:51:49 ServerPI xl2tpd[1890]: ":"
Sep 24 16:51:49 ServerPI xl2tpd[1890]: "refuse-pap"
Sep 24 16:51:49 ServerPI xl2tpd[1890]: "auth"
Sep 24 16:51:49 ServerPI xl2tpd[1890]: "require-chap"
Sep 24 16:51:49 ServerPI xl2tpd[1890]: "name"
Sep 24 16:51:49 ServerPI xl2tpd[1890]: "user6260"
Sep 24 16:51:49 ServerPI xl2tpd[1890]: "debug"
Sep 24 16:51:49 ServerPI xl2tpd[1890]: "file"
Sep 24 16:51:49 ServerPI xl2tpd[1890]: "/etc/ppp/options.l2tpd.client"
Sep 24 16:51:49 ServerPI pppd[1911]: Plugin pppol2tp.so loaded.
Sep 24 16:51:49 ServerPI pppd[1911]: In file /etc/ppp/options.l2tpd.client: unrecognized option 'crtscts'
Sep 24 16:51:49 ServerPI xl2tpd[1890]: child_handler : pppd exited for call 31537 with code 2
Sep 24 16:51:49 ServerPI xl2tpd[1890]: call_close: Call 21962 to 193.232.49.4 disconnected
Sep 24 16:51:49 ServerPI xl2tpd[1890]: Terminating pppd: sending TERM signal to pid 1911
Sep 24 16:51:49 ServerPI xl2tpd[1890]: get_call: can't find call 21962 in tunnel 37693#012 (ref=0/0)
Sep 24 16:51:49 ServerPI xl2tpd[1890]: get_call: can't find call 21962 in tunnel 37693#012 (ref=0/0)
Sep 24 16:51:52 ServerPI xl2tpd[1890]: get_call: can't find call 21962 in tunnel 37693#012 (ref=0/0)
Sep 24 16:52:17 ServerPI xrdp[491]: (491)(1995489888)[INFO ] A connection received from: ::ffff:189.76.192.102 port 54110
Sep 24 16:52:18 ServerPI xrdp[491]: (491)(1995489888)[DEBUG] Closed socket 12 (AF_INET6 ::ffff:192.168.1.104 port 3389)
Sep 24 16:52:18 ServerPI xrdp[1913]: (1913)(1995489888)[DEBUG] Closed socket 11 (AF_INET6 :: port 3389)
Sep 24 16:52:18 ServerPI xrdp[1913]: (1913)(1995489888)[INFO ] Using default X.509 certificate: /etc/xrdp/cert.pem
Sep 24 16:52:18 ServerPI xrdp[1913]: (1913)(1995489888)[INFO ] Using default X.509 key file: /etc/xrdp/key.pem
Sep 24 16:52:18 ServerPI xrdp[1913]: (1913)(1995489888)[DEBUG] Security layer: requested 3, selected 0
Sep 24 16:52:18 ServerPI xrdp[1913]: (1913)(1995489888)[DEBUG] Closed socket 12 (AF_INET6 ::ffff:192.168.1.104 port 3389)
Sep 24 16:52:18 ServerPI xrdp[1913]: (1913)(1995489888)[ERROR] Listening socket is in wrong state, terminating listener
Sep 24 16:52:20 ServerPI xrdp[491]: (491)(1995489888)[INFO ] A connection received from: ::ffff:78.30.214.95 port 55086
Sep 24 16:52:20 ServerPI xrdp[491]: (491)(1995489888)[DEBUG] Closed socket 12 (AF_INET6 ::ffff:192.168.1.104 port 3389)
Sep 24 16:52:20 ServerPI xrdp[1914]: (1914)(1995489888)[DEBUG] Closed socket 11 (AF_INET6 :: port 3389)
Sep 24 16:52:20 ServerPI xrdp[1914]: (1914)(1995489888)[INFO ] Using default X.509 certificate: /etc/xrdp/cert.pem
Sep 24 16:52:20 ServerPI xrdp[1914]: (1914)(1995489888)[INFO ] Using default X.509 key file: /etc/xrdp/key.pem
Sep 24 16:52:20 ServerPI xrdp[1914]: (1914)(1995489888)[DEBUG] Security layer: requested 3, selected 0
Sep 24 16:52:20 ServerPI xrdp[1914]: (1914)(1995489888)[DEBUG] Closed socket 12 (AF_INET6 ::ffff:192.168.1.104 port 3389)
Sep 24 16:52:20 ServerPI xrdp[1914]: (1914)(1995489888)[ERROR] Listening socket is in wrong state, terminating listener

Пожалуйста Войти или Регистрация, чтобы присоединиться к беседе.

Подробнее
5 года 6 мес. назад #19 от admin
Это уже интереснее.
Он ругается на строку crtscts в файле -
Sep 24 16:51:49 ServerPI pppd[1911]: In file /etc/ppp/options.l2tpd.client: unrecognized option 'crtscts'
Если она есть, то попробуйте ее закомментить и попробвать еще раз

если все заработало, то, пожалуйста, donate сюда - yoomoney.ru/to/410014618210530

Пожалуйста Войти или Регистрация, чтобы присоединиться к беседе.

  • Ivanpost67
  • Автор темы
  • Не в сети
  • Пользователь заблокирован
  • Пользователь заблокирован
Подробнее
5 года 6 мес. назад #20 от Ivanpost67
Ivanpost67 ответил в теме Настройка L2TP / IPsec на Raspberry (Stretch)
Sep 24 17:08:13 ServerPI systemd[1]: Stopping LSB: layer 2 tunelling protocol daemon...
Sep 24 17:08:13 ServerPI xl2tpd[1890]: death_handler: Fatal signal 15 received
Sep 24 17:08:13 ServerPI xl2tpd[1890]: Connection 23287 closed to 193.232.49.4, port 1701 (Server closing)
Sep 24 17:08:13 ServerPI xl2tpd[2099]: Stopping xl2tpd: xl2tpd.
Sep 24 17:08:13 ServerPI systemd[1]: Stopped LSB: layer 2 tunelling protocol daemon.
Sep 24 17:08:13 ServerPI systemd[1]: Starting LSB: layer 2 tunelling protocol daemon...
Sep 24 17:08:13 ServerPI xl2tpd[2110]: setsockopt recvref[30]: Protocol not available
Sep 24 17:08:13 ServerPI xl2tpd[2110]: Using l2tp kernel support.
Sep 24 17:08:13 ServerPI xl2tpd[2106]: Starting xl2tpd: xl2tpd.
Sep 24 17:08:13 ServerPI xl2tpd[2111]: xl2tpd version xl2tpd-1.3.8 started on ServerPI PID:2111
Sep 24 17:08:13 ServerPI systemd[1]: Started LSB: layer 2 tunelling protocol daemon.
Sep 24 17:08:13 ServerPI xl2tpd[2111]: Written by Mark Spencer, Copyright (C) 1998, Adtran, Inc.
Sep 24 17:08:13 ServerPI xl2tpd[2111]: Forked by Scott Balmos and David Stipp, (C) 2001
Sep 24 17:08:13 ServerPI xl2tpd[2111]: Inherited by Jeff McAdams, (C) 2002
Sep 24 17:08:13 ServerPI xl2tpd[2111]: Forked again by Xelerance (www.xelerance.com) (C) 2006-2016
Sep 24 17:08:13 ServerPI xl2tpd[2111]: Listening on IP address 0.0.0.0, port 1701
Sep 24 17:09:01 ServerPI CRON[2122]: (root) CMD ( [ -x /usr/lib/php/sessionclean ] && if [ ! -d /run/systemd/system ]; then /usr/lib/php/sessionclean; fi)
Sep 24 17:09:06 ServerPI systemd[1]: Starting Clean php session files...
Sep 24 17:09:06 ServerPI systemd[1]: Started Clean php session files.
Sep 24 17:09:45 ServerPI xl2tpd[2111]: Connecting to host msk.vpnki.ru, port 1701
Sep 24 17:10:16 ServerPI xl2tpd[2111]: Maximum retries exceeded for tunnel 35267. Closing.
Sep 24 17:10:16 ServerPI xl2tpd[2111]: Connection 0 closed to 193.232.49.4, port 1701 (Timeout)
Sep 24 17:10:47 ServerPI xl2tpd[2111]: Unable to deliver closing message for tunnel 35267. Destroying anyway.

Пожалуйста Войти или Регистрация, чтобы присоединиться к беседе.

Подробнее
5 года 6 мес. назад #21 от admin
Sep 24 17:09:45 ServerPI xl2tpd[2111]: Connecting to host msk.vpnki.ru, port 1701
Sep 24 17:10:16 ServerPI xl2tpd[2111]: Maximum retries exceeded for tunnel 35267. Closing.
Он говорит, что не смог достучаться до сервера по порту 1701 в течение 30 секунд...
Это странно.
Я включил tcpdump на сервере. Запустите еще разок - посмотрим дойдет ли что-то до сервера

если все заработало, то, пожалуйста, donate сюда - yoomoney.ru/to/410014618210530

Пожалуйста Войти или Регистрация, чтобы присоединиться к беседе.

  • Ivanpost67
  • Автор темы
  • Не в сети
  • Пользователь заблокирован
  • Пользователь заблокирован
Подробнее
5 года 6 мес. назад #22 от Ivanpost67
Ivanpost67 ответил в теме Настройка L2TP / IPsec на Raspberry (Stretch)
Sep 24 17:31:24 ServerPI systemd[1]: Stopping LSB: layer 2 tunelling protocol daemon...
Sep 24 17:31:24 ServerPI xl2tpd[2111]: death_handler: Fatal signal 15 received
Sep 24 17:31:24 ServerPI xl2tpd[2276]: Stopping xl2tpd: xl2tpd.
Sep 24 17:31:24 ServerPI systemd[1]: Stopped LSB: layer 2 tunelling protocol daemon.
Sep 24 17:31:24 ServerPI systemd[1]: Starting LSB: layer 2 tunelling protocol daemon...
Sep 24 17:31:24 ServerPI xl2tpd[2287]: setsockopt recvref[30]: Protocol not available
Sep 24 17:31:24 ServerPI xl2tpd[2287]: Using l2tp kernel support.
Sep 24 17:31:24 ServerPI xl2tpd[2283]: Starting xl2tpd: xl2tpd.
Sep 24 17:31:24 ServerPI xl2tpd[2288]: xl2tpd version xl2tpd-1.3.8 started on ServerPI PID:2288
Sep 24 17:31:24 ServerPI systemd[1]: Started LSB: layer 2 tunelling protocol daemon.
Sep 24 17:31:24 ServerPI xl2tpd[2288]: Written by Mark Spencer, Copyright (C) 1998, Adtran, Inc.
Sep 24 17:31:24 ServerPI xl2tpd[2288]: Forked by Scott Balmos and David Stipp, (C) 2001
Sep 24 17:31:24 ServerPI xl2tpd[2288]: Inherited by Jeff McAdams, (C) 2002
Sep 24 17:31:24 ServerPI xl2tpd[2288]: Forked again by Xelerance (www.xelerance.com) (C) 2006-2016
Sep 24 17:31:24 ServerPI xl2tpd[2288]: Listening on IP address 0.0.0.0, port 1701
Sep 24 17:31:35 ServerPI xl2tpd[2288]: Connecting to host msk.vpnki.ru, port 1701
Sep 24 17:32:03 ServerPI systemd[1]: Started Session c12 of user pi.
Sep 24 17:32:06 ServerPI xl2tpd[2288]: Maximum retries exceeded for tunnel 28972. Closing.
Sep 24 17:32:06 ServerPI xl2tpd[2288]: Connection 0 closed to 193.232.49.4, port 1701 (Timeout)
Sep 24 17:32:37 ServerPI xl2tpd[2288]: Unable to deliver closing message for tunnel 28972. Destroying anyway.

Пожалуйста Войти или Регистрация, чтобы присоединиться к беседе.

Время создания страницы: 0.110 секунд