ich habe ein kleines config Problem mit dem pptpd unter lenny. Es funktioniet zur Zeit kein Verbindungsaufbau. Die Kiste ist ein Router die auch die Einwahl ins I-Net ersclägt.
Meine configs:
/etc/pptpd.conf:
Code: Alles auswählen
ppp /usr/sbin/pppd
option /etc/ppp/pptpd-options
debug
stimeout 10
#noipparam
logwtmp
#bcrelay eth1
localip 192.168.0.30
remoteip 192.168.0.31-35
Code: Alles auswählen
auth
#name pptpd
#chapms-strip-domain
refuse-pap
#refuse-chap
require-chap
refuse-mschap
require-mschap-v2
require-mppe-128
ms-dns 192.168.0.17
#ms-wins 10.0.0.4
proxyarp
nodefaultroute
debug
#dump
lock
nobsdcomp
Code: Alles auswählen
"username-dsl-provier-hier" * "dsl-provider-password-hier"
"vpn-user-hier" * "vpn-password-hier"
Code: Alles auswählen
Feb 28 12:30:24 router pptpd[5195]: MGR: Launching /usr/sbin/pptpctrl to handle client
Feb 28 12:30:24 router pptpd[5195]: CTRL: local address = 192.168.0.30
Feb 28 12:30:24 router pptpd[5195]: CTRL: remote address = 192.168.0.31
Feb 28 12:30:24 router pptpd[5195]: CTRL: pppd options file = /etc/ppp/pptpd-options
Feb 28 12:30:24 router pptpd[5195]: CTRL: Client 192.168.0.6 control connection started
Feb 28 12:30:24 router pptpd[5195]: CTRL: Received PPTP Control Message (type: 1)
Feb 28 12:30:24 router pptpd[5195]: CTRL: Made a START CTRL CONN RPLY packet
Feb 28 12:30:24 router pptpd[5195]: CTRL: I wrote 156 bytes to the client.
Feb 28 12:30:24 router pptpd[5195]: CTRL: Sent packet to client
Feb 28 12:30:24 router pptpd[5195]: CTRL: Received PPTP Control Message (type: 7)
Feb 28 12:30:24 router pptpd[5195]: CTRL: Set parameters to 100000000 maxbps, 64 window size
Feb 28 12:30:24 router pptpd[5195]: CTRL: Made a OUT CALL RPLY packet
Feb 28 12:30:24 router pptpd[5195]: CTRL: Starting call (launching pppd, opening GRE)
Feb 28 12:30:24 router pptpd[5195]: CTRL: pty_fd = 6
Feb 28 12:30:24 router pptpd[5195]: CTRL: tty_fd = 7
Feb 28 12:30:24 router pptpd[5195]: CTRL: I wrote 32 bytes to the client.
Feb 28 12:30:24 router pptpd[5195]: CTRL: Sent packet to client
Feb 28 12:30:24 router pptpd[5197]: CTRL (PPPD Launcher): program binary = /usr/sbin/pppd
Feb 28 12:30:24 router pptpd[5197]: CTRL (PPPD Launcher): local address = 192.168.0.30
Feb 28 12:30:24 router pptpd[5197]: CTRL (PPPD Launcher): remote address = 192.168.0.31
Feb 28 12:30:24 router pppd[5197]: Plugin /usr/lib/pptpd/pptpd-logwtmp.so loaded.
Feb 28 12:30:24 router pppd[5197]: pptpd-logwtmp: $Version$
Feb 28 12:30:24 router pppd[5197]: The remote system is required to authenticate itself
Feb 28 12:30:24 router pppd[5197]: but I couldn't find any suitable secret (password) for it to use to do so.
Feb 28 12:30:24 router pppd[5197]: (None of the available passwords would let it use an IP address.)
Feb 28 12:30:24 router pptpd[5195]: 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
Feb 28 12:30:24 router pptpd[5195]: CTRL: PTY read or GRE write failed (pty,gre)=(6,7)
Feb 28 12:30:24 router pptpd[5195]: CTRL: Reaping child PPP[5197]
Feb 28 12:30:24 router pptpd[5195]: CTRL: Client 192.168.0.6 control connection finished
Feb 28 12:30:24 router pptpd[5195]: CTRL: Exiting now
Feb 28 12:30:24 router pptpd[5088]: MGR: Reaped child 5195
Code: Alles auswählen
iptables -A INPUT -i ppp0 -p tcp --dport 1723 -m state --state NEW -j ACCEPT
iptables -A INPUT -i ppp0 -p tcp --dport 47 -m state --state NEW -j ACCEPT