Some Linux users find that the access speed is slow when using the VPN client to connect to the Linux server. Then, how should we encounter this problem? Solve it? Today, Xiaobian has brought you a solution to this problem. Let's take a look at the users who need it.
There are three solutions:
Method One: Edit the source code pptpd increase MTU;
Method Two: Use a script to increase the MTU interface up after pptp ;
Method 3: Do not use MPPE encryption;
Although the first one solves the problem fundamentally, it is abandoned because of the level problem; the third is due to the cancellation of transmission encryption, psychologically I feel unsafe and give up;
Method 2
/etc/ppp/ip-up.d/mppefixmtu.sh
#!/bin/sh
CURRENT_MTU=”`ip link show $1 |
Grep -Po ‘(?<=mtu )([0-9]+)’`”
FIXED_MTU=”`expr $CURRENT_MTU + 4`”
Ip link set $1 mtu $FIXED_MTU
Make sure the script has executable permissions
chmod 755 /etc/ppp/ip-up.d/mppefixmtu.sh
This MTU plus After 4, you can be compatible with Windows MPPE.
The above is the problem of slower access when using the VPN client to connect to the Linux server. If you encounter this problem, then use the above method to solve it.
In the Linux system, many people dont know how to copy files between different user
Be careful when installing OSD on a Linux system, because if an error occurs, the file system will b
Some users have set up a VPN in their Linux system, but they cant connect to the VPN, and the system
Because the storage speed of a RAID disk array is higher than that of a single hard disk, you usuall
Introduction to grep regular expressions in Linux system
What should I do if VMware does not support full virtualization when installing 64-bit CentOS?
Linux replacement hard disk has been mounted directory skills
Deep understanding of Linux text stream
FreeBSD steps to load iso files through virtual CD-ROMs
Linux refuses foreign IP access steps
Linux automatic installation operation example
Ubuntu sudo error command not found how to do?
Linux adds custom encryption algorithms to OpenSSL
How to configure the network for Kali Linux?
Win8.1 installation Office prompts Osetup.DLL error solution
Win7 Ultimate system can not use the online banking how to do
Microsoft CEO Steve Ballmer: Windows 7 sales record broke in the first 10 days
Great netstat command to make the system more secure win7 (2)
How to quickly delete the virus folder under win7
Lenovo bypasses Microsoft to add a start menu for Windows 8 computers
How to speed up the network speed through the Qos setting in Win10 environment?
Win10 task manager display incomplete how to solve