Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 5 Jan 2007 01:53:04 +0200
From:      Clickety <clicketyclicky@gmail.com>
To:        freebsd-questions@freebsd.org
Subject:   pptpclient vpn problem
Message-ID:  <49f513c40701041553je932c4dg248a9846629e1b5e@mail.gmail.com>

next in thread | raw e-mail | index | archive | help
Hello!

I have a problem setting up VPN connection to my workplace.

I followed this tutorial http://www.freebsddiary.org/pptp.php

When i start pptp client it looks like the connection is created.
I get an ip address on tun0. Routes are added to the routing table and
everything seems fine.
But when i try to connect/ping to any server through the vpn, the
connection closes.
This vpn connection works from my XP box with no problems.

/etc/ppp/ppp.conf

WORK:
  set authname myusername
  set authkey mypass
 set timeout 0
  set ifaddr 0 0
  add 192.168.100.0/24 HISADDR
 alias enable yes
 disable ipv6cp


/var/log/ppp.log

Jan  4 22:49:33 bsd ppp[7376]: Phase: Using interface: tun0
Jan  4 22:49:33 bsd ppp[7376]: Phase: deflink: Created in closed state
Jan  4 22:49:33 bsd ppp[7376]: Warning: The alias command is deprecated
Jan  4 22:49:33 bsd ppp[7376]: Phase: PPP Started (direct mode).
Jan  4 22:49:33 bsd ppp[7376]: Phase: bundle: Establish
Jan  4 22:49:33 bsd ppp[7376]: Phase: deflink: closed -> opening
Jan  4 22:49:33 bsd ppp[7376]: Phase: deflink: Connected!
Jan  4 22:49:33 bsd ppp[7376]: Phase: deflink: opening -> carrier
Jan  4 22:49:34 bsd ppp[7376]: Phase: deflink: carrier -> lcp
Jan  4 22:49:36 bsd ppp[7376]: Phase: bundle: Authenticate
Jan  4 22:49:36 bsd ppp[7376]: Phase: deflink: his = CHAP 0x81, mine = none
Jan  4 22:49:36 bsd ppp[7376]: Phase: Chap Input: CHALLENGE (16 bytes from gw)
Jan  4 22:49:36 bsd ppp[7376]: Phase: Chap Output: RESPONSE (user)
Jan  4 22:49:37 bsd ppp[7376]: Phase: Chap Input: SUCCESS
(S=F35FEFF020584E1B747EC208F7B6BF59148D5CBF)
Jan  4 22:49:37 bsd ppp[7376]: Phase: deflink: lcp -> open
Jan  4 22:49:37 bsd ppp[7376]: Phase: bundle: Network
Jan  4 22:49:44 bsd ppp[7376]: Phase: deflink: open -> lcp
Jan  4 22:49:44 bsd ppp[7376]: Phase: bundle: Terminate
Jan  4 22:49:44 bsd ppp[7376]: Phase: Signal 15, terminate.
Jan  4 22:49:44 bsd ppp[7376]: Phase: Signal 15, terminate.
Jan  4 22:49:47 bsd ppp[7376]: Phase: deflink: Disconnected!
Jan  4 22:49:47 bsd ppp[7376]: Phase: deflink: Connect time: 14 secs:
584 octets in, 776 octets out
Jan  4 22:49:47 bsd ppp[7376]: Phase: deflink: 15 packets in, 17 packets out
Jan  4 22:49:47 bsd ppp[7376]: Phase:  total 97 bytes/sec, peak 202
bytes/sec on Thu Jan  4 22:49:38 2007
Jan  4 22:49:47 bsd ppp[7376]: Phase: deflink: lcp -> closed
Jan  4 22:49:47 bsd ppp[7376]: Phase: bundle: Dead
Jan  4 22:49:47 bsd ppp[7376]: Phase: PPP Terminated (normal).


/var/log/messages
Jan  4 22:49:31 bsd pptp[7376]: anon log[main:pptp.c:267]: The
synchronous pptp option is NOT activated
Jan  4 22:49:32 bsd pptp[7379]: anon log[ctrlp_rep:pptp_ctrl.c:251]:
Sent control packet type is 1 'Start-Control-Connection-Request'
Jan  4 22:49:32 bsd pptp[7379]: anon log[ctrlp_disp:pptp_ctrl.c:740]:
Received Start Control Connection Reply
Jan  4 22:49:32 bsd pptp[7379]: anon log[ctrlp_disp:pptp_ctrl.c:774]:
Client connection established.
Jan  4 22:49:33 bsd pptp[7379]: anon log[ctrlp_rep:pptp_ctrl.c:251]:
Sent control packet type is 7 'Outgoing-Call-Request'
Jan  4 22:49:33 bsd pptp[7379]: anon log[ctrlp_disp:pptp_ctrl.c:859]:
Received Outgoing Call Reply.
Jan  4 22:49:33 bsd pptp[7379]: anon log[ctrlp_disp:pptp_ctrl.c:898]:
Outgoing call established (call ID 0, peer's call ID 140).
Jan  4 22:49:33 bsd ppp[7376]: Warning: The alias command is deprecated
Jan  4 22:49:35 bsd pptp[7380]: anon log[decaps_gre:pptp_gre.c:388]:
accepting packet 0
Jan  4 22:49:35 bsd pptp[7380]: anon log[decaps_gre:pptp_gre.c:388]:
accepting packet 1
Jan  4 22:49:36 bsd pptp[7380]: anon log[decaps_gre:pptp_gre.c:388]:
accepting packet 2
Jan  4 22:49:36 bsd pptp[7380]: anon log[decaps_gre:pptp_gre.c:388]:
accepting packet 3
Jan  4 22:49:36 bsd pptp[7380]: anon log[decaps_gre:pptp_gre.c:388]:
accepting packet 4
Jan  4 22:49:37 bsd pptp[7380]: anon log[decaps_gre:pptp_gre.c:388]:
accepting packet 5
Jan  4 22:49:37 bsd pptp[7380]: anon log[decaps_gre:pptp_gre.c:388]:
accepting packet 6
Jan  4 22:49:37 bsd pptp[7380]: anon log[decaps_gre:pptp_gre.c:388]:
accepting packet 7
Jan  4 22:49:37 bsd pptp[7380]: anon log[decaps_gre:pptp_gre.c:388]:
accepting packet 8
Jan  4 22:49:37 bsd pptp[7380]: anon log[decaps_gre:pptp_gre.c:388]:
accepting packet 9
Jan  4 22:49:37 bsd pptp[7380]: anon log[decaps_gre:pptp_gre.c:388]:
accepting packet 10
Jan  4 22:49:38 bsd pptp[7380]: anon log[decaps_gre:pptp_gre.c:388]:
accepting packet 11
Jan  4 22:49:38 bsd pptp[7380]: anon log[decaps_gre:pptp_gre.c:388]:
accepting packet 12
Jan  4 22:49:38 bsd pptp[7380]: anon log[decaps_gre:pptp_gre.c:388]:
accepting packet 13
Jan  4 22:49:44 bsd pptp[7380]: anon log[decaps_gre:pptp_gre.c:388]:
accepting packet 14
Jan  4 22:49:44 bsd pptp[7380]: anon log[decaps_gre:pptp_gre.c:388]:
accepting packet 15
Jan  4 22:49:44 bsd pptp[7379]: anon
log[pptp_read_some:pptp_ctrl.c:545]: read returned zero, peer has
closed
Jan  4 22:49:44 bsd pptp[7379]: anon
log[callmgr_main:pptp_callmgr.c:255]: Closing connection (shutdown)
Jan  4 22:49:44 bsd pptp[7379]: anon log[ctrlp_rep:pptp_ctrl.c:251]:
Sent control packet type is 12 'Call-Clear-Request'
Jan  4 22:49:44 bsd pptp[7379]: anon
log[pptp_read_some:pptp_ctrl.c:545]: read returned zero, peer has
closed
Jan  4 22:49:44 bsd pptp[7379]: anon
log[call_callback:pptp_callmgr.c:78]: Closing connection (call state)
Jan  4 22:49:47 bsd pptp[7380]: anon warn[decaps_hdlc:pptp_gre.c:197]:
short read (0): Invalid argument



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?49f513c40701041553je932c4dg248a9846629e1b5e>