LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices


Reply
  Search this Thread
Old 08-23-2007, 08:07 AM   #1
avantman42
Member
 
Registered: Jul 2003
Location: Stoke on Trent, UK
Distribution: Ubuntu
Posts: 30

Rep: Reputation: 15
Question Poptop disconnects when using Remote Desktop or Citrix


We have a client with a Linux firewall, on which we've installed a PopTop VPN with Winbind for authentication against Active Directory (using this HowTo)

It all works fine, unless the remote user tries to connect to a terminal server using Remote Desktop, or to a Citrix server. As soon as they try to do that, it disconnects the VPN connection, and something like the following appears in /var/log/messages:

Code:
Aug 23 13:36:20 unallocated pptpd[1967]: GRE: read(fd=7,buffer=8056600,len=8260) from network failed: status = -1 error = Message too long
Aug 23 13:36:20 unallocated pptpd[1967]: CTRL: GRE read or PTY write failed (gre,pty)=(7,6)
Aug 23 13:36:20 unallocated pppd[1998]: Modem hangup
Aug 23 13:36:20 unallocated pppd[1998]: pptpd-logwtmp.so ip-down ppp0
Aug 23 13:36:20 unallocated pppd[1998]: Connect time 0.8 minutes.
Aug 23 13:36:20 unallocated pppd[1998]: Sent 1776 bytes, received 8968 bytes.
Aug 23 13:36:20 unallocated pppd[1998]: MPPE disabled
Aug 23 13:36:20 unallocated pppd[1998]: Connection terminated.
Aug 23 13:36:21 unallocated pppd[1998]: Exit.
Aug 23 13:36:21 unallocated pptpd[1967]: CTRL: Client 1.2.3.4 control connection finished
Having found a mailing list message that I thought might be relevant, I edited /etc/ppp/ip-up and /etc/ppp/options.pptpd to set the MRU & MTU.

/etc/ppp/ip-up now includes:
Code:
/sbin/ifconfig $1 mtu 1400
and /etc/ppp/options.pptpd now includes:
Code:
# put plugins here 
# (putting them higher up may cause them to sent messages to the pty)
mtu 1400
mru 1400
I've tried several different values (1396, 1442, 1464, 1500) but they all give the same result.

Can anyone suggest a fix?

PPP is version 2.4.3-5
PopTop is version pptpd-1.3.3

Russ
 
Old 08-28-2007, 02:46 AM   #2
avantman42
Member
 
Registered: Jul 2003
Location: Stoke on Trent, UK
Distribution: Ubuntu
Posts: 30

Original Poster
Rep: Reputation: 15
Just in case anyone else has the same problem - we found the fix. We had to set the MTU of the internet interface (eth0 in our case) to 1400 (it was set to 1500)

Russ
 
  


Reply

Tags
desktop, poptop, pptpd, remote, vpn


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
Remote desktop software to control desktop GUI? Phaethar Linux - Software 3 06-27-2008 09:30 AM
debian PoPTop (pptpd), remote assistance solution routing fasta Linux - Networking 1 12-14-2006 08:24 AM
LXer: Windows to Linux desktop migration: How Citrix can help LXer Syndicated Linux News 0 04-28-2006 01:24 AM
PoPToP VPN with Shorewall: can only reach PoPToP server pgwillemsen Linux - Networking 0 12-27-2004 07:11 AM
Camserv disconnects remote hosts automatically Adrohak Linux - Software 0 07-17-2004 02:04 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Server

All times are GMT -5. The time now is 01:10 PM.

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