Several VPN problems on MACOs and IOs (the webpage cannot be opened because the MTU is too large)

Source: Internet
Author: User

The first time I used VPN, I purchased puff VPN, But I encountered many problems in MAC configuration. The general steps are not mentioned. Please search for them on the Internet.

If the network still fails after the correct settings, use a Windows host for testing. If windows can be used but Mac and iPhone cannot, the MTU value may be too large.

Run the following command on the MACOs terminal:

Ifconfig

Generally, the names of two NICs are en0 and EN1, And the MTU value is 1500. Run after confirmation

Sudo ifconfig en0 MTU 1464

Sudo ifconfig EN1 MTU 1464.

(Enter the administrator password)

In this way, the wired and wireless NICs on the Mac machine are all set up, but disabling the wireless network and restarting the machine will cause a need to be modified again. I am not familiar with the MAC system, later, add the method for changing the power on.

IOS also has the same situation, which can be solved by jailbreaking machines. Go to cydia to install OpenSSH, log on to the iPhone using a computer in the LAN (user name root, password Alpine), and use the same command to modify the MTU value. Check the NIC name first.

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.