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.