[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: vpn mit pptp zu einem windows server



Michael Renner schrieb:
On Friday 24 December 2004 23:42, Michael Krauss wrote:

Hallo


Moin,

Hallo

[...]


/etc/ppp/peers/tunel. Naja hab so einiges ausgestetet aber es will nicht.
Hänge mit dem client pc hinter einer firewall (auf iptables basis,
debian woody, 2.4.18er kernel, ppp verbindung zum internet).


Wird GRE von dieser Firewall geroutet? pptp ist da leider sehr eigen!

Kann ich nicht genau sagen. Auf was müsste ich achten? Geroutet wir bei mir eigentlich alles. Ich meine also ich habe bis jetzt nicht explizit (bewusst) bei den iptables auf GRE geachtet. Wenn ich mich von einem Windowsclient durch die Firewall hindurch mit dem VPN-server verbinde funktioniert es. Darum bin ich auch davon ausgegangen, dass es auch mit nem Linux-Client funkst. Habe auch Versucht mich direkt mit dem Rechner (mit VPN-Client) an das DSL Modem anzuschließen und so den Tunnel aufzubauen. Einwahl zum Provider ging 1a. VPN Verbindung gleicher Fehler.

Bei meinen Verschuchen habe ich die Konfiguration vom howto
(http://pptpclient.sourceforge.net/howto-debian.phtml) verwendet.
Die Verbindung wird auch aufgebaut (iptraf zeigt es jedenfalls) jedoch
wird die verbindung dann unterbrochen.


Was sagen die Logfiles?

aus der Syslog.

Dec 25 11:50:29 bandy kernel: ppp_mppe: module license 'BSD without advertisement clause' taints kernel.
Dec 25 11:50:29 bandy kernel: PPP MPPE Compression module registered
Dec 25 11:50:44 bandy kernel: device eth0 left promiscuous mode
Dec 25 11:50:45 bandy kernel: device eth0 entered promiscuous mode
Dec 25 11:50:49 bandy pppd[2362]: pppd options in effect:
Dec 25 11:50:49 bandy pppd[2362]: debug^I^I# (from command line)
Dec 25 11:50:49 bandy pppd[2362]: nodetach^I^I# (from command line)
Dec 25 11:50:49 bandy pppd[2362]: logfd 2^I^I# (from command line)
Dec 25 11:50:49 bandy pppd[2362]: dump^I^I# (from command line)
Dec 25 11:50:49 bandy pppd[2362]: noauth^I^I# (from /etc/ppp/options.pptp)
Dec 25 11:50:49 bandy pppd[2362]: name <da stand mein name>^I^I# (from /etc/ppp/peers/vpn)
Dec 25 11:50:49 bandy pppd[2362]: ^I^I# (from /etc/ppp/options.pptp)
Dec 25 11:50:49 bandy pppd[2362]: pty pptp <hier stnd der vpn server> --nolaunchpppd^I^I# (from /etc/ppp/peers/vpn)
Dec 25 11:50:49 bandy pppd[2362]: crtscts^I^I# (from /etc/ppp/options)
Dec 25 11:50:49 bandy pppd[2362]: ^I^I# (from /etc/ppp/options)
Dec 25 11:50:49 bandy pppd[2362]: asyncmap 0^I^I# (from /etc/ppp/options)
Dec 25 11:50:49 bandy pppd[2362]: lcp-echo-failure 4^I^I# (from /etc/ppp/options) Dec 25 11:50:49 bandy pppd[2362]: lcp-echo-interval 30^I^I# (from /etc/ppp/options)
Dec 25 11:50:49 bandy pppd[2362]: hide-password^I^I# (from /etc/ppp/options)
Dec 25 11:50:49 bandy pppd[2362]: ipparam whz^I^I# (from /etc/ppp/peers/vpn)
Dec 25 11:50:49 bandy pppd[2362]: proxyarp^I^I# (from /etc/ppp/options)
Dec 25 11:50:49 bandy pppd[2362]: nobsdcomp^I^I# (from /etc/ppp/options.pptp) Dec 25 11:50:49 bandy pppd[2362]: nodeflate^I^I# (from /etc/ppp/options.pptp) Dec 25 11:50:49 bandy pppd[2362]: require-mppe^I^I# (from /etc/ppp/options.pptp)
Dec 25 11:50:49 bandy pppd[2362]: noipx^I^I# (from /etc/ppp/options)
Dec 25 11:50:49 bandy pppd[2362]: pppd 2.4.2 started by root, uid 0
Dec 25 11:50:49 bandy pppd[2362]: using channel 3
Dec 25 11:50:49 bandy pptp[2363]: anon log[main:pptp.c:243]: The synchronous pptp option is NOT activated
Dec 25 11:50:49 bandy pppd[2362]: Using interface ppp0
Dec 25 11:50:49 bandy pppd[2362]: Connect: ppp0 <--> /dev/pts/0
Dec 25 11:50:49 bandy pptp[2372]: anon log[ctrlp_rep:pptp_ctrl.c:243]: Sent control packet type is 1 'Start-Control-Connection-Request' Dec 25 11:50:49 bandy pptp[2372]: anon log[ctrlp_disp:pptp_ctrl.c:721]: Received Start Control Connection Reply Dec 25 11:50:49 bandy pptp[2372]: anon log[ctrlp_disp:pptp_ctrl.c:755]: Client connection established. Dec 25 11:50:50 bandy pppd[2362]: sent [LCP ConfReq id=0x1 <asyncmap 0x0> <magic 0xafa3a41d> <pcomp> <accomp>] Dec 25 11:50:50 bandy pptp[2372]: anon log[ctrlp_rep:pptp_ctrl.c:243]: Sent control packet type is 7 'Outgoing-Call-Request' Dec 25 11:50:50 bandy pptp[2372]: anon log[ctrlp_disp:pptp_ctrl.c:841]: Received Outgoing Call Reply. Dec 25 11:50:50 bandy pptp[2372]: anon log[ctrlp_disp:pptp_ctrl.c:880]: Outgoing call established (call ID 0, peer's call ID 60730). Dec 25 11:50:50 bandy pppd[2362]: rcvd [LCP ConfReq id=0x0 <mru 1400> <auth eap> <magic 0x6c040c57> <pcomp> <accomp> <callback CBCP>]
Dec 25 11:50:50 bandy pppd[2362]: sent [LCP ConfRej id=0x0 <callback CBCP>]
Dec 25 11:50:50 bandy pppd[2362]: rcvd [LCP ConfAck id=0x1 <asyncmap 0x0> <magic 0xafa3a41d> <pcomp> <accomp>] Dec 25 11:50:50 bandy pppd[2362]: rcvd [LCP ConfReq id=0x1 <mru 1400> <auth eap> <magic 0x6c040c57> <pcomp> <accomp>]
Dec 25 11:50:50 bandy pppd[2362]: sent [LCP ConfNak id=0x1 <auth pap>]
Dec 25 11:50:50 bandy pppd[2362]: rcvd [LCP ConfReq id=0x2 <mru 1400> <auth chap MS-v2> <magic 0x6c040c57> <pcomp> <accomp>]
Dec 25 11:50:50 bandy pppd[2362]: sent [LCP ConfNak id=0x2 <auth pap>]
Dec 25 11:50:50 bandy pppd[2362]: rcvd [LCP ConfReq id=0x3 <mru 1400> <auth chap MS> <magic 0x6c040c57> <pcomp> <accomp>]
Dec 25 11:50:50 bandy pppd[2362]: sent [LCP ConfNak id=0x3 <auth pap>]
Dec 25 11:50:50 bandy pppd[2362]: rcvd [LCP ConfReq id=0x4 <mru 1400> <auth chap MS> <magic 0x6c040c57> <pcomp> <accomp>]
Dec 25 11:50:50 bandy pppd[2362]: sent [LCP ConfNak id=0x4 <auth pap>]
Dec 25 11:50:50 bandy pppd[2362]: rcvd [LCP ConfReq id=0x5 <mru 1400> <auth chap MS> <magic 0x6c040c57> <pcomp> <accomp>]
Dec 25 11:50:50 bandy pppd[2362]: sent [LCP ConfNak id=0x5 <auth pap>]
Dec 25 11:50:50 bandy pppd[2362]: rcvd [LCP ConfReq id=0x6 <mru 1400> <auth chap MS> <magic 0x6c040c57> <pcomp> <accomp>]
Dec 25 11:50:50 bandy pppd[2362]: sent [LCP ConfRej id=0x6 <auth chap MS>]
Dec 25 11:50:50 bandy pppd[2362]: rcvd [LCP TermReq id=0x7 "l\004\014W\000<\37777777715t\000\000\003\37777777627"]
Dec 25 11:50:50 bandy pppd[2362]: sent [LCP TermAck id=0x7]
Dec 25 11:50:50 bandy pptp[2372]: anon log[ctrlp_disp:pptp_ctrl.c:895]: Received Call Clear Request. Dec 25 11:50:53 bandy pppd[2362]: sent [LCP ConfReq id=0x1 <asyncmap 0x0> <magic 0xafa3a41d> <pcomp> <accomp>]
Dec 25 11:51:20 bandy last message repeated 9 times
Dec 25 11:51:21 bandy pptp[2372]: anon log[pptp_read_some:pptp_ctrl.c:525]: read returned zero, peer has closed Dec 25 11:51:21 bandy pptp[2372]: anon log[call_callback:pptp_callmgr.c:77]: Closing connection Dec 25 11:51:21 bandy pppd[2362]: Script pptp <hier stand der server> --nolaunchpppd finished (pid 2363), status = 0x0
Dec 25 11:51:22 bandy dhclient: DHCPREQUEST on eth0 to 192.168.1.105 port 67
Dec 25 11:51:22 bandy dhclient: DHCPACK from 192.168.1.105
Dec 25 11:51:22 bandy dhclient: bound to 192.168.1.16 -- renewal in 300 seconds.
Dec 25 11:51:23 bandy pppd[2362]: LCP: timeout sending Config-Requests
Dec 25 11:51:23 bandy pppd[2362]: Connection terminated.
Dec 25 11:51:23 bandy pppd[2362]: tcflush failed: Input/output error
Dec 25 11:51:23 bandy pppd[2362]: Exit.

CU

danke & gruss
Michael



Reply to: