CentOS 5.5 PPTPD Server Packets Not Passing

Written by James McDonald

February 7, 2011

Just installing a CentOS 5.5 x64 PPTPD server.

Problem:
Remotely connected using a pptp client and could connect and login but not do an ls on a directory of files.

Solution
Reduce the MTU
edit /etc/sysconfig/network-scripts/ifcfg-eth0 (or whichever is your ethernet adaptor running pptpd) and add MTU= the value should be whatever the maximum size you can get away with.

# Realtek Semiconductor Co., Ltd. RTL8111/8168B PCI Express Gigabit Ethernet controller
DEVICE=eth0
BOOTPROTO=none
HWADDR=20:cf:30:XX:XX:XX
ONBOOT=yes
DHCP_HOSTNAME=myhostname.mydomain.local
IPADDR=192.168.59.60
NETMASK=255.255.255.0
GATEWAY=192.168.59.254
TYPE=Ethernet
# added by james because ls ps vi top where hanging
# as soon as I tried to return more than a page of text
# manual command is:
# ip link set dev eth0 mtu 1200
MTU=1200

0 Comments

Submit a Comment

Your email address will not be published. Required fields are marked *

You May Also Like…

Toggen builds a new website

So I have built and hosted a new website for Roger Clark Pest Management they are a family owned and operated Pest...

WizTree

Just downloaded WizTree (not a sponsor) from https://wiztreefree.com/ It seems to do what it says on the tin which is...

Scam call from “Telstra”

Just had a call from a man with a sub-continental accent from caller ID 0734946596 Told me there was problem with my...