LINUX.ORG.RU
ФорумAdmin

debian pptpd


0

0
debian:~# tail /var/log/daemon.log 
Sep 14 22:24:53 debian pptpd[1586]: CTRL: Sent packet to client
Sep 14 22:24:53 debian pptpd[1587]: CTRL (PPPD Launcher): program binary = /usr/sbin/pppd
Sep 14 22:24:53 debian pptpd[1587]: CTRL (PPPD Launcher): local address = 10.1.0.1
Sep 14 22:24:53 debian pptpd[1587]: CTRL (PPPD Launcher): remote address = 10.1.0.2
Sep 14 22:24:53 debian pptpd[1586]: GRE: read(fd=6,buffer=8058640,len=8196) from PTY failed: status = -1 error = Input/output error, usually caused by unexpected termination of pppd, check option syntax and pppd logs
Sep 14 22:24:53 debian pptpd[1586]: CTRL: PTY read or GRE write failed (pty,gre)=(6,7)
Sep 14 22:24:53 debian pptpd[1586]: CTRL: Reaping child PPP[1587]
Sep 14 22:24:53 debian pptpd[1586]: CTRL: Client 94.179.8.208 control connection finished
Sep 14 22:24:53 debian pptpd[1586]: CTRL: Exiting now
Sep 14 22:24:53 debian pptpd[1585]: MGR: Reaped child 1586

debian:~# cat/etc/pptpd.conf 
ppp /usr/sbin/pppd
option /etc/ppp/pptpd-options
debug
stimeout 2
#noipparam
#logwtmp
localip 10.1.0.1
remoteip 10.1.0.2-245

debian:~# cat /etc/ppp/pptpd-options 
name pptpd
auth
refuse-pap
refuse-chap
refuse-mschap
require-mschap-v2
require-mppe
require-mppe-128
nobsdcomp
nodeflate
deflate 0
noccp
lock
kdebug 1
mtu 1400
mru 1400
proxyarp
#ms-dns 10.1.1.1
lcp-echo-failure 5
lcp-echo-interval 2
logfile /var/log/pptp.log

debian:~# cat /etc/ppp/chap-secrets 
user1 pptpd 1234 *
user2 pptpd 1234 *

iptables -A INPUT -p tcp --dport 1723 -j ACCEPT
iptables -A INPUT -p 47 -j ACCEPT

zcat /proc/config.gz http://pastebin.com/ZpCFk9V3

все это на дедике у linode.org, на этом же ядре только с арчем все было ок

А в логах ничего криминального нет?

usually caused by unexpected termination of pppd, check option syntax and pppd logs


logfile /var/log/pptp.log

router ★★★★★ ()

[code]pppd is unable to open the /dev/ppp device.#012You need to create the /dev/ppp device node by#012executing the following command as root:#012#011mknod /dev/ppp c 108 0[/code] трындец

hellysmile ()
Вы не можете добавлять комментарии в эту тему. Тема перемещена в архив.