pptpd, keine Verbindung vom Client

Einrichten des lokalen Netzes, Verbindung zu anderen Computern und Diensten.
Antworten
moodsx
Beiträge: 188
Registriert: 15.03.2007 09:17:25

pptpd, keine Verbindung vom Client

Beitrag von moodsx » 28.02.2009 12:33:52

Hallo Community,

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
/etc/ppp/pptpd-options:

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
/etc/ppp/chap-secrets:

Code: Alles auswählen

"username-dsl-provier-hier" * "dsl-provider-password-hier"

"vpn-user-hier" * "vpn-password-hier"
/var/log/syslog:

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


iptables:

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
Hat jemand einen Tipp für mich wo ich mich bei der config vetan habe? Danke!

moodsx
Beiträge: 188
Registriert: 15.03.2007 09:17:25

Re: pptpd, keine Verbindung vom Client

Beitrag von moodsx » 28.02.2009 22:18:13

Danke für Eure Hilfe, aber hat sich erledigt.

chap-secret:

Code: Alles auswählen

username servername password *
wobei "servername" bei mir gefehlt hat, hatte da nur "*" stehen.

Antworten