From: Evgenii Terechkov <evg@altlinux.ru> To: ash-aman@mail.ru Cc: ALT Linux Community <community@lists.altlinux.org> Subject: Re: [Comm] Помощь в настройке VPN-подключения. Date: Wed, 14 Feb 2007 07:58:37 +0700 Message-ID: <m3zm7hftc2.fsf@evg.krastel.ru> (raw) In-Reply-To: <E1HH3Iu-0002A8-00.ash-aman-mail-ru@f32.mail.ru> (ash-aman@mail.ru's message of "Tue\, 13 Feb 2007 22\:27\:04 +0300") Неизвестный пишет: > Дистрибутив - AltLinux 3.0 Compact, пользуюсь совсем недавно. В этом дистрибутиве штатный способ - посредством etcnet. Так что рекомендовал бы вам почитать про настройку PPTP из etcnet. > Провайдер протянул локалку и через нее же идет коннект к инету, > соответственно. Выполнял все по документации из /usr/share/doc. С помощью > команды pptp-config изменил chap-secrets, создал туннель. Логин, пароль > впечатывал правильно, ip сервака тоже, свой - динамический, но когда юзал > Windows (да, есть грешок %)) мне присвоили ip 192.168.0.105. Получил > файлы с таким содержанием: Достаточно чтения документаций по pptp-client и etcnet. > 1. Chap-secrets. >># Secrets for authentication using CHAP >># client server secret IP addresses >>homenet724 PPTP ********** * > 2. /etc/ppp/peers/info >># >># PPTP Tunnel configuration for tunnel info >># Server IP: 192.168.0.1 >># >>debug >>pty "/usr/sbin/pptp 192.168.0.1 --nolaunchpppd" >>connect /bin/true >>defaultroute >># >># Tags for CHAP secret selection >># >>name homenet724 >>remotename PPTP >># >># Tunnel name for ip-up.local or ip-up.d scripts >># >>ipparam info >># >># Include the main PPTP configuration file >># >>file /etc/ppp/options.pptp Вроде всё в порядке. Может ещё что-то типа "require mppe" понадобиться. > Плюс в одном из руководств читал, что необходимо сделать этот туннель по > умолчанию. Соответственно с помощью скрипта создал файл info__default. В каком таком руководстве? Что за скрипт такой? Не используйте вы все эти "Руководства". Вред один будет. > 3. options.pptp > Пустой. При подключении он был изменен автоматически. Кем? Чем? Когда? Зачем? Хотя не суть. Просто вы видимо чего-то не понимаете. > 4. /etc/sysconfig/pptp > # Tunnel name > PPTP_TUNNEL=info Тогда логично ещё и #chkconfig pptptunnel on и рулить посредством #service pptptunnel {stop|start} > А с rout -n такие: > Kernel IP routing table > Destination Gateway Genmask Flags Metric Ref Use Iface > 192.168.0.1 0.0.0.0 255.255.255.255 UH 0 0 0 ppp0 > 192.168.0.0 0.0.0.0 255.255.255.0 U 0 0 0 eth0 > 0.0.0.0 192.168.0.1 0.0.0.0 UG 0 0 0 ppp0 > И, к сожалению, инет не работает. Мое предполложение - дело в > маршрутизации. Очень похоже на роутинг. Как именно не работает? При подключений начинает передавать хучу данных и отваливается через какое-то время? Тогда читайте howto-diagnosis.html, там всё про это есть. Ну и докуменаций по используемой сетевой подсистеме (etc, net-scripts) на предмет руления роутингом. > И в одой из статей по VPN-подключениям видел, что, когда вводишь route -n > должна присутствовать еще одна строчка, где под Iface - lo. Не обязательно. Бросьте вы левые/старые статьй читать. > Объясните, пожалуйста, в чем дело и что с этим делать Заранее спасибо. Неверно настроено. Починить. Пожалуйста. -- Терешков Евгений, ALT Linux Team.
next prev parent reply other threads:[~2007-02-14 0:58 UTC|newest] Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top 2007-02-13 19:27 ` ash-aman 2007-02-14 0:58 ` Evgenii Terechkov [this message] 2007-03-08 9:45 ` [Comm] ulog-acctd и экспорт данных куда-нибудь Dmitry Dolgopolov 2007-02-14 5:35 ` [Comm] Помощь в настройке VPN-подключения Andrey Rahmatullin
Reply instructions: You may reply publicly to this message via plain-text email using any one of the following methods: * Save the following mbox file, import it into your mail client, and reply-to-all from there: mbox Avoid top-posting and favor interleaved quoting: https://en.wikipedia.org/wiki/Posting_style#Interleaved_style * Reply using the --to, --cc, and --in-reply-to switches of git-send-email(1): git send-email \ --in-reply-to=m3zm7hftc2.fsf@evg.krastel.ru \ --to=evg@altlinux.ru \ --cc=ash-aman@mail.ru \ --cc=community@lists.altlinux.org \ /path/to/YOUR_REPLY https://kernel.org/pub/software/scm/git/docs/git-send-email.html * If your mail client supports setting the In-Reply-To header via mailto: links, try the mailto: link
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