ALT Linux Community general discussions
 help / color / mirror / Atom feed
* [Comm] Не могу справиться с pptpd, помогите.
@ 2004-07-05  9:38 community
  2004-07-05  9:52 ` Максим Ткаченко
                   ` (2 more replies)
  0 siblings, 3 replies; 18+ messages in thread
From: community @ 2004-07-05  9:38 UTC (permalink / raw)
  To: community

Ни как не могу справиться с pptpd на Мастере 2.2
В логах пишет:
pptpd[14573]: CTRL: Client yyy.yyy.yyy.yyy control connection started
pptpd[14573]: CTRL: Starting call (launching pppd, opening GRE)
pptpd[14573]: GRE: read(fd=5,buffer=804d620,len=8196) from PTY failed: 
status = -1 error = Input/output error
pptpd[14573]: CTRL: PTY read or GRE write failed (pty,gre)=(5,6)
pptpd[14573]: CTRL: Client yyy.yyy.yyy.yyy control connection finished

Третий день "рысачу" по инету, много у кого такая беда, на так 
окончательно решения не нашел.

Установлены:
ppp-2.4.1-alt8
pptpd-1.1.3_20030409-alt1
kernel-2.4.20-alt15-up
ни чего самостоятельно не собиралось и ставилость через apt
eth0 - xxx.xxx.xxx.xxx (внешний, смотрящий в инет)
eth1 - 192.168.1.254 (внутрений, смотрящий в локальную сеть 192.168.1.0/24)

ad.firma.lan Сервер (AD), поддерживающий локальный DNS firma.lan

#pptpd.conf:
speed 115200
option /etc/ppp/options.pptpd
stimeout 10
debug
bcrelay eth1
localip 192.168.1.254
remoteip 192.168.1.100-110
listen xxx.xxx.xxx.xxx
pidfile /var/run/pptpd.pid

#options.pptpd
lock
debug
name pptpd
proxyarp
bsdcomp 0
refuse-pap
refuse-chap
refuse-mschap
require-mschap-v2
mppe-128
mppe-stateless
ms-dns ad.firma.lan

#options
lock

#chap-secrets
User	pptpd	"пароль"
pptpd	User	"пароль"
Файл chap-secrets делал при помощи pptp-command, так что не совсем 
понятно зачем вторая строчка, и нужна ли она вообше.

#iptables на PPTP сервере
iptables -A INPUT  -p 47 -j ACCEPT
iptables -A OUTPUT -p 47 -j ACCEPT

iptables -A INPUT  -p tcp --dport 1723 -j ACCEPT
iptables -A OUTPUT -p tcp --sport 1723 -j ACCEPT

Клиент W2K, настроеный с соответствии с 
http://poptop.sourceforge.net/dox/pptp_win2k/

#iptables со стороны клиента (клиент попадает в инет через линукс-шлюз)
iptables -A FORWARD -o $EXTERNAL_INTERFACE -p tcp /
-d xxx.xxx.xxx.xxx --dport 1723 -j ACCEPT



^ permalink raw reply	[flat|nested] 18+ messages in thread

end of thread, other threads:[~2004-07-08  9:37 UTC | newest]

Thread overview: 18+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2004-07-05  9:38 [Comm] Не могу справиться с pptpd, помогите community
2004-07-05  9:52 ` Максим Ткаченко
2004-07-05  9:55   ` community
2004-07-06  5:11     ` Максим Ткаченко
2004-07-05 10:59 ` Andrei M. Laptev
2004-07-05 11:17   ` Re[2]: " Alexey S. Kuznetsov
2004-07-05 12:09     ` community
2004-07-05 12:25       ` Re[2]: " Alexey S. Kuznetsov
2004-07-05 12:37         ` community
2004-07-06  4:18     ` Andrei M. Laptev
2004-07-05 12:18   ` community
2004-07-05 14:38     ` altex
2004-07-06  4:30     ` Andrei M. Laptev
2004-07-06  6:51       ` Re[2]: " Alexey S. Kuznetsov
2004-07-06  7:39         ` community
2004-07-06  7:45           ` Re[2]: " Alexey S. Kuznetsov
2004-07-08  9:37             ` community
2004-07-05 12:44 ` altex

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