From: Pavel Tsybulin <pvtcomm@39871.copi.ru>
To: community@altlinux.ru
Subject: Re: [Comm] Compact pptp соединение
Date: Tue, 1 Jun 2004 23:54:41 +0400
Message-ID: <20040601195441.GB21460@pasha.alkorn.net> (raw)
In-Reply-To: <E1BVCTH-0007hD-00.altcomm-list-ru@f22.mail.ru>
On Tue, Jun 01, 2004 at 08:50:39PM +0400, "Jury Levykin" wrote:
> > > pty "/usr/sbin/pptp 192.168.150.1 --nolaunchpppd"
> > > connect /bin/true
> > > defaultroute
>
> VPN находится в другой сети, IP - 192.168.150.1
> шлюз для моей сети - 192.168.144.1
> его я и прописал в файл настройки туннеля [ 192.168.144.12:192.168.144.1 ]
> если написать туда адрес VPN - результат такойже [ 192.168.144.12:192.168.150.1 ]
>
> Destination Gateway Genmask Flags MSS Window irtt Iface
> 192.168.144.0 0.0.0.0 255.255.255.0 U 0 0 0 eth0
> 127.0.0.0 0.0.0.0 255.0.0.0 U 0 0 0 lo
> 0.0.0.0 192.168.144.1 0.0.0.0 UG 0 0 0 eth0
>
> Что не правильно, где еще определить ip адрес вместо 1.1.1.1 ?
1. Я Вас прошу, не надо квотить 10 раз собственные логи, все их уже видели.
2. Ну прочтите, пожалуйста, в конце-концов документацию на pptp и pppd
Там ясно написано, что
- в опциях в виде local_ip:remote_ip указывается адреса НОВОГО соединения,
которое Вы стараетесь получить по ppp/pptp, но никак не существующего.
На какой сервер vpn лезть уже указано в строке вызова pptp:
pty "/usr/sbin/pptp 192.168.150.1 --nolaunchpppd"
3. Что-то в Вашей таблице маршрутизации я не вижу маршрута на 150-ю подсеть,
и в то-же время соединение с 192.168.150.1 осуществляется. Это как ?
4. Примите к сведению, что вызов pppd с опцией defaultroute будет конфликтовать
с существующим default gateway
5. Смотрю я на Ваши логи, и кажется мне, что Вам выдан ip 1.1.1.199,
а адрес того конца тунеля - 1.1.1.1
Это _действительно_ неверные адреса ?
--
- Свидетель, вы женаты? -- Hет, это я просто так выгляжу.
prev parent reply other threads:[~2004-06-01 19:54 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-06-01 16:50 "Jury Levykin"
2004-06-01 19:54 ` Pavel Tsybulin [this message]
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=20040601195441.GB21460@pasha.alkorn.net \
--to=pvtcomm@39871.copi.ru \
--cc=community@altlinux.ru \
/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