* Re: [Comm] [Desktop] pptp через pptp как сделать пошагово? @ 2008-05-28 19:54 ` Michael Shigorin 2008-05-28 20:13 ` Michael A. Kangin 2008-05-29 2:44 ` Ilis 0 siblings, 2 replies; 38+ messages in thread From: Michael Shigorin @ 2008-05-28 19:54 UTC (permalink / raw) To: ALT Linux Desktop development; +Cc: community On Thu, May 29, 2008 at 12:07:54AM +0600, Ilis wrote: > Сейчас доступ в инет организован через pptp (ppp0 на eth0), > настроены автоматически, с забитым паролем. > > Необходимо для доступа к корпоративной сети настроить VPN на > pptp. Он должен быть сеансовый, с запуском и вводом пароля > вручную. Как это сделать? kvpnc? PS: community@ -- ---- WBR, Michael Shigorin <mike@altlinux.ru> ------ Linux.Kiev http://www.linux.kiev.ua/ ^ permalink raw reply [flat|nested] 38+ messages in thread
* Re: [Comm] [Desktop] pptp через pptp как сделать пошагово? 2008-05-28 19:54 ` [Comm] [Desktop] pptp через pptp как сделать пошагово? Michael Shigorin @ 2008-05-28 20:13 ` Michael A. Kangin 2008-05-29 2:44 ` Ilis 1 sibling, 0 replies; 38+ messages in thread From: Michael A. Kangin @ 2008-05-28 20:13 UTC (permalink / raw) To: ALT Linux Desktop development, community On 28 мая 2008 Michael Shigorin wrote: > > Необходимо для доступа к корпоративной сети настроить VPN на > > pptp. Он должен быть сеансовый, с запуском и вводом пароля > > вручную. Как это сделать? На эту тему у меня сейчас сделано pptp с аутентификацией по SSL-ключам. А ключик - на encfs-разделе. Ну и скрыптик, который открывает encfs (с вводом пароля) и делает ifup ppp0. > kvpnc? > > PS: community@ -- wbr, Michael A. Kangin OIOS, RSMU ^ permalink raw reply [flat|nested] 38+ messages in thread
* Re: [Comm] [Desktop] pptp через pptp как сделать пошагово? 2008-05-28 19:54 ` [Comm] [Desktop] pptp через pptp как сделать пошагово? Michael Shigorin 2008-05-28 20:13 ` Michael A. Kangin @ 2008-05-29 2:44 ` Ilis 2008-05-29 9:21 ` Michael Shigorin 1 sibling, 1 reply; 38+ messages in thread From: Ilis @ 2008-05-29 2:44 UTC (permalink / raw) To: community, ALT Linux Desktop development 29 мая 2008 г. 1:54 пользователь Michael Shigorin <mike@osdn.org.ua> написал: > kvpnc? > Ничего не понял :( Поиском по "pptp over pptp" находятся только всякие ошибки. Как делать -- найти не смог. А хотелось бы увидеть как сделать, и сделать именно в Альте Основной pptp делал в альтераторе... > PS: community@ > -- Кругликов Илья ^ permalink raw reply [flat|nested] 38+ messages in thread
* Re: [Comm] [Desktop] pptp через pptp как сделать пошагово? 2008-05-29 2:44 ` Ilis @ 2008-05-29 9:21 ` Michael Shigorin 2008-05-29 9:25 ` Ilis 2008-05-30 1:38 ` Maxim Tsaryuk 0 siblings, 2 replies; 38+ messages in thread From: Michael Shigorin @ 2008-05-29 9:21 UTC (permalink / raw) To: Ilis; +Cc: community On Thu, May 29, 2008 at 08:44:24AM +0600, Ilis wrote: > > kvpnc? > Ничего не понял :( Это "звонилка" для VPN. -- ---- WBR, Michael Shigorin <mike@altlinux.ru> ------ Linux.Kiev http://www.linux.kiev.ua/ ^ permalink raw reply [flat|nested] 38+ messages in thread
* Re: [Comm] [Desktop] pptp через pptp как сделать пошагово? 2008-05-29 9:21 ` Michael Shigorin @ 2008-05-29 9:25 ` Ilis 2008-05-29 9:35 ` Alexei V. Mezin 2008-05-29 11:26 ` Michael Shigorin 2008-05-30 1:38 ` Maxim Tsaryuk 1 sibling, 2 replies; 38+ messages in thread From: Ilis @ 2008-05-29 9:25 UTC (permalink / raw) To: shigorin, Ilis, community 29.05.08, Michael Shigorin<mike@osdn.org.ua> написал(а): > On Thu, May 29, 2008 at 08:44:24AM +0600, Ilis wrote: > > > kvpnc? > > Ничего не понял :( > > Это "звонилка" для VPN. > Хорошо... И что с ней делать? Это что, настолько элементарное действие, поднять VPN поверх другого VPN? Или кто-то из нас чего-то недопонимает? :( -- Кругликов Илья ^ permalink raw reply [flat|nested] 38+ messages in thread
* Re: [Comm] [Desktop] pptp через pptp как сделать пошагово? 2008-05-29 9:25 ` Ilis @ 2008-05-29 9:35 ` Alexei V. Mezin 2008-05-29 10:36 ` Ilis 2008-05-29 11:26 ` Michael Shigorin 1 sibling, 1 reply; 38+ messages in thread From: Alexei V. Mezin @ 2008-05-29 9:35 UTC (permalink / raw) To: ALT Linux Community general discussions Ilis пишет: > Это что, настолько элементарное действие, поднять VPN поверх другого VPN? > Или кто-то из нас чего-то недопонимает? Никогда не делал так, но с виду никаких трудностей. Есть eth0, после его подъема появляется доступ к VPN-серверу, устанавливается соединение, и появляется ppp0. Теперь через ppp0 появляется доступ ко второму VPN-серверу, с ним устанавливается VPN-соединение, и появляется ppp1. Как настраивать etcnet на работу с VPN есть на freesource.info Какой из этапов этой схемы не срабатывает? ^ permalink raw reply [flat|nested] 38+ messages in thread
* Re: [Comm] [Desktop] pptp через pptp как сделать пошагово? 2008-05-29 9:35 ` Alexei V. Mezin @ 2008-05-29 10:36 ` Ilis 2008-05-29 10:43 ` Alexei V. Mezin 2008-05-29 22:16 ` Michael Shigorin 0 siblings, 2 replies; 38+ messages in thread From: Ilis @ 2008-05-29 10:36 UTC (permalink / raw) To: ALT Linux Community general discussions 29.05.08, Alexei V. Mezin<alexei-mezin@rambler.ru> написал(а): > Ilis пишет: > > > Это что, настолько элементарное действие, поднять VPN поверх другого VPN? > > Или кто-то из нас чего-то недопонимает? > > > > Никогда не делал так, но с виду никаких трудностей. > Есть eth0, после его подъема появляется доступ к VPN-серверу, > устанавливается соединение, и появляется ppp0. > > Теперь через ppp0 появляется доступ ко второму VPN-серверу, с ним > устанавливается VPN-соединение, и появляется ppp1. > > Как настраивать etcnet на работу с VPN есть на freesource.info > > Какой из этапов этой схемы не срабатывает? Пока никакой... ppp0 я настраивал через альтератор, там всё просто было. ppp0 запускается автоматически и пароль берёт сохранённый в секретах. ppp1 на основе ppp0 мне будет нужен лишь изредка, и пароль там будет меняться часто, т.е. вводить его надо будет вручную. Пока ещё ничего не пробовал. Хотел узнать принципиальную вожможность сделать это, плюс просто, но конкретно как именно это сделать. Т.е. что-то среднее между "посмотри kvpnc" и "etcnet на freesource.info". Второе не уверен, что осилю, а первое не уверен, что заработает и ни разу не пользовался... -- Кругликов Илья ^ permalink raw reply [flat|nested] 38+ messages in thread
* Re: [Comm] [Desktop] pptp через pptp как сделать пошагово? 2008-05-29 10:36 ` Ilis @ 2008-05-29 10:43 ` Alexei V. Mezin 2008-05-29 10:53 ` Владимир Гусев 2008-05-29 22:16 ` Michael Shigorin 1 sibling, 1 reply; 38+ messages in thread From: Alexei V. Mezin @ 2008-05-29 10:43 UTC (permalink / raw) To: ALT Linux Community general discussions Ilis пишет: > Т.е. > что-то среднее между "посмотри kvpnc" и "etcnet на freesource.info". > Второе не уверен, что осилю, а первое не уверен, что заработает и ни > разу не пользовался... > С таким подходом могу посоветовать то самое "среднее": забить. ^ permalink raw reply [flat|nested] 38+ messages in thread
* Re: [Comm] [Desktop] pptp через pptp как сделать пошагово? 2008-05-29 10:43 ` Alexei V. Mezin @ 2008-05-29 10:53 ` Владимир Гусев 2008-05-29 11:15 ` Ilis 0 siblings, 1 reply; 38+ messages in thread From: Владимир Гусев @ 2008-05-29 10:53 UTC (permalink / raw) To: community > > Т.е. > > что-то среднее между "посмотри kvpnc" и "etcnet на freesource.info". > > Второе не уверен, что осилю, а первое не уверен, что заработает и ни > > разу не пользовался... Через Альтератор и файлы примеров в /usr/share/doc/etcnet.. очень легко настраивается - сам был удивлен.. Почитай хотя бы, что это такое, pptp это.. Про vpn почитай.. Или по наитию как в винде - так и в альтераторе... Примеры где искать - уже подсказал.. > С таким подходом могу посоветовать то самое "среднее": забить. +1 -- С уважением, Владимир Гусев ^ permalink raw reply [flat|nested] 38+ messages in thread
* Re: [Comm] [Desktop] pptp через pptp как сделать пошагово? 2008-05-29 10:53 ` Владимир Гусев @ 2008-05-29 11:15 ` Ilis 2008-05-29 12:20 ` Владимир Гусев 2008-05-29 22:14 ` Michael Shigorin 0 siblings, 2 replies; 38+ messages in thread From: Ilis @ 2008-05-29 11:15 UTC (permalink / raw) To: ALT Linux Community general discussions 29.05.08, Владимир Гусев<vova1971@narod.ru> написал(а): > Через Альтератор и файлы примеров в /usr/share/doc/etcnet.. очень легко > настраивается - сам был удивлен.. Почитай хотя бы, что это такое, pptp > это.. Про vpn почитай.. Или по наитию как в винде - так и в > альтераторе... Примеры где искать - уже подсказал.. > Дак как оно в итоге должно будет выглядеть? Заходить ли мне в звонилку и заполнять формочки с юзером/паролем или в консоли писать ifup и там меня интерактивно спросят? (второй вариант, кстати, предпочтительней) > > С таким подходом могу посоветовать то самое "среднее": забить. > > +1 > Чоуж так сразу-то? Ну не специалист я по сетям, а специалист в других областях. Чтением документаций и экспериментами не гнушаюсь. Но в данном случае я вообще плохо представляю с чего начать даже! -- Кругликов Илья ^ permalink raw reply [flat|nested] 38+ messages in thread
* Re: [Comm] [Desktop] pptp через pptp как сделать пошагово? 2008-05-29 11:15 ` Ilis @ 2008-05-29 12:20 ` Владимир Гусев 2008-05-29 14:20 ` Ilis 2008-05-29 22:14 ` Michael Shigorin 1 sibling, 1 reply; 38+ messages in thread From: Владимир Гусев @ 2008-05-29 12:20 UTC (permalink / raw) To: community > > Через Альтератор и файлы примеров в /usr/share/doc/etcnet.. очень > > легко настраивается - сам был удивлен.. Почитай хотя бы, что это > > такое, pptp это.. Про vpn почитай.. Или по наитию как в винде - так > > и в альтераторе... Примеры где искать - уже подсказал.. > Дак как оно в итоге должно будет выглядеть? > > Заходить ли мне в звонилку и заполнять формочки с юзером/паролем или в > консоли писать ifup и там меня интерактивно спросят? (второй вариант, > кстати, предпочтительней) Так сделайте уже что-нибудь.. откатиться всегда можно, если настройки сохранять предварительно.. > > > С таким подходом могу посоветовать то самое "среднее": забить. > > > > +1 > > > > Чоуж так сразу-то? Ну не специалист я по сетям, а специалист в других > областях. Чтением документаций и экспериментами не гнушаюсь. > > Но в данном случае я вообще плохо представляю с чего начать даже! наверное с теории.. про vpn, про pptp, про параметры.. -- С уважением, Владимир Гусев ^ permalink raw reply [flat|nested] 38+ messages in thread
* Re: [Comm] [Desktop] pptp через pptp как сделать пошагово? 2008-05-29 12:20 ` Владимир Гусев @ 2008-05-29 14:20 ` Ilis 0 siblings, 0 replies; 38+ messages in thread From: Ilis @ 2008-05-29 14:20 UTC (permalink / raw) To: ALT Linux Community general discussions 29 мая 2008 г. 18:20 пользователь Владимир Гусев <vova1971@narod.ru> написал: > > Так сделайте уже что-нибудь.. > Итак, попробовал... Скопировал /etc/net/ifaces/ppp0 в /etc/net/ifaces/ppp1 Исправил немного [root@altus ppp1]# cat options ONBOOT=no PPPTYPE=pptp PPTP_SERVER=a.b.c.d REQUIRES=ppp0 [root@altus ppp1]# cat pppoptions # user username nomppe # defaultroute nopersist Запускаю: [root@altus ppp1]# ifup ppp1 ^C May 29 20:10:42 altus pppd[12084]: pppd 2.4.4 started by root, uid 0 May 29 20:10:42 altus pptp[12085]: anon log[main:pptp.c:267]: The synchronous pptp option is NOT activated May 29 20:10:42 altus pppd[12084]: Using interface ppp1 May 29 20:10:42 altus pppd[12084]: Connect: ppp1 <--> /dev/pts/3 May 29 20:10:42 altus pptp[12089]: anon log[ctrlp_rep:pptp_ctrl.c:251]: Sent control packet type is 1 'Start-Control-Connection-Request' May 29 20:10:42 altus pptp[12089]: anon log[ctrlp_disp:pptp_ctrl.c:738]: Received Start Control Connection Reply May 29 20:10:42 altus pptp[12089]: anon log[ctrlp_disp:pptp_ctrl.c:772]: Client connection established. May 29 20:10:43 altus pptp[12089]: anon log[ctrlp_rep:pptp_ctrl.c:251]: Sent control packet type is 7 'Outgoing-Call-Request' May 29 20:10:43 altus pptp[12089]: anon log[ctrlp_disp:pptp_ctrl.c:857]: Received Outgoing Call Reply. May 29 20:10:43 altus pptp[12089]: anon log[ctrlp_disp:pptp_ctrl.c:896]: Outgoing call established (call ID 0, peer's call ID 2479). May 29 20:10:49 altus pptp[12085]: anon log[decaps_gre:pptp_gre.c:407]: buffering packet 59 (expecting 58, lost or reordered) May 29 20:10:58 altus pptp[12085]: anon log[decaps_gre:pptp_gre.c:407]: buffering packet 147 (expecting 146, lost or reordered) May 29 20:10:58 altus pptp[12085]: anon log[decaps_gre:pptp_gre.c:407]: buffering packet 148 (expecting 146, lost or reordered) May 29 20:11:04 altus pptp[12085]: anon log[decaps_gre:pptp_gre.c:407]: buffering packet 200 (expecting 199, lost or reordered) May 29 20:11:10 altus pptp[12085]: anon log[decaps_gre:pptp_gre.c:407]: buffering packet 241 (expecting 240, lost or reordered) May 29 20:11:10 altus pptp[12085]: anon log[decaps_gre:pptp_gre.c:407]: buffering packet 242 (expecting 240, lost or reordered) May 29 20:11:13 altus pptp[12085]: anon log[decaps_gre:pptp_gre.c:407]: buffering packet 254 (expecting 253, lost or reordered) May 29 20:11:25 altus pptp[12085]: anon log[decaps_gre:pptp_gre.c:407]: buffering packet 423 (expecting 422, lost or reordered) May 29 20:11:28 altus pptp[12085]: anon log[decaps_gre:pptp_gre.c:407]: buffering packet 426 (expecting 425, lost or reordered) May 29 20:11:34 altus pptp[12085]: anon log[decaps_gre:pptp_gre.c:407]: buffering packet 467 (expecting 466, lost or reordered) May 29 20:11:40 altus pptp[12085]: anon log[decaps_gre:pptp_gre.c:407]: buffering packet 520 (expecting 519, lost or reordered) May 29 20:11:43 altus pptp[12089]: anon log[logecho:pptp_ctrl.c:676]: Echo Reply received. May 29 20:11:52 altus pptp[12085]: anon log[decaps_gre:pptp_gre.c:407]: buffering packet 668 (expecting 667, lost or reordered) Тут ^C May 29 20:11:58 altus pppd[12084]: Terminating on signal 2 May 29 20:11:58 altus pppd[12084]: Script /usr/sbin/pptp --nolaunchpppd 217.148.52.5 finished (pid 12085), status = 0x0 May 29 20:11:58 altus pppd[12084]: Modem hangup May 29 20:11:58 altus pppd[12084]: Connection terminated. May 29 20:11:58 altus pptp[12089]: anon log[callmgr_main:pptp_callmgr.c:255]: Closing connection (shutdown) May 29 20:11:58 altus pptp[12089]: anon log[ctrlp_rep:pptp_ctrl.c:251]: Sent control packet type is 12 'Call-Clear-Request' May 29 20:11:58 altus pptp[12089]: anon log[call_callback:pptp_callmgr.c:78]: Closing connection (call state) May 29 20:11:58 altus pppd[12084]: Exit. Что дальше делать? -- Кругликов Илья ^ permalink raw reply [flat|nested] 38+ messages in thread
* Re: [Comm] [Desktop] pptp через pptp как сделать пошагово? 2008-05-29 11:15 ` Ilis 2008-05-29 12:20 ` Владимир Гусев @ 2008-05-29 22:14 ` Michael Shigorin 1 sibling, 0 replies; 38+ messages in thread From: Michael Shigorin @ 2008-05-29 22:14 UTC (permalink / raw) To: ALT Linux Community general discussions On Thu, May 29, 2008 at 05:15:49PM +0600, Ilis wrote: > Заходить ли мне в звонилку и заполнять формочки с > юзером/паролем или в консоли писать ifup и там меня > интерактивно спросят? (второй вариант, кстати, > предпочтительней) Кажется, ifup не умеет спрашивать вообще. > > > С таким подходом могу посоветовать то самое "среднее": забить. > > +1 > Чоуж так сразу-то? Ну не специалист я по сетям, а специалист > в других областях. Чтением документаций и экспериментами не > гнушаюсь. Но в данном случае я вообще плохо представляю с чего > начать даже! Давайте попросим Алексея с Владимиром посоветовать нам с Вами чего другого, поскольку +1 :-) -- ---- WBR, Michael Shigorin <mike@altlinux.ru> ------ Linux.Kiev http://www.linux.kiev.ua/ ^ permalink raw reply [flat|nested] 38+ messages in thread
* Re: [Comm] [Desktop] pptp через pptp как сделать пошагово? 2008-05-29 10:36 ` Ilis 2008-05-29 10:43 ` Alexei V. Mezin @ 2008-05-29 22:16 ` Michael Shigorin 1 sibling, 0 replies; 38+ messages in thread From: Michael Shigorin @ 2008-05-29 22:16 UTC (permalink / raw) To: ALT Linux Community general discussions On Thu, May 29, 2008 at 04:36:31PM +0600, Ilis wrote: > Пока ещё ничего не пробовал. Хотел узнать принципиальную вожможность > сделать это, плюс просто, но конкретно как именно это сделать. Т.е. > что-то среднее между "посмотри kvpnc" и "etcnet на freesource.info". > Второе не уверен, что осилю, а первое не уверен, что заработает и ни > разу не пользовался... Ну так проверьте :-) Говорят, даже работает. -- ---- WBR, Michael Shigorin <mike@altlinux.ru> ------ Linux.Kiev http://www.linux.kiev.ua/ ^ permalink raw reply [flat|nested] 38+ messages in thread
* Re: [Comm] [Desktop] pptp через pptp как сделать пошагово? 2008-05-29 9:25 ` Ilis 2008-05-29 9:35 ` Alexei V. Mezin @ 2008-05-29 11:26 ` Michael Shigorin 2008-05-29 12:15 ` Владимир Гусев 1 sibling, 1 reply; 38+ messages in thread From: Michael Shigorin @ 2008-05-29 11:26 UTC (permalink / raw) To: Ilis; +Cc: community On Thu, May 29, 2008 at 03:25:47PM +0600, Ilis wrote: > > > > kvpnc? > > > Ничего не понял :( > > Это "звонилка" для VPN. > Хорошо... И что с ней делать? Думаю, звонить, имея уже поднятый PPTP до провайдера. > Это что, настолько элементарное действие, поднять VPN поверх > другого VPN? Или кто-то из нас чего-то недопонимает? :( Вполне может быть и второе -- я такую ситуацию обдумывал, но пока и не пробовал воспроизвести. В текущем alterator-net-pptp[1] есть мелкий хак на тему того, чтоб PPTP получалось поднимать поверх ppp0, но ситуация непроверенная. Плюс он-то логин/пароль записывает в /etc/net/ifaces/pppX/pppoptions. [1] http://fly.osdn.org.ua/~mike/packages/alterator-net-pptp/ -- ---- WBR, Michael Shigorin <mike@altlinux.ru> ------ Linux.Kiev http://www.linux.kiev.ua/ ^ permalink raw reply [flat|nested] 38+ messages in thread
* Re: [Comm] [Desktop] pptp через pptp как сделать пошагово? 2008-05-29 11:26 ` Michael Shigorin @ 2008-05-29 12:15 ` Владимир Гусев 0 siblings, 0 replies; 38+ messages in thread From: Владимир Гусев @ 2008-05-29 12:15 UTC (permalink / raw) To: community > > > > > kvpnc? > > > > Ничего не понял :( > > > Это "звонилка" для VPN. > > Хорошо... И что с ней делать? > > Думаю, звонить, имея уже поднятый PPTP до провайдера. > > > Это что, настолько элементарное действие, поднять VPN поверх > > другого VPN? Или кто-то из нас чего-то недопонимает? :( > > Вполне может быть и второе -- я такую ситуацию обдумывал, > но пока и не пробовал воспроизвести. Я соединяюсь через vpn-соединение с провайдером к своей стойке цисок тоже через vpn-тунель.. Это имеется в виду? Если да - то работает.. Только у меня просто vpnc и переконвертированный файл от цисковского vpn-client. vpnc это умеет, впрочем как и kvpnc.. > В текущем alterator-net-pptp[1] есть мелкий хак на тему того, > чтоб PPTP получалось поднимать поверх ppp0, но ситуация > непроверенная. Плюс он-то логин/пароль записывает в > /etc/net/ifaces/pppX/pppoptions. > > [1] http://fly.osdn.org.ua/~mike/packages/alterator-net-pptp/ > -- С уважением, Владимир Гусев ^ permalink raw reply [flat|nested] 38+ messages in thread
* Re: [Comm] [Desktop] pptp через pptp как сделать пошагово? 2008-05-29 9:21 ` Michael Shigorin 2008-05-29 9:25 ` Ilis @ 2008-05-30 1:38 ` Maxim Tsaryuk 2008-05-30 4:27 ` Ilis ` (2 more replies) 1 sibling, 3 replies; 38+ messages in thread From: Maxim Tsaryuk @ 2008-05-30 1:38 UTC (permalink / raw) To: community В сообщении от Thursday 29 May 2008 17:21:58 Michael Shigorin написал(а): > On Thu, May 29, 2008 at 08:44:24AM +0600, Ilis wrote: > > > kvpnc? > > > > Ничего не понял :( > > Это "звонилка" для VPN. К стати вопрос по ней есть. То же пользуюсь kvpnc и часто возникает проблема следующего характера. Если вдруг обрывается связь или же просто отключиться, то повторный дозвон уже не получается. Пишет: отладка: Username: name отладка: Попытка подключения к серверу "vpn.zaoproxy.ru" пользователем "name"... инфо: Connection has been terminated. ошибка: Remote modem has hung up. Connection was terminated. Помогает только перезагрузка системы. В настройках на вкладке Before Connect: route del default route add -net 81.26.176.14 netmask 255.255.255.255 gw 172.25.0.1 dev eth2 route add -net 172.25.0.0 netmask 255.255.0.0 gw 172.25.0.1 dev eth2 route add -net 192.168.0.0 netmask 255.255.0.0 gw 192.168.0.1 dev eth1 After Connect: route add default dev ppp0 Предполагаю что что-то меняется в маршрутизации, но не знаю как посмотреть таблицу маршрутов. В офтопике route print, а тут такое не проходит. В чем может быть дело? ^ permalink raw reply [flat|nested] 38+ messages in thread
* Re: [Comm] [Desktop] pptp через pptp как сделать пошагово? 2008-05-30 1:38 ` Maxim Tsaryuk @ 2008-05-30 4:27 ` Ilis 2008-06-02 14:42 ` Ilis 2008-05-30 4:53 ` Serge 2008-05-30 9:03 ` Michael Shigorin 2 siblings, 1 reply; 38+ messages in thread From: Ilis @ 2008-05-30 4:27 UTC (permalink / raw) To: Mad-Max-Traveller, ALT Linux Community general discussions Итак. От ifup предложения ввести юзер/пароль не дождался, забил его в chap-secrets. Результат -- вместо висящего подключения получил Authorization failed, буду разбираться с той стороной... Интересует пока, как добиться ввода юзер/пароль вручную, поскольку пароль берётся из домена с политикой ежемесячной смены... -- Кругликов Илья ^ permalink raw reply [flat|nested] 38+ messages in thread
* Re: [Comm] [Desktop] pptp через pptp как сделать пошагово? 2008-05-30 4:27 ` Ilis @ 2008-06-02 14:42 ` Ilis 2008-06-02 16:47 ` Ilis 0 siblings, 1 reply; 38+ messages in thread From: Ilis @ 2008-06-02 14:42 UTC (permalink / raw) To: Mad-Max-Traveller, ALT Linux Community general discussions 30 мая 2008 г. 10:27 пользователь Ilis <ilis.krou@gmail.com> написал: > Итак. От ifup предложения ввести юзер/пароль не дождался, забил его в > chap-secrets. > Результат -- вместо висящего подключения получил Authorization failed, > буду разбираться с той стороной... Так, авторизацию победили... Следующая проблема: [root@altus ~]# ifup ppp1 [root@altus ~]# cat /var/log/messages | egrep '7236|7241|7242' Jun 2 08:11:12 altus sshd[9542]: Failed password for UNKNOWN USER from 218.234.21.151 port 57242 ssh2 Jun 2 20:18:40 altus pppd[7236]: pppd 2.4.4 started by root, uid 0 Jun 2 20:18:40 altus pppd[7236]: Using interface ppp1 Jun 2 20:18:40 altus pppd[7236]: Connect: ppp1 <--> /dev/pts/4 Jun 2 20:18:40 altus pptp[7241]: anon log[ctrlp_rep:pptp_ctrl.c:251]: Sent control packet type is 1 'Start-Control-Connection-Request' Jun 2 20:18:40 altus pptp[7241]: anon log[ctrlp_disp:pptp_ctrl.c:738]: Received Start Control Connection Reply Jun 2 20:18:40 altus pptp[7241]: anon log[ctrlp_disp:pptp_ctrl.c:772]: Client connection established. Jun 2 20:18:41 altus pptp[7241]: anon log[ctrlp_rep:pptp_ctrl.c:251]: Sent control packet type is 7 'Outgoing-Call-Request' Jun 2 20:18:41 altus pptp[7241]: anon log[ctrlp_disp:pptp_ctrl.c:857]: Received Outgoing Call Reply. Jun 2 20:18:41 altus pptp[7241]: anon log[ctrlp_disp:pptp_ctrl.c:896]: Outgoing call established (call ID 0, peer's call ID 2597). Jun 2 20:18:41 altus pppd[7236]: CHAP authentication succeeded Jun 2 20:18:41 altus pppd[7236]: CHAP authentication succeeded Jun 2 20:18:42 altus pppd[7236]: local IP address 192.168.254.218 Jun 2 20:18:42 altus pppd[7236]: remote IP address 217.148.52.5 Jun 2 20:18:54 altus pppd[7242]: Script /etc/ppp/ip-up finished (pid 7243), status = 0x0 Jun 2 20:20:38 altus pptp[7241]: anon log[logecho:pptp_ctrl.c:676]: Echo Request received. Jun 2 20:20:38 altus pptp[7241]: anon log[ctrlp_rep:pptp_ctrl.c:251]: Sent control packet type is 6 'Echo-Reply' Jun 2 20:21:36 altus pppd[7242]: LCP terminated by peer (Peer Terminated) Jun 2 20:21:36 altus pppd[7242]: Connect time 2.9 minutes. Jun 2 20:21:36 altus pppd[7242]: Sent 1748727312 bytes, received 0 bytes. Jun 2 20:21:37 altus pppd[7242]: Script /etc/ppp/ip-down finished (pid 8819), status = 0x1 Jun 2 20:21:38 altus pptp[7241]: anon log[pptp_handle_timer:pptp_ctrl.c:1049]: closing control connection due to missing echo reply Jun 2 20:21:38 altus pptp[7241]: anon log[ctrlp_rep:pptp_ctrl.c:251]: Sent control packet type is 12 'Call-Clear-Request' Jun 2 20:21:38 altus pptp[7241]: anon log[pptp_conn_close:pptp_ctrl.c:430]: Closing PPTP connection Jun 2 20:21:38 altus pptp[7241]: anon log[ctrlp_rep:pptp_ctrl.c:251]: Sent control packet type is 3 'Stop-Control-Connection-Request' Jun 2 20:21:38 altus pptp[7241]: anon log[call_callback:pptp_callmgr.c:78]: Closing connection (call state) Jun 2 20:21:38 altus pppd[7242]: Modem hangup Jun 2 20:21:38 altus pppd[7242]: Connection terminated. Jun 2 20:21:43 altus pppd[7242]: Exit. Сразу после авторизации через интерфейс пролетает безответно куча трафика на всю ширину канала (за три минуты 1,5Г) интерфейс отключается... ppp1 Link encap:Point-to-Point Protocol inet addr:192.168.254.218 P-t-P:217.148.52.5 Mask:255.255.255.255 UP POINTOPOINT RUNNING NOARP MULTICAST MTU:1500 Metric:1 RX packets:8 errors:0 dropped:0 overruns:0 frame:0 TX packets:4433815 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:3 RX bytes:73 (73.0 b) TX bytes:1623110547 (1.5 GiB) [root@altus ~]# cat /etc/net/ifaces/ppp1/* ONBOOT=no PPPTYPE=pptp PPTP_SERVER=217.148.52.5 REQUIRES=ppp0 user ilis nomppe nodefaultroute noreplacedefaultroute nopersist Что бы это могло быть? > > Интересует пока, как добиться ввода юзер/пароль вручную, поскольку > пароль берётся из домена с политикой ежемесячной смены... > -- Кругликов Илья ^ permalink raw reply [flat|nested] 38+ messages in thread
* Re: [Comm] [Desktop] pptp через pptp как сделать пошагово? 2008-06-02 14:42 ` Ilis @ 2008-06-02 16:47 ` Ilis 2008-06-02 16:55 ` Alexei V. Mezin 0 siblings, 1 reply; 38+ messages in thread From: Ilis @ 2008-06-02 16:47 UTC (permalink / raw) To: Mad-Max-Traveller, ALT Linux Community general discussions > > Сразу после авторизации через интерфейс пролетает безответно куча > трафика на всю ширину канала (за три минуты 1,5Г) интерфейс > отключается... > Трафик там такой: [root@altus ~]# tcpdump -ni ppp1 22:14:35.071130 IP 87.224.170.26 > 217.148.52.5: GREv1, call 2599, seq 67779, length 108: IP 87.224.170.26 > 217.148Ev1, call 2599, seq 67765, length 72: IP [|ip] 22:14:35.071714 IP 87.224.170.26 > 217.148.52.5: GREv1, call 2599, seq 67780, length 144: IP 87.224.170.26 > 217.148Ev1, call 2599, seq 67766, length 108: IP [|ip] 22:14:35.072296 IP 87.224.170.26 > 217.148.52.5: GREv1, call 2599, seq 67781, length 180: IP 87.224.170.26 > 217.148Ev1, call 2599, seq 67767, length 144: IP [|ip] 22:14:35.072884 IP 87.224.170.26 > 217.148.52.5: GREv1, call 2599, seq 67782, length 396: IP 87.224.170.26 > 217.148Ev1, call 2599, seq 67770, length 360: IP [|ip] 22:14:35.073689 IP 87.224.170.26 > 217.148.52.5: GREv1, call 2599, seq 67783, length 1480: IP truncated-ip - 36 byte! 87.224.170.26 > 217.148.52.5: GREv1, call 2599, seq 67771, length 1480: IP [|ip] 22:14:35.073731 IP 87.224.170.26 > 217.148.52.5: ip-proto-47 22:14:35.074479 IP 87.224.170.26 > 217.148.52.5: GREv1, call 2599, seq 67784, length 72: IP 87.224.170.26 > 217.148.proto-47 22:14:35.075084 IP 87.224.170.26 > 217.148.52.5: GREv1, call 2599, seq 67785, length 108: IP 87.224.170.26 > 217.148Ev1, call 2599, seq 67772, length 72: IP [|ip] 22:14:35.075669 IP 87.224.170.26 > 217.148.52.5: GREv1, call 2599, seq 67786, length 144: IP 87.224.170.26 > 217.148Ev1, call 2599, seq 67773, length 108: IP [|ip] 22:14:35.076251 IP 87.224.170.26 > 217.148.52.5: GREv1, call 2599, seq 67787, length 180: IP 87.224.170.26 > 217.148Ev1, call 2599, seq 67774, length 144: IP [|ip] 22:14:35.076866 IP 87.224.170.26 > 217.148.52.5: GREv1, call 2599, seq 67788, length 1480: IP truncated-ip - 36 byte! 87.224.170.26 > 217.148.52.5: GREv1, call 2599, seq 67777, length 1480: IP [|ip] 22:14:35.076891 IP 87.224.170.26 > 217.148.52.5: ip-proto-47 13509 packets captured 19277 packets received by filter 5591 packets dropped by kernel -- Кругликов Илья ^ permalink raw reply [flat|nested] 38+ messages in thread
* Re: [Comm] [Desktop] pptp через pptp как сделать пошагово? 2008-06-02 16:47 ` Ilis @ 2008-06-02 16:55 ` Alexei V. Mezin 2008-06-02 17:04 ` Ilis 0 siblings, 1 reply; 38+ messages in thread From: Alexei V. Mezin @ 2008-06-02 16:55 UTC (permalink / raw) To: ALT Linux Community general discussions Ilis пишет: >> Сразу после авторизации через интерфейс пролетает безответно куча >> трафика на всю ширину канала (за три минуты 1,5Г) интерфейс >> отключается... >> > > Трафик там такой: > [root@altus ~]# tcpdump -ni ppp1 Таблицу маршрутизации ДО и ВО ВРЕМЯ покажите тож. ^ permalink raw reply [flat|nested] 38+ messages in thread
* Re: [Comm] [Desktop] pptp через pptp как сделать пошагово? 2008-06-02 16:55 ` Alexei V. Mezin @ 2008-06-02 17:04 ` Ilis 2008-06-04 2:30 ` Ilis 2008-06-07 11:06 ` Vitaly Kuznetsov 0 siblings, 2 replies; 38+ messages in thread From: Ilis @ 2008-06-02 17:04 UTC (permalink / raw) To: ALT Linux Community general discussions 2 июня 2008 г. 22:55 пользователь Alexei V. Mezin <alexei-mezin@rambler.ru> написал: > Ilis пишет: >>> >>> Сразу после авторизации через интерфейс пролетает безответно куча >>> трафика на всю ширину канала (за три минуты 1,5Г) интерфейс >>> отключается... >>> >> >> Трафик там такой: >> [root@altus ~]# tcpdump -ni ppp1 > > Таблицу маршрутизации ДО и ВО ВРЕМЯ покажите тож. До: [root@altus ~]# route -n Kernel IP routing table Destination Gateway Genmask Flags Metric Ref Use Iface 172.30.0.1 0.0.0.0 255.255.255.255 UH 0 0 0 ppp0 10.0.0.0 0.0.0.0 255.255.255.0 U 0 0 0 eth0 0.0.0.0 0.0.0.0 0.0.0.0 U 0 0 0 ppp0 Во время: [root@altus ~]# route -n Kernel IP routing table Destination Gateway Genmask Flags Metric Ref Use Iface 217.148.52.5 0.0.0.0 255.255.255.255 UH 0 0 0 ppp1 172.30.0.1 0.0.0.0 255.255.255.255 UH 0 0 0 ppp0 10.0.0.0 0.0.0.0 255.255.255.0 U 0 0 0 eth0 0.0.0.0 0.0.0.0 0.0.0.0 U 0 0 0 ppp0 -- Кругликов Илья ^ permalink raw reply [flat|nested] 38+ messages in thread
* Re: [Comm] [Desktop] pptp через pptp как сделать пошагово? 2008-06-02 17:04 ` Ilis @ 2008-06-04 2:30 ` Ilis 2008-06-04 8:23 ` Alexei V. Mezin 2008-06-07 11:06 ` Vitaly Kuznetsov 1 sibling, 1 reply; 38+ messages in thread From: Ilis @ 2008-06-04 2:30 UTC (permalink / raw) To: ALT Linux Community general discussions Какие-нибудь идеи есть? Или где можно почитать про подробности самого протокола? -- Кругликов Илья ^ permalink raw reply [flat|nested] 38+ messages in thread
* Re: [Comm] [Desktop] pptp через pptp как сделать пошагово? 2008-06-04 2:30 ` Ilis @ 2008-06-04 8:23 ` Alexei V. Mezin 0 siblings, 0 replies; 38+ messages in thread From: Alexei V. Mezin @ 2008-06-04 8:23 UTC (permalink / raw) To: ALT Linux Community general discussions Ilis пишет: > Какие-нибудь идеи есть? Попробуйте спросить в sysadmins@ ^ permalink raw reply [flat|nested] 38+ messages in thread
* Re: [Comm] [Desktop] pptp через pptp как сделать пошагово? 2008-06-02 17:04 ` Ilis 2008-06-04 2:30 ` Ilis @ 2008-06-07 11:06 ` Vitaly Kuznetsov 2008-06-07 11:18 ` Alexei V. Mezin 1 sibling, 1 reply; 38+ messages in thread From: Vitaly Kuznetsov @ 2008-06-07 11:06 UTC (permalink / raw) To: ALT Linux Community general discussions Ilis пишет: >> Таблицу маршрутизации ДО и ВО ВРЕМЯ покажите тож. >> > До: > [root@altus ~]# route -n > Kernel IP routing table > Destination Gateway Genmask Flags Metric Ref Use Iface > 172.30.0.1 0.0.0.0 255.255.255.255 UH 0 0 0 ppp0 > 10.0.0.0 0.0.0.0 255.255.255.0 U 0 0 0 eth0 > 0.0.0.0 0.0.0.0 0.0.0.0 U 0 0 0 ppp0 > > Во время: > [root@altus ~]# route -n > Kernel IP routing table > Destination Gateway Genmask Flags Metric Ref Use Iface > 217.148.52.5 0.0.0.0 255.255.255.255 UH 0 0 0 ppp1 > 172.30.0.1 0.0.0.0 255.255.255.255 UH 0 0 0 ppp0 > 10.0.0.0 0.0.0.0 255.255.255.0 U 0 0 0 eth0 > 0.0.0.0 0.0.0.0 0.0.0.0 U 0 0 0 ppp0 > Пропишите отдельный маршрут до VPN-servera на сетевой карте, а то он пытается гонять pptp-трафик через pptp ;) ^ permalink raw reply [flat|nested] 38+ messages in thread
* Re: [Comm] [Desktop] pptp через pptp как сделать пошагово? 2008-06-07 11:06 ` Vitaly Kuznetsov @ 2008-06-07 11:18 ` Alexei V. Mezin 2008-06-07 11:34 ` Vitaly Kuznetsov 0 siblings, 1 reply; 38+ messages in thread From: Alexei V. Mezin @ 2008-06-07 11:18 UTC (permalink / raw) To: ALT Linux Community general discussions Vitaly Kuznetsov пишет: > Пропишите отдельный маршрут до VPN-servera на сетевой карте, а то он > пытается гонять pptp-трафик через pptp ;) > Ну так в этом и суть, чтоб pptp траффик через другой pptp. ^ permalink raw reply [flat|nested] 38+ messages in thread
* Re: [Comm] [Desktop] pptp через pptp как сделать пошагово? 2008-06-07 11:18 ` Alexei V. Mezin @ 2008-06-07 11:34 ` Vitaly Kuznetsov 2008-06-07 15:25 ` Ilis 0 siblings, 1 reply; 38+ messages in thread From: Vitaly Kuznetsov @ 2008-06-07 11:34 UTC (permalink / raw) To: ALT Linux Community general discussions Alexei V. Mezin пишет: > Ну так в этом и суть, чтоб pptp траффик через другой pptp. А тут, похоже, шлётся через тот же самый. Нужен отдельный роут до 2го VPN-сервера через первый VPN ^ permalink raw reply [flat|nested] 38+ messages in thread
* Re: [Comm] [Desktop] pptp через pptp как сделать пошагово? 2008-06-07 11:34 ` Vitaly Kuznetsov @ 2008-06-07 15:25 ` Ilis 2008-06-07 15:34 ` Alexei V. Mezin 0 siblings, 1 reply; 38+ messages in thread From: Ilis @ 2008-06-07 15:25 UTC (permalink / raw) To: ALT Linux Community general discussions 7 июня 2008 г. 17:34 пользователь Vitaly Kuznetsov <vitty@altlinux.ru> написал: > Alexei V. Mezin пишет: >> >> Ну так в этом и суть, чтоб pptp траффик через другой pptp. > > А тут, похоже, шлётся через тот же самый. Нужен отдельный роут до 2го > VPN-сервера через первый VPN > Так что делать-то? Нагуглил две похожие проблемы (непрерывная отправка трафика вникуда), там причина оказалась именно в роутинге, но там VPN был организован через единственный физический интерфейс. А тут даже если пробовать, то как? В настройках /etc/net или вручную через route add? В sysadmins@ пока только предложили уменьшить mtu/mru, но это не помогло... -- Кругликов Илья ^ permalink raw reply [flat|nested] 38+ messages in thread
* Re: [Comm] [Desktop] pptp через pptp как сделать пошагово? 2008-06-07 15:25 ` Ilis @ 2008-06-07 15:34 ` Alexei V. Mezin 2008-06-07 15:50 ` Ilis 0 siblings, 1 reply; 38+ messages in thread From: Alexei V. Mezin @ 2008-06-07 15:34 UTC (permalink / raw) To: community Ilis пишет: > А тут даже если пробовать, то как? В настройках /etc/net или вручную > через route add? > Проверить сначала вручную: поднять первый pptp, руками добавить маршрут куда надо, поднять второй. Если заработает, то в файл /etc/net/ifaces/ИМЯ_ПЕРВОГО_pptp/ipv4route вписать маршрут. ^ permalink raw reply [flat|nested] 38+ messages in thread
* Re: [Comm] [Desktop] pptp через pptp как сделать пошагово? 2008-06-07 15:34 ` Alexei V. Mezin @ 2008-06-07 15:50 ` Ilis 2008-06-07 15:52 ` Vitaly Kuznetsov 0 siblings, 1 reply; 38+ messages in thread From: Ilis @ 2008-06-07 15:50 UTC (permalink / raw) To: alexei-mezin, ALT Linux Community general discussions 7 июня 2008 г. 21:34 пользователь Alexei V. Mezin <alexei-mezin@rambler.ru> написал: > Ilis пишет: > >> А тут даже если пробовать, то как? В настройках /etc/net или вручную >> через route add? >> > > Проверить сначала вручную: > поднять первый pptp, руками добавить маршрут куда надо, поднять второй. Если Пожалуйста, скажите, что конкретно писать? > заработает, то в файл > /etc/net/ifaces/ИМЯ_ПЕРВОГО_pptp/ipv4route вписать маршрут. > В самом начале я писал, что второй VPN мне будет нужен лишь изредка, и поднимать я его собираюсь вручную. Прописанный к первому pptp маршрут не будет мешаться? ЗЫ. для конкретики, первый pptp это ppp0, второй ppp1 соответственно... Сейчас маршруты такие: [root@altus ~]# route Kernel IP routing table Destination Gateway Genmask Flags Metric Ref Use Iface 172.30.0.1 * 255.255.255.255 UH 0 0 0 ppp0 10.0.0.0 * 255.255.255.0 U 0 0 0 eth0 default * 0.0.0.0 U 0 0 0 ppp0 [root@altus ~]# cat /etc/net/ifaces/ppp1/options ONBOOT=no PPPTYPE=pptp PPTP_SERVER=217.148.52.5 REQUIRES=ppp0 [root@altus ~]# cat /etc/net/ifaces/ppp1/pppoptions user ilis nomppe nodefaultroute noreplacedefaultroute nopersist mtu 1436 mru 1436 -- Кругликов Илья ^ permalink raw reply [flat|nested] 38+ messages in thread
* Re: [Comm] [Desktop] pptp через pptp как сделать пошагово? 2008-06-07 15:50 ` Ilis @ 2008-06-07 15:52 ` Vitaly Kuznetsov 2008-06-07 16:04 ` Ilis 0 siblings, 1 reply; 38+ messages in thread From: Vitaly Kuznetsov @ 2008-06-07 15:52 UTC (permalink / raw) To: ALT Linux Community general discussions Ilis пишет: > 7 июня 2008 г. 21:34 пользователь Alexei V. Mezin > <alexei-mezin@rambler.ru> написал: > >> Ilis пишет: >> >> >>> А тут даже если пробовать, то как? В настройках /etc/net или вручную >>> через route add? >>> >>> >> Проверить сначала вручную: >> поднять первый pptp, руками добавить маршрут куда надо, поднять второй. Если >> > > Пожалуйста, скажите, что конкретно писать? > > >> заработает, то в файл >> /etc/net/ifaces/ИМЯ_ПЕРВОГО_pptp/ipv4route вписать маршрут. >> >> > В самом начале я писал, что второй VPN мне будет нужен лишь изредка, и > поднимать я его собираюсь вручную. Прописанный к первому pptp маршрут > не будет мешаться? > > ЗЫ. для конкретики, первый pptp это ppp0, второй ppp1 соответственно... > > Сейчас маршруты такие: > > [root@altus ~]# route > Kernel IP routing table > Destination Gateway Genmask Flags Metric Ref Use Iface > 172.30.0.1 * 255.255.255.255 UH 0 0 0 ppp0 > 10.0.0.0 * 255.255.255.0 U 0 0 0 eth0 > default * 0.0.0.0 U 0 0 0 ppp0 > [root@altus ~]# cat /etc/net/ifaces/ppp1/options > ONBOOT=no > PPPTYPE=pptp > PPTP_SERVER=217.148.52.5 > REQUIRES=ppp0 > [root@altus ~]# cat /etc/net/ifaces/ppp1/pppoptions > user ilis > nomppe > nodefaultroute > noreplacedefaultroute > nopersist > mtu 1436 > mru 1436 > после поднятия первого pptp написать в консоли от рута: route add -host 217.148.52.5 ppp0 и после этого запустить поднятие второго. Результат писать сюда ;) ^ permalink raw reply [flat|nested] 38+ messages in thread
* Re: [Comm] [Desktop] pptp через pptp как сделать пошагово? 2008-06-07 15:52 ` Vitaly Kuznetsov @ 2008-06-07 16:04 ` Ilis 2008-06-07 16:11 ` Alexei V. Mezin 0 siblings, 1 reply; 38+ messages in thread From: Ilis @ 2008-06-07 16:04 UTC (permalink / raw) To: ALT Linux Community general discussions 7 июня 2008 г. 21:52 пользователь Vitaly Kuznetsov <vitty@altlinux.ru> написал: > > после поднятия первого pptp написать в консоли от рута: > route add -host 217.148.52.5 ppp0 > и после этого запустить поднятие второго. Результат писать сюда ;) > Вот, спасибо! Уже что-то! Интерфейс поднялся и пока жив. Смущает два одинаковых маршрута с разными интерфейсами... И следующий вопрос, как мне теперь добавить сеть? (вроде должна быть 192.168.0.0/16) [root@altus ~]# ifconfig -a ; route -n eth0 Link encap:Ethernet HWaddr 00:80:48:53:E0:27 inet addr:10.0.0.253 Bcast:10.0.0.255 Mask:255.255.255.0 UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 RX packets:21691672 errors:0 dropped:0 overruns:0 frame:0 TX packets:11100652 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:1000 RX bytes:1856281850 (1.7 GiB) TX bytes:332674353 (317.2 MiB) Interrupt:201 Base address:0xe000 lo Link encap:Local Loopback inet addr:127.0.0.1 Mask:255.0.0.0 UP LOOPBACK RUNNING MTU:16436 Metric:1 RX packets:24585 errors:0 dropped:0 overruns:0 frame:0 TX packets:24585 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:0 RX bytes:1235802 (1.1 MiB) TX bytes:1235802 (1.1 MiB) ppp0 Link encap:Point-to-Point Protocol inet addr:87.224.170.26 P-t-P:172.30.0.1 Mask:255.255.255.255 UP POINTOPOINT RUNNING NOARP MULTICAST MTU:1500 Metric:1 RX packets:2198816 errors:0 dropped:0 overruns:0 frame:0 TX packets:3531921 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:3 RX bytes:178559651 (170.2 MiB) TX bytes:12615442 (12.0 MiB) ppp1 Link encap:Point-to-Point Protocol inet addr:192.168.254.220 P-t-P:217.148.52.5 Mask:255.255.255.255 UP POINTOPOINT RUNNING NOARP MULTICAST MTU:1436 Metric:1 RX packets:8 errors:0 dropped:0 overruns:0 frame:0 TX packets:8 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:3 RX bytes:73 (73.0 b) TX bytes:79 (79.0 b) Kernel IP routing table Destination Gateway Genmask Flags Metric Ref Use Iface 217.148.52.5 0.0.0.0 255.255.255.255 UH 0 0 0 ppp0 217.148.52.5 0.0.0.0 255.255.255.255 UH 0 0 0 ppp1 172.30.0.1 0.0.0.0 255.255.255.255 UH 0 0 0 ppp0 10.0.0.0 0.0.0.0 255.255.255.0 U 0 0 0 eth0 0.0.0.0 0.0.0.0 0.0.0.0 U 0 0 0 ppp0 -- Кругликов Илья ^ permalink raw reply [flat|nested] 38+ messages in thread
* Re: [Comm] [Desktop] pptp через pptp как сделать пошагово? 2008-06-07 16:04 ` Ilis @ 2008-06-07 16:11 ` Alexei V. Mezin 2008-06-07 16:16 ` Ilis 0 siblings, 1 reply; 38+ messages in thread From: Alexei V. Mezin @ 2008-06-07 16:11 UTC (permalink / raw) To: community Ilis пишет: > ppp1 Link encap:Point-to-Point Protocol > inet addr:192.168.254.220 P-t-P:217.148.52.5 Mask:255.255.255.255 > 217.148.52.5 0.0.0.0 255.255.255.255 UH 0 0 0 ppp1 Вот это явно неверно! откуда у вас статический маршрут до 217.148.52.5 через ppp1? Уберите. ^ permalink raw reply [flat|nested] 38+ messages in thread
* Re: [Comm] [Desktop] pptp через pptp как сделать пошагово? 2008-06-07 16:11 ` Alexei V. Mezin @ 2008-06-07 16:16 ` Ilis 2008-06-07 16:25 ` Alexei V. Mezin 0 siblings, 1 reply; 38+ messages in thread From: Ilis @ 2008-06-07 16:16 UTC (permalink / raw) To: alexei-mezin, ALT Linux Community general discussions 7 июня 2008 г. 22:11 пользователь Alexei V. Mezin <alexei-mezin@rambler.ru> написал: > Ilis пишет: > >> ppp1 Link encap:Point-to-Point Protocol >> inet addr:192.168.254.220 P-t-P:217.148.52.5 Mask:255.255.255.255 > >> 217.148.52.5 0.0.0.0 255.255.255.255 UH 0 0 0 >> ppp1 > > Вот это явно неверно! откуда у вас статический маршрут до 217.148.52.5 через > ppp1? Уберите. > Оно само! Я не виноват! Как сделать чтоб не появлялось? Он сам добавляется, видимо, во время ifup ppp1 -- Кругликов Илья ^ permalink raw reply [flat|nested] 38+ messages in thread
* Re: [Comm] [Desktop] pptp через pptp как сделать пошагово? 2008-06-07 16:16 ` Ilis @ 2008-06-07 16:25 ` Alexei V. Mezin 2008-06-07 16:39 ` Ilis 0 siblings, 1 reply; 38+ messages in thread From: Alexei V. Mezin @ 2008-06-07 16:25 UTC (permalink / raw) To: community Ilis пишет: > 7 июня 2008 г. 22:11 пользователь Alexei V. Mezin > <alexei-mezin@rambler.ru> написал: >> Ilis пишет: >> >>> ppp1 Link encap:Point-to-Point Protocol >>> inet addr:192.168.254.220 P-t-P:217.148.52.5 Mask:255.255.255.255 >>> 217.148.52.5 0.0.0.0 255.255.255.255 UH 0 0 0 >>> ppp1 >> Вот это явно неверно! откуда у вас статический маршрут до 217.148.52.5 через >> ppp1? Уберите. >> > > Оно само! Я не виноват! Как сделать чтоб не появлялось? > Он сам добавляется, видимо, во время ifup ppp1 > Хм... даже не знаю. Может стоит настучать по мозгам настройщикам сервера на той стороне? Ну в любом случае можно руками этот маршрут прибивать, тем более, если вы этим нечасто будете пользоваться. Скрпитик напишите, который поднимает ifup ppp1, и за одно route del. ^ permalink raw reply [flat|nested] 38+ messages in thread
* Re: [Comm] [Desktop] pptp через pptp как сделать пошагово? 2008-06-07 16:25 ` Alexei V. Mezin @ 2008-06-07 16:39 ` Ilis 0 siblings, 0 replies; 38+ messages in thread From: Ilis @ 2008-06-07 16:39 UTC (permalink / raw) To: alexei-mezin, ALT Linux Community general discussions 7 июня 2008 г. 22:25 пользователь Alexei V. Mezin <alexei-mezin@rambler.ru> написал: > > Хм... даже не знаю. Может стоит настучать по мозгам настройщикам сервера на > той стороне? > Мне почему-то кажется, что та сторона не при чём :) А виноват как раз скрипт поднятия интерфейса... Возможно, в опциях нужно что-то добавить или убрать... > Ну в любом случае можно руками этот маршрут прибивать, тем более, если вы > этим нечасто будете пользоваться. > Скрпитик напишите, который поднимает ifup ppp1, и за одно route del. Скриптик-то можно, главное пока руками добиться... Отпишу ещё результаты в sysadmins@ -- Кругликов Илья ^ permalink raw reply [flat|nested] 38+ messages in thread
* Re: [Comm] [Desktop] pptp через pptp как сделать пошагово? 2008-05-30 1:38 ` Maxim Tsaryuk 2008-05-30 4:27 ` Ilis @ 2008-05-30 4:53 ` Serge 2008-05-30 9:03 ` Michael Shigorin 2 siblings, 0 replies; 38+ messages in thread From: Serge @ 2008-05-30 4:53 UTC (permalink / raw) To: Mad-Max-Traveller, ALT Linux Community general discussions > Предполагаю что что-то меняется в маршрутизации, но не знаю как > посмотреть таблицу маршрутов. В офтопике route print, а тут такое не > проходит. netstat -r ip route list ^ permalink raw reply [flat|nested] 38+ messages in thread
* Re: [Comm] [Desktop] pptp через pptp как сделать пошагово? 2008-05-30 1:38 ` Maxim Tsaryuk 2008-05-30 4:27 ` Ilis 2008-05-30 4:53 ` Serge @ 2008-05-30 9:03 ` Michael Shigorin 2 siblings, 0 replies; 38+ messages in thread From: Michael Shigorin @ 2008-05-30 9:03 UTC (permalink / raw) To: community On Fri, May 30, 2008 at 09:38:43AM +0800, Maxim Tsaryuk wrote: > Предполагаю что что-то меняется в маршрутизации, но не знаю как > посмотреть таблицу маршрутов. В офтопике route print, а тут > такое не проходит. /sbin/route или /sbin/ip ro -- ---- WBR, Michael Shigorin <mike@altlinux.ru> ------ Linux.Kiev http://www.linux.kiev.ua/ ^ permalink raw reply [flat|nested] 38+ messages in thread
end of thread, other threads:[~2008-06-07 16:39 UTC | newest] Thread overview: 38+ messages (download: mbox.gz / follow: Atom feed) -- links below jump to the message on this page -- 2008-05-28 19:54 ` [Comm] [Desktop] pptp через pptp как сделать пошагово? Michael Shigorin 2008-05-28 20:13 ` Michael A. Kangin 2008-05-29 2:44 ` Ilis 2008-05-29 9:21 ` Michael Shigorin 2008-05-29 9:25 ` Ilis 2008-05-29 9:35 ` Alexei V. Mezin 2008-05-29 10:36 ` Ilis 2008-05-29 10:43 ` Alexei V. Mezin 2008-05-29 10:53 ` Владимир Гусев 2008-05-29 11:15 ` Ilis 2008-05-29 12:20 ` Владимир Гусев 2008-05-29 14:20 ` Ilis 2008-05-29 22:14 ` Michael Shigorin 2008-05-29 22:16 ` Michael Shigorin 2008-05-29 11:26 ` Michael Shigorin 2008-05-29 12:15 ` Владимир Гусев 2008-05-30 1:38 ` Maxim Tsaryuk 2008-05-30 4:27 ` Ilis 2008-06-02 14:42 ` Ilis 2008-06-02 16:47 ` Ilis 2008-06-02 16:55 ` Alexei V. Mezin 2008-06-02 17:04 ` Ilis 2008-06-04 2:30 ` Ilis 2008-06-04 8:23 ` Alexei V. Mezin 2008-06-07 11:06 ` Vitaly Kuznetsov 2008-06-07 11:18 ` Alexei V. Mezin 2008-06-07 11:34 ` Vitaly Kuznetsov 2008-06-07 15:25 ` Ilis 2008-06-07 15:34 ` Alexei V. Mezin 2008-06-07 15:50 ` Ilis 2008-06-07 15:52 ` Vitaly Kuznetsov 2008-06-07 16:04 ` Ilis 2008-06-07 16:11 ` Alexei V. Mezin 2008-06-07 16:16 ` Ilis 2008-06-07 16:25 ` Alexei V. Mezin 2008-06-07 16:39 ` Ilis 2008-05-30 4:53 ` Serge 2008-05-30 9:03 ` Michael Shigorin
ALT Linux Community general discussions This inbox may be cloned and mirrored by anyone: git clone --mirror http://lore.altlinux.org/community/0 community/git/0.git # If you have public-inbox 1.1+ installed, you may # initialize and index your mirror using the following commands: public-inbox-init -V2 community community/ http://lore.altlinux.org/community \ mandrake-russian@linuxteam.iplabs.ru community@lists.altlinux.org community@lists.altlinux.ru community@lists.altlinux.com public-inbox-index community Example config snippet for mirrors. Newsgroup available over NNTP: nntp://lore.altlinux.org/org.altlinux.lists.community AGPL code for this site: git clone https://public-inbox.org/public-inbox.git