From: Vitaly Kuznetsov <vitty@altlinux.ru>
To: ALT Linux Community general discussions <community@lists.altlinux.org>
Subject: Re: [Comm] [Desktop] pptp через pptp как сделать пошагово?
Date: Sat, 07 Jun 2008 19:52:56 +0400
Message-ID: <484AAED8.6080701@altlinux.ru> (raw)
In-Reply-To: <91dc8dbf0806070850q16f3bbd9lce063af8faad3435@mail.gmail.com>
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
и после этого запустить поднятие второго. Результат писать сюда ;)
next prev parent reply other threads:[~2008-06-07 15:52 UTC|newest]
Thread overview: 38+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-05-28 19:54 ` 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 [this message]
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
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=484AAED8.6080701@altlinux.ru \
--to=vitty@altlinux.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