Spacelee | 6 Sep 2010 13:03
Picon

My pptp vpn server is very slow

The inbound and outbound is just 10Mbps, but my connection is 1000Mbps

Is there any reason that will slow down the VPN speed...


--
Space Lee

------------------------------------------------------------------------------
This SF.net Dev2Dev email is sponsored by:

Show off your parallel programming skills.
Enter the Intel(R) Threading Challenge 2010.
http://p.sf.net/sfu/intel-thread-sfd
_______________________________________________
Poptop-server mailing list
Poptop-server <at> lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/poptop-server
James Cameron | 6 Sep 2010 13:20
Favicon

Re: My pptp vpn server is very slow

On Mon, Sep 06, 2010 at 07:03:40PM +0800, Spacelee wrote:
> The inbound and outbound is just 10Mbps, but my connection is 1000Mbps
> Is there any reason that will slow down the VPN speed...

Too many reasons to list.  Further diagnosis would be required.

The usual reasons are non-zero packet loss along the path from the
client to the server.

--

-- 
James Cameron
http://quozl.linux.org.au/

------------------------------------------------------------------------------
This SF.net Dev2Dev email is sponsored by:

Show off your parallel programming skills.
Enter the Intel(R) Threading Challenge 2010.
http://p.sf.net/sfu/intel-thread-sfd
Spacelee | 6 Sep 2010 14:16
Picon

Re: My pptp vpn server is very slow

Or how to solve it?

On Mon, Sep 6, 2010 at 7:20 PM, James Cameron <quozl <at> laptop.org> wrote:
On Mon, Sep 06, 2010 at 07:03:40PM +0800, Spacelee wrote:
> The inbound and outbound is just 10Mbps, but my connection is 1000Mbps
> Is there any reason that will slow down the VPN speed...

Too many reasons to list.  Further diagnosis would be required.

The usual reasons are non-zero packet loss along the path from the
client to the server.

--
James Cameron
http://quozl.linux.org.au/

------------------------------------------------------------------------------
This SF.net Dev2Dev email is sponsored by:

Show off your parallel programming skills.
Enter the Intel(R) Threading Challenge 2010.
http://p.sf.net/sfu/intel-thread-sfd
_______________________________________________
Poptop-server mailing list
Poptop-server <at> lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/poptop-server



--
Space Lee

------------------------------------------------------------------------------
This SF.net Dev2Dev email is sponsored by:

Show off your parallel programming skills.
Enter the Intel(R) Threading Challenge 2010.
http://p.sf.net/sfu/intel-thread-sfd
_______________________________________________
Poptop-server mailing list
Poptop-server <at> lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/poptop-server
James Cameron | 7 Sep 2010 04:36
Favicon

Re: My pptp vpn server is very slow

On Mon, Sep 06, 2010 at 08:16:00PM +0800, Spacelee wrote:
> Or how to solve it?

Check each network link between the server and the client, ensure they
are not experiencing any packet loss.  traceroute, mtr, and ping are
potential tools for this.

If those links are not in your control, then work with the owners to
obtain some guarantee of service.

Try OpenVPN too, it has a bit more resilience against packet loss.

--

-- 
James Cameron
http://quozl.linux.org.au/

------------------------------------------------------------------------------
This SF.net Dev2Dev email is sponsored by:

Show off your parallel programming skills.
Enter the Intel(R) Threading Challenge 2010.
http://p.sf.net/sfu/intel-thread-sfd
Brian Lavender | 24 Sep 2010 00:01

unable to open /dev/pts/0 or /dev/pts/1

I am watching the logs and I see the below messages indicating that it
can't open /dev/pts/0 and other cases /dev/pts/1. My connection still
works. I have another user that can't connect, so I am wondering if this
is something I should be worried about.

brian

[disconnecting]
Sep 23 10:15:01 mammoth pppd[18599]: sent [LCP ConfReq id=0x2 <mru 1450> <asyncmap 0x0> <auth chap MS-v2>
<magic 0x2796da47> <pcomp> <accomp>]
Sep 23 10:15:02 mammoth pptpd[18598]: CTRL: Received PPTP Control Message (type: 12)
Sep 23 10:15:02 mammoth pptpd[18598]: CTRL: Made a CALL DISCONNECT RPLY packet
Sep 23 10:15:02 mammoth pptpd[18598]: CTRL: Received CALL CLR request (closing call)
Sep 23 10:15:02 mammoth pptpd[18598]: CTRL: Reaping child PPP[18599]
Sep 23 10:15:02 mammoth pppd[18599]: Modem hangup
Sep 23 10:15:02 mammoth pppd[18599]: Connection terminated.
Sep 23 10:15:02 mammoth pppd[18599]: Failed to open /dev/pts/0: No such file or directory
Sep 23 10:15:02 mammoth pppd[18599]: Failed to open /dev/pts/0: No such file or directory
Sep 23 10:15:02 mammoth pppd[18599]: Failed to open /dev/pts/0: No such file or directory
Sep 23 10:15:02 mammoth pppd[18599]: Failed to open /dev/pts/0: No such file or directory
Sep 23 10:15:02 mammoth pppd[18599]: Failed to open /dev/pts/0: No such file or directory
[repeats several times]

--

-- 
Brian Lavender
http://www.brie.com/brian/

"There are two ways of constructing a software design. One way is to
make it so simple that there are obviously no deficiencies. And the other
way is to make it so complicated that there are no obvious deficiencies."

Professor C. A. R. Hoare
The 1980 Turing award lecture

------------------------------------------------------------------------------
Nokia and AT&T present the 2010 Calling All Innovators-North America contest
Create new apps & games for the Nokia N8 for consumers in  U.S. and Canada
$10 million total in prizes - $4M cash, 500 devices, nearly $6M in marketing
Develop with Nokia Qt SDK, Web Runtime, or Java and Publish to Ovi Store 
http://p.sf.net/sfu/nokia-dev2dev
Spacelee | 28 Sep 2010 10:02
Picon

pptp unsupported protocol

The server has run for nearly a month without any problem, but today I could connect to the server, but can't access any websites, so I look up the log find that there is a lot of unsupported protocols, I try to /etc/init.d/pptpd restart, no help, so I finally try to restart the server, and then everything is OK...
I don't know why, could someone tell me?

Sep 28 03:54:33 oxnard pppd[25655]: Unsupported protocol 0x7a5c received
Sep 28 03:54:33 oxnard pppd[25655]: Unsupported protocol 0xd9 received
Sep 28 03:54:35 oxnard pppd[25655]: Unsupported protocol 0x9261 received
Sep 28 03:54:35 oxnard pppd[25655]: Unsupported protocol 0x4a68 received
Sep 28 03:54:35 oxnard pppd[25655]: Unsupported protocol 'Cisco Systems' (0x41) received
Sep 28 03:54:35 oxnard pppd[25655]: Unsupported protocol 0x5d received
Sep 28 03:54:39 oxnard pppd[25655]: Unsupported protocol 'Vendor-Specific Network Protocol' (0x5b) received
Sep 28 03:54:39 oxnard pppd[25655]: Unsupported protocol 0x4c44 received
Sep 28 03:54:39 oxnard pppd[25655]: Unsupported protocol 0xf879 received
Sep 28 03:54:43 oxnard pppd[25655]: Unsupported protocol 0xd64f received
Sep 28 03:54:44 oxnard pppd[25655]: Unsupported protocol 'Stream Protocol ST-II' (0x33) received
Sep 28 03:54:44 oxnard pppd[25655]: Unsupported protocol 0x1 received
Sep 28 03:54:45 oxnard pppd[25655]: Unsupported protocol 0xdb received
Sep 28 03:54:45 oxnard pppd[25655]: Unsupported protocol 0xcb received
Sep 28 03:54:47 oxnard pppd[25655]: Unsupported protocol 0xb7 received


--
Space Lee

------------------------------------------------------------------------------
Start uncovering the many advantages of virtual appliances
and start using them to simplify application deployment and
accelerate your shift to cloud computing.
http://p.sf.net/sfu/novell-sfdev2dev
_______________________________________________
Poptop-server mailing list
Poptop-server <at> lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/poptop-server
Brian Lavender | 29 Sep 2010 03:20

user unable to connect

I have a user that is unable to connect. It looks like his client is not
doing MS Chap v2. Would you say that is correct?

brian

Sep 28 17:35:29 mammoth pptpd[16637]: CTRL: Sent packet to client
Sep 28 17:35:29 mammoth pppd[16638]: using channel 107
Sep 28 17:35:29 mammoth pppd[16638]: Using interface ppp0
Sep 28 17:35:29 mammoth pppd[16638]: Connect: ppp0 <--> /dev/pts/0
Sep 28 17:35:29 mammoth pppd[16638]: sent [LCP ConfReq id=0x1 <mru 1450> <asyncmap 0x0> <auth chap MS-v2>
<magic 0x9c66e5d2> <pcomp> <accomp>]
Sep 28 17:35:29 mammoth pptpd[16637]: GRE: Bad checksum from pppd.
Sep 28 17:35:29 mammoth pptpd[16637]: CTRL: Received PPTP Control Message (type: 15)
Sep 28 17:35:29 mammoth pptpd[16637]: CTRL: Got a SET LINK INFO packet with standard ACCMs
Sep 28 17:35:32 mammoth pppd[16638]: sent [LCP ConfReq id=0x1 <mru 1450> <asyncmap 0x0> <auth chap MS-v2>
<magic 0x9c66e5d2> <pcomp> <accomp>]
Sep 28 17:35:35 mammoth pppd[16638]: sent [LCP ConfReq id=0x1 <mru 1450> <asyncmap 0x0> <auth chap MS-v2>
<magic 0x9c66e5d2> <pcomp> <accomp>]
Sep 28 17:35:38 mammoth pppd[16638]: sent [LCP ConfReq id=0x1 <mru 1450> <asyncmap 0x0> <auth chap MS-v2>
<magic 0x9c66e5d2> <pcomp> <accomp>]
Sep 28 17:35:41 mammoth pppd[16638]: sent [LCP ConfReq id=0x1 <mru 1450> <asyncmap 0x0> <auth chap MS-v2>
<magic 0x9c66e5d2> <pcomp> <accomp>]
Sep 28 17:35:44 mammoth pppd[16638]: sent [LCP ConfReq id=0x1 <mru 1450> <asyncmap 0x0> <auth chap MS-v2>
<magic 0x9c66e5d2> <pcomp> <accomp>]
Sep 28 17:35:47 mammoth pppd[16638]: sent [LCP ConfReq id=0x1 <mru 1450> <asyncmap 0x0> <auth chap MS-v2>
<magic 0x9c66e5d2> <pcomp> <accomp>]
Sep 28 17:35:50 mammoth pppd[16638]: sent [LCP ConfReq id=0x1 <mru 1450> <asyncmap 0x0> <auth chap MS-v2>
<magic 0x9c66e5d2> <pcomp> <accomp>]
Sep 28 17:35:53 mammoth pppd[16638]: sent [LCP ConfReq id=0x1 <mru 1450> <asyncmap 0x0> <auth chap MS-v2>
<magic 0x9c66e5d2> <pcomp> <accomp>]
Sep 28 17:35:56 mammoth pppd[16638]: sent [LCP ConfReq id=0x1 <mru 1450> <asyncmap 0x0> <auth chap MS-v2>
<magic 0x9c66e5d2> <pcomp> <accomp>]
Sep 28 17:35:59 mammoth pppd[16638]: LCP: timeout sending Config-Requests
Sep 28 17:35:59 mammoth pppd[16638]: Connection terminated.
--

-- 
Brian Lavender
http://www.brie.com/brian/

"Program testing can be used to show the presence of bugs, but never to
show their absence!"

Professor Edsger Dijkstra
1972 Turing award recipient

------------------------------------------------------------------------------
Start uncovering the many advantages of virtual appliances
and start using them to simplify application deployment and
accelerate your shift to cloud computing.
http://p.sf.net/sfu/novell-sfdev2dev
Charlie Brady | 29 Sep 2010 03:40
Favicon

Re: user unable to connect


On Tue, 28 Sep 2010, Brian Lavender wrote:

> I have a user that is unable to connect. It looks like his client is not
> doing MS Chap v2. Would you say that is correct?

No, it looks as though GRE packets are not able to travel from his client 
to your server. 

http://pptpclient.sourceforge.net/howto-diagnosis.phtml#lcp_timeout

> 
> brian
> 
> Sep 28 17:35:29 mammoth pptpd[16637]: CTRL: Sent packet to client
> Sep 28 17:35:29 mammoth pppd[16638]: using channel 107
> Sep 28 17:35:29 mammoth pppd[16638]: Using interface ppp0
> Sep 28 17:35:29 mammoth pppd[16638]: Connect: ppp0 <--> /dev/pts/0
> Sep 28 17:35:29 mammoth pppd[16638]: sent [LCP ConfReq id=0x1 <mru 1450> <asyncmap 0x0> <auth chap
MS-v2> <magic 0x9c66e5d2> <pcomp> <accomp>]
> Sep 28 17:35:29 mammoth pptpd[16637]: GRE: Bad checksum from pppd.
> Sep 28 17:35:29 mammoth pptpd[16637]: CTRL: Received PPTP Control Message (type: 15)
> Sep 28 17:35:29 mammoth pptpd[16637]: CTRL: Got a SET LINK INFO packet with standard ACCMs
> Sep 28 17:35:32 mammoth pppd[16638]: sent [LCP ConfReq id=0x1 <mru 1450> <asyncmap 0x0> <auth chap
MS-v2> <magic 0x9c66e5d2> <pcomp> <accomp>]
> Sep 28 17:35:35 mammoth pppd[16638]: sent [LCP ConfReq id=0x1 <mru 1450> <asyncmap 0x0> <auth chap
MS-v2> <magic 0x9c66e5d2> <pcomp> <accomp>]
> Sep 28 17:35:38 mammoth pppd[16638]: sent [LCP ConfReq id=0x1 <mru 1450> <asyncmap 0x0> <auth chap
MS-v2> <magic 0x9c66e5d2> <pcomp> <accomp>]
> Sep 28 17:35:41 mammoth pppd[16638]: sent [LCP ConfReq id=0x1 <mru 1450> <asyncmap 0x0> <auth chap
MS-v2> <magic 0x9c66e5d2> <pcomp> <accomp>]
> Sep 28 17:35:44 mammoth pppd[16638]: sent [LCP ConfReq id=0x1 <mru 1450> <asyncmap 0x0> <auth chap
MS-v2> <magic 0x9c66e5d2> <pcomp> <accomp>]
> Sep 28 17:35:47 mammoth pppd[16638]: sent [LCP ConfReq id=0x1 <mru 1450> <asyncmap 0x0> <auth chap
MS-v2> <magic 0x9c66e5d2> <pcomp> <accomp>]
> Sep 28 17:35:50 mammoth pppd[16638]: sent [LCP ConfReq id=0x1 <mru 1450> <asyncmap 0x0> <auth chap
MS-v2> <magic 0x9c66e5d2> <pcomp> <accomp>]
> Sep 28 17:35:53 mammoth pppd[16638]: sent [LCP ConfReq id=0x1 <mru 1450> <asyncmap 0x0> <auth chap
MS-v2> <magic 0x9c66e5d2> <pcomp> <accomp>]
> Sep 28 17:35:56 mammoth pppd[16638]: sent [LCP ConfReq id=0x1 <mru 1450> <asyncmap 0x0> <auth chap
MS-v2> <magic 0x9c66e5d2> <pcomp> <accomp>]
> Sep 28 17:35:59 mammoth pppd[16638]: LCP: timeout sending Config-Requests
> Sep 28 17:35:59 mammoth pppd[16638]: Connection terminated.
> -- 
> Brian Lavender
> http://www.brie.com/brian/
> 
> "Program testing can be used to show the presence of bugs, but never to
> show their absence!"
> 
> Professor Edsger Dijkstra
> 1972 Turing award recipient
> 
> ------------------------------------------------------------------------------
> Start uncovering the many advantages of virtual appliances
> and start using them to simplify application deployment and
> accelerate your shift to cloud computing.
> http://p.sf.net/sfu/novell-sfdev2dev
> _______________________________________________
> Poptop-server mailing list
> Poptop-server <at> lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/poptop-server
> 

--
Charlie Brady                         charlie_brady <at> mitel.com
Mitel Networks Corporation      http://www.mitel.com/
Phone: +1 (613) 592 5660 or 592 2122  Fax: +1 (613) 592 1175

A: Because we read from top to bottom, left to right.
Q: Why should i start my reply below the quoted text?

------------------------------------------------------------------------------
Start uncovering the many advantages of virtual appliances
and start using them to simplify application deployment and
accelerate your shift to cloud computing.
http://p.sf.net/sfu/novell-sfdev2dev
Spacelee | 30 Sep 2010 06:47
Picon

how to make pptp support multiple ethernet

I have several ethernet, eth0, eth1...eth5

user1 connect to eth0
user2 connect to eth1

...

so others can see that user1 's ip is the ip of eth0, user2 's ip is the ip of eth1

and how to do this....is there anything 



--
Space Lee

------------------------------------------------------------------------------
Start uncovering the many advantages of virtual appliances
and start using them to simplify application deployment and
accelerate your shift to cloud computing.
http://p.sf.net/sfu/novell-sfdev2dev
_______________________________________________
Poptop-server mailing list
Poptop-server <at> lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/poptop-server

Gmane