ALT Linux Community general discussions
 help / color / mirror / Atom feed
From: Sergei Dolmatov <sergei@dolmatov.dsb.ru>
To: "Рассылка Community" <community@altlinux.ru>
Subject: Re: [Comm] pptpd+pptp-client
Date: Wed, 16 Apr 2003 17:24:19 +0900
Message-ID: <20030416082419.GC2907@dolmatov.dsb.ru> (raw)
In-Reply-To: <200304161201.42055.serpiph@entek.ru>

On Wed, Apr 16, 2003 at 12:01:42PM +0400, Епифанов Сергей wrote:
> Всем привет!
> 
> Решил попробовать сделать туннель через pptpd и pptp-client. 
> Однако никак не могу запустить связь (pptpd вроде запускается): 
> через pptp запускается pppd, который говорит, что не может 
> авторизовать сервер, хотя есть файл /etc/ppp/chap-secrets, в 
> котором все прописано.

В смысле, сервер должен отправить свой пароль клиенту? Обычно, конечно,
достаточно пароля от клиента.

Вообще, интересная проблема с chap-авторизацией, как раз вчера решал.
Клиент отказывался наотрез (ConfRej) авторизоваться по CHAP. Решилась
проблема указанием

+ua /etc/ppp/auth

в опциях pppd. Формат файла auth достаточно простой - на первой строке имя
пользователя, на второй - пароль.

> И еще вопрос: стоит ли задействовать вместо pptp-канала IPsec для 
> создания защищенного канала через инет?

По мне - стоит. Конечно, смотря какие цели преследуются. Если, к примеру,
надо просто два (или более) филиалов соединить по публичной сети в единую
виртуальную - то да.

PPTP в наше время и в нашем месте все чаще и чаще применяется для
подключения пользователей к интернету по ethernet.

> 
> Файл /etc/pptpd.conf:
> option /etc/ppp/options.pptpd
> localip 192.168.1.2
> remoteip 192.168.1.3-100
> 
> Файл /etc/ppp/options.pptpd:
> lock
> debug
> chap-secrets
  ^^^
Есть и такая опция у pppd?..

--
Regards,
Sergei Dolmatov.
---
Memory fault - where am I?
OS.


  reply	other threads:[~2003-04-16  8:24 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-04-16  8:01 Епифанов Сергей
2003-04-16  8:24 ` Sergei Dolmatov [this message]
2003-04-16  9:15   ` Епифанов Сергей
2003-04-16  9:31     ` vic ismakaev
2003-04-16 13:50       ` Oleg K. Artemjev
2003-04-16 10:04         ` vic ismakaev
2003-04-16 10:48 ` Alex Savvin
2003-04-18  6:38 ` Alexei Takaseev

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=20030416082419.GC2907@dolmatov.dsb.ru \
    --to=sergei@dolmatov.dsb.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