LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 08-08-2004, 05:47 AM   #1
andshrew
LQ Newbie
 
Registered: Feb 2004
Posts: 5

Rep: Reputation: 0
Problem connecting to VPN


I've currently set up a VPN server on my mandrake 10 box (PoPToP version 1.1.4-b4), and all seems to be working except when my windows client attempts to connect it all seems to go wrong when it gives a ICIP timeout error in the log, and the windows (xp) machine just says:
Error 734: The PPP link control protocol was terminated.

Below is what is recorded in the syslog:
Code:
Aug  8 11:34:42 cpc5-hitc1-4-0-cust95 pptpd[319]: CTRL: Client 192.168.1.248 control connection started
Aug  8 11:34:42 cpc5-hitc1-4-0-cust95 pptpd[319]: CTRL: Starting call (launching pppd, opening GRE)
Aug  8 11:34:42 cpc5-hitc1-4-0-cust95 pptpd[319]: GRE: Discarding duplicate packet
Aug  8 11:34:42 cpc5-hitc1-4-0-cust95 pppd[320]: pppd 2.4.1 started by root, uid 0
Aug  8 11:34:42 cpc5-hitc1-4-0-cust95 pppd[320]: Connect:  <--> /dev/pts/1
Aug  8 11:34:42 cpc5-hitc1-4-0-cust95 pptpd[319]: GRE: Bad checksum from pppd.
Aug  8 11:34:44 cpc5-hitc1-4-0-cust95 pptpd[319]: CTRL: Ignored a SET LINK INFO packet with real ACCMs!
Aug  8 11:34:44 cpc5-hitc1-4-0-cust95 pppd[320]: Using interface ppp1
Aug  8 11:34:44 cpc5-hitc1-4-0-cust95 pppd[320]: Couldn't set pass-filter in kernel: Invalid argument
Aug  8 11:34:44 cpc5-hitc1-4-0-cust95 pppd[320]: MSCHAP peer authentication succeeded for phantom
Aug  8 11:35:14 cpc5-hitc1-4-0-cust95 pppd[320]: IPCP: timeout sending Config-Requests
Aug  8 11:35:14 cpc5-hitc1-4-0-cust95 pppd[320]: Connection terminated.
Aug  8 11:35:14 cpc5-hitc1-4-0-cust95 pppd[320]: Connect time 0.6 minutes.
Aug  8 11:35:14 cpc5-hitc1-4-0-cust95 pppd[320]: Sent 237 bytes, received 221 bytes.
Aug  8 11:35:14 cpc5-hitc1-4-0-cust95 pptpd[319]: CTRL: Closing child ppp with pid 320
Aug  8 11:35:14 cpc5-hitc1-4-0-cust95 pptpd[319]: CTRL: Client 192.168.1.248 control connection finished
Aug  8 11:35:14 cpc5-hitc1-4-0-cust95 pppd[320]: Terminating on signal 2.
Aug  8 11:35:14 cpc5-hitc1-4-0-cust95 pppd[320]: tcflush failed: Input/output error
Aug  8 11:35:14 cpc5-hitc1-4-0-cust95 pppd[320]: Exit.
Now, if Im reading that right it seems to be authenticating ok, its just its causing an error trying to send IPCP, Ive searched around this site and google for information on how to fix it but Ive not found anything helpfull yet. Am I right in assuming this could possibly be a firewall issue in that its blocking ICIP stuff? Im currently using shorewall on the linux machine.

Any help would be great,
Thanks
Andrew
 
Old 08-08-2004, 07:50 AM   #2
michaelk
Moderator
 
Registered: Aug 2002
Posts: 25,699

Rep: Reputation: 5895Reputation: 5895Reputation: 5895Reputation: 5895Reputation: 5895Reputation: 5895Reputation: 5895Reputation: 5895Reputation: 5895Reputation: 5895Reputation: 5895
I do not think it is a firewall issue.

Check the dialup propteries of the XP box. What settings do you have selected?
 
Old 08-08-2004, 07:53 AM   #3
amfoster
Member
 
Registered: Aug 2004
Distribution: debian, SuSE
Posts: 365

Rep: Reputation: 36
Unfortunately, most of the output you posted is cut off. Usually, the biggest issue is dealing with mppe. Is mppe support built into the kernel on your machine? Just installing poptop is not enough.
 
Old 08-08-2004, 09:00 AM   #4
andshrew
LQ Newbie
 
Registered: Feb 2004
Posts: 5

Original Poster
Rep: Reputation: 0
Assuming mmpe is the encryption stuff, then I dont think my kernal supports it atm, but I dont have it active in my config so it shouldn't be causing any problems? All that is active is MS-CHAP authentication. All I have done though is installed poptop, not changed anything to do with the kernal.

As for the xp machine dialup settings, its mainly going to be used for my friends to connect into my network from their cable internet connections so there would be no dialing up as such, but the settings I have match the security settings that the server requires, the type of VPN is set to automatic. What other information do you need about the winxp side of things?

Thanks for the replys,
 
Old 08-08-2004, 10:04 AM   #5
michaelk
Moderator
 
Registered: Aug 2002
Posts: 25,699

Rep: Reputation: 5895Reputation: 5895Reputation: 5895Reputation: 5895Reputation: 5895Reputation: 5895Reputation: 5895Reputation: 5895Reputation: 5895Reputation: 5895Reputation: 5895
Post your options.conf file.
I know that it isn't a real dial up connection but MS still refer to it as one. I would select pptpd instead of automatic.

http://www.jsiinc.com/SUBK/tip5200/rh5242.htm
http://www.modemsite.com/56k/dunserror.asp
 
Old 08-08-2004, 10:16 AM   #6
andshrew
LQ Newbie
 
Registered: Feb 2004
Posts: 5

Original Poster
Rep: Reputation: 0
Ahhh I see.
I dont have an options.conf but I have an options.pptp file which is below.. Hope its what you mean (sorry Im quite new to all this..)

Code:
auth
refuse-pap
refuse-chap
require-chapms
refuse-chapms-v2

ms-wins 192.168.1.1
ms-dns 194.168.4.100

mtu 1490
mru 1490
ipparam PoPToP
multilink
asyncmap 0
ipcp-accept-local
ipcp-accept-remote
lcp-echo-failure 30
lcp-echo-interval 5
deflate 0
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Connecting to a M$ VPN server RijilV Linux - Networking 3 07-02-2005 12:08 PM
Connecting to a GNATBox VPN? JamieBrown Linux - Networking 0 04-22-2005 09:26 AM
Connecting to my VPN justiceisblind Linux - Networking 1 07-19-2004 12:05 PM
Connecting 2 networks via VPN OpsVentus Linux - Networking 2 01-23-2004 01:00 PM
Connecting to a vpn mattman Linux - Networking 0 06-05-2003 03:03 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 10:52 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration