Hi,
I am running a linux - Centos 5.4 server with PPTPd.
Users are able to connect to my server and surf the web.
However download speed are very slow (0.5MB on a 5MB line).
The server has a 1Gig connection to the internet sop bandwidth is not an issue.
I was wondering what may be the reason for this and came to think of MTU size.
So what is the optimal MTU size for a pptp vpn?
Or is there any other possible causes for severe speed degradation?
I'm attaching current server configurations:
/etc/ppp/options.pptpd:
Code:
mtu 1428
name pptpd
refuse-pap
refuse-chap
refuse-mschap
require-mschap-v2
require-mppe-128
ms-dns 8.8.8.8
noproxyarp
nobsdcomp
novj
novjccomp
nologfd
asyncmap 0
crtscts
/etc/ppp/ip-up.local:
Code:
/sbin/ip l s $1 mtu 1476
/sbin/ip l s $1 multicast off
/sbin/ip l s $1 allmulticast off
iptables -L -t filter:
Code:
[root@30134 ~]# iptables -L -t filter
Chain INPUT (policy ACCEPT)
target prot opt source destination
ACCEPT tcp -- anywhere anywhere tcp dpt:pptp
Chain FORWARD (policy ACCEPT)
target prot opt source destination
TCPMSS tcp -- anywhere anywhere tcp flags:SYN,RST/SYN TCPMSS clamp to PMTU
Please help!
Thanks,
J.