From: ash-aman@mail.ru To: community@lists.altlinux.org Subject: [Comm] Помощь в настройке VPN-подключения. Date: Tue, 13 Feb 2007 22:27:04 +0300 Message-ID: <E1HH3Iu-0002A8-00.ash-aman-mail-ru@f32.mail.ru> (raw) In-Reply-To: <mailman.3631.1171392443.14333.community@lists.altlinux.org> Дистрибутив - AltLinux 3.0 Compact, пользуюсь совсем недавно. Провайдер протянул локалку и через нее же идет коннект к инету, соответственно. Выполнял все по документации из /usr/share/doc. С помощью команды pptp-config изменил chap-secrets, создал туннель. Логин, пароль впечатывал правильно, ip сервака тоже, свой - динамический, но когда юзал Windows (да, есть грешок %)) мне присвоили ip 192.168.0.105. Получил файлы с таким содержанием: 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 Плюс в одном из руководств читал, что необходимо сделать этот туннель по умолчанию. Соответственно с помощью скрипта создал файл info__default. 3. options.pptp Пустой. При подключении он был изменен автоматически. 4. /etc/sysconfig/pptp # Tunnel name PPTP_TUNNEL=info После этого стартую туннель pppd call info С помощью команды ifconfig получаю следующие данные: eth0 Link encap:Ethernet HWaddr 00:E0:4D:07:31:28 inet addr:192.168.0.105 Bcast:0.0.0.0 Mask:255.255.255.0 UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 RX packets:15464 errors:0 dropped:0 overruns:0 frame:0 TX packets:7460 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:1000 RX bytes:2174012 (2.0 MiB) TX bytes:758139 (740.3 KiB) Interrupt:17 Base address:0xc000 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:2416 errors:0 dropped:0 overruns:0 frame:0 TX packets:2416 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:0 RX bytes:180861 (176.6 KiB) TX bytes:180861 (176.6 KiB) ppp0 Link encap:Point-to-Point Protocol inet addr:89.237.0.4 P-t-P:192.168.0.1 Mask:255.255.255.255 UP POINTOPOINT RUNNING NOARP MULTICAST MTU:1500 Metric:1 RX packets:4 errors:0 dropped:0 overruns:0 frame:0 TX packets:85892 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:3 RX bytes:40 (40.0 b) TX bytes:31362277 (29.9 MiB) А с 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 И, к сожалению, инет не работает. Мое предполложение - дело в маршрутизации. И в одой из статей по VPN-подключениям видел, что, когда вводишь route -n должна присутствовать еще одна строчка, где под Iface - lo. Объясните, пожалуйста, в чем дело и что с этим делать Заранее спасибо.
next parent reply other threads:[~2007-02-13 19:27 UTC|newest] Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top 2007-02-13 19:27 ` ash-aman [this message] 2007-02-14 0:58 ` Evgenii Terechkov 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=E1HH3Iu-0002A8-00.ash-aman-mail-ru@f32.mail.ru \ --to=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