re-searcher
asked on
PPTP (Poptop) server speed is too slow
Hello,
I trying to configure my CentOS based server with Poptop for VPN Connection.
till now i do following steps as well:
* freeradius + freeradius-mysql for user creation, installed as well
* radiusclient-ng installed as well
* everythings work and created user can connect to server and surf internet.
new problem is my server speed in 100 Mbps and just i have 3 user and they just can browse internet with speed of 1.8 Kbs after time which they connecting to Server with PPTP Server, their OS is Windows 7.
here is contain my configuration files and some logs:
any experts know how i should fix this pptp slow speed problem?
I trying to configure my CentOS based server with Poptop for VPN Connection.
till now i do following steps as well:
* freeradius + freeradius-mysql for user creation, installed as well
* radiusclient-ng installed as well
* everythings work and created user can connect to server and surf internet.
new problem is my server speed in 100 Mbps and just i have 3 user and they just can browse internet with speed of 1.8 Kbs after time which they connecting to Server with PPTP Server, their OS is Windows 7.
here is contain my configuration files and some logs:
# tail -f /var/logs/messages
Dec 2 11:49:42 uss01 pptpd[19175]: MGR: Max connections reached, extra IP addresses ignored
Dec 2 11:49:42 uss01 pptpd[19175]: MGR: Max connections reached, extra IP addresses ignored
Dec 2 11:49:42 uss01 pptpd[19176]: MGR: Manager process started
Dec 2 11:49:42 uss01 pptpd[19176]: MGR: Maximum of 100 connections available
Dec 2 11:51:27 uss01 pptpd[19327]: CTRL: Client xx.xx.xx.xx control connection started
Dec 2 11:51:28 uss01 pptpd[19327]: CTRL: Starting call (launching pppd, opening GRE)
Dec 2 11:51:28 uss01 pppd[19328]: Plugin radius.so loaded.
Dec 2 11:51:28 uss01 pppd[19328]: RADIUS plugin initialized.
Dec 2 11:51:28 uss01 pppd[19328]: Plugin radattr.so loaded.
Dec 2 11:51:28 uss01 pppd[19328]: RADATTR plugin initialized.
Dec 2 11:51:28 uss01 pppd[19328]: pppd 2.4.3 started by root, uid 0
Dec 2 11:51:28 uss01 pppd[19328]: Starting negotiation on /dev/pts/2
Dec 2 11:51:28 uss01 pptpd[19327]: GRE: Bad checksum from pppd.
Dec 2 11:51:32 uss01 pptpd[19327]: CTRL: Ignored a SET LINK INFO packet with real ACCMs!
Dec 2 11:51:32 uss01 pppd[19328]: rc_map2id: can't find tty /dev/ in map database
Dec 2 11:51:33 uss01 pppd[19328]: Changing interface to pptp0
Dec 2 11:51:33 uss01 pppd[19328]: MPPE 128-bit stateless compression enabled
Dec 2 11:51:34 uss01 pppd[19328]: local IP address 192.168.120.1
Dec 2 11:51:34 uss01 pppd[19328]: remote IP address 192.168.120.127
[root@uss01 ppp]# cat options.pptpd
lock
mtu 1490
mru 1490
ms-dns 1.2.3.4
ms-wins 1.2.3.4
#domain uss01.the-server-labs.com
devname pptp
name pptp-vpn
auth
multilink
#proxyarp
refuse-pap
#refuse-chap
#refuse-mschap
require-mschap-v2
require-mppe-128
ipcp-accept-local
ipcp-accept-remote
lcp-echo-failure 10
lcp-echo-interval 30
nobsdcomp
#file /etc/ppp/options.ldap
# plugins
plugin radius.so
plugin radattr.so
radius-config-file /etc/radiusclient-ng/radiusclient.conf
any experts know how i should fix this pptp slow speed problem?
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
While the link on the server to the switch/router is 100MB, the maximum throughput of the connection from your provider is 6Mbps.
What is the upload speed you have. i.e. Put a file on the server web/ftp and retrieve it remotely what is the maximum throughput of the file down from the server to you?
This assumes that your download speed from the requesting location is higher than the upload bandwidth/speed at the server.
I.e. in any case when checking speeds/performance, the reflection is the lowest between the two locations.
i.e. point A has a 6MB download/384kb upload
point A maximum download rate is ~6MB and any performance lower is a reflection of a limitation of the source from which items are being downloaded.
The same is true for the reverse i.e. your server is at point A and you connect to it using PPTP, these connections will be limited by the 384kb upload limit.
Such that the short requests will come in from the client over the 6MB pipe while the responses from your server will flow through the smaller 384kb pipe.
If I'm not mistaken you do not have access to a router up the chain from your server where you could use QoS to prioritize PPTP type packets over other packets or where you could as you asked designate a specific throughput on one type of traffic versus another.
What is the upload speed you have. i.e. Put a file on the server web/ftp and retrieve it remotely what is the maximum throughput of the file down from the server to you?
This assumes that your download speed from the requesting location is higher than the upload bandwidth/speed at the server.
I.e. in any case when checking speeds/performance, the reflection is the lowest between the two locations.
i.e. point A has a 6MB download/384kb upload
point A maximum download rate is ~6MB and any performance lower is a reflection of a limitation of the source from which items are being downloaded.
The same is true for the reverse i.e. your server is at point A and you connect to it using PPTP, these connections will be limited by the 384kb upload limit.
Such that the short requests will come in from the client over the 6MB pipe while the responses from your server will flow through the smaller 384kb pipe.
If I'm not mistaken you do not have access to a router up the chain from your server where you could use QoS to prioritize PPTP type packets over other packets or where you could as you asked designate a specific throughput on one type of traffic versus another.
ASKER
Thanks All,
I think best solution is first reply. but problem is not from server side and it's occur because some filtering rules apply on client ISP's.
before I set best solution here.
i wanna know can i configure linux server for accept SSTP connections?
I think best solution is first reply. but problem is not from server side and it's occur because some filtering rules apply on client ISP's.
before I set best solution here.
i wanna know can i configure linux server for accept SSTP connections?
Not sure whether SSTP will interact/work with openVPN
http://openvpn.net/index.php/open-source/documentation/howto.html
ASKER
you mean for accepting SSTP connections it's possible with openvpn?
I'm not sure.
Have not looked into it tooooooooo closely, but if there is an OpenVPN component that can be accessible via a https://www.yourdomain.com/connect/me/to/your/vpn that should make it work.
Gives you an idea, but the discussion did not seem to reach a successful conclusion.
Have not looked into it tooooooooo closely, but if there is an OpenVPN component that can be accessible via a https://www.yourdomain.com/connect/me/to/your/vpn that should make it work.
Gives you an idea, but the discussion did not seem to reach a successful conclusion.
another option to consider
http://revision3.com/hak5/sslvpndsolo
deals with use a java app that will be serving as the SSTP connection.
The only issue I see is that it is Java based and may require more CPU/RAM resources than available on your VPS.
http://revision3.com/hak5/sslvpndsolo
deals with use a java app that will be serving as the SSTP connection.
The only issue I see is that it is Java based and may require more CPU/RAM resources than available on your VPS.
ASKER
i'll open new topic regarding this issue,
poptop speed has been resolved....
poptop speed has been resolved....
ASKER
Dear Arnold,
Would you mind read this topic:
https://www.experts-exchange.com/questions/27574775/Setup-Service-to-browse-filtered-blocked-web-sites-on-Linux.html
Would you mind read this topic:
https://www.experts-exchange.com/questions/27574775/Setup-Service-to-browse-filtered-blocked-web-sites-on-Linux.html
ASKER
Thanks for your answer, after I added that line my speed increase from 1.8 KByte/s to 4 KByte/s but my connection speed is 100 Mbps.
do you know, how can i limit each connection speed, for example each pptp user be able using 5 Mbps of total internet speed (100 Mbps)
what "speed" Tag and "connections" tag do in options.pptpd (pptpd configurations).
here is my ip-up content:
Open in new window
@ Arnold
I test my internet speed with 2 different servers and maximum download rate is 6 Mbps
yes,it's enabled on poptop server and i disabled it on client side and maximum download rate of pptp vpn connection is 40 Kbs.