????iOS??????????????????????PPTP VPN???????????????github???????VPN????????????setup-ipsec-vpn????VPS????????????Ubuntu 16.04??
??????????????iPhond??iPad?????????????????????Win10??????????????????
?????????????????? VPN ??????????????????????????????δ???????????????δ?????????????????????????????豸(????????NAT??·??????)????????? VPN ???????????????????????????????????豸?????????????
?????????????????????????????????????????????
????Windows Registry Editor Version 5.00
????[HKEY_LOCAL_MACHINESYSTEMCurrentControlSetServicesPolicyAgent]"AssumeUDPEncapsulationContextOnSendRule"=dword:00000002
?????????г??????????????飺
????Windows 10 ?????????
????1????????????????е?????/???????
????2????? ???????????????
????3?????? ?????μ?????????硣
????4????? ?????????????????? ???????
????5?????? ??????Internet???? (VPN)??
????6???? Internet??? ???????????? VPN ?????? IP??
????7???? ??????? ?????????????????????? ??????
????8?????? ????????????????????? ?????????????á?
????9??????????′????? VPN ?????????? ?????
????10?????? ??? ??????? VPN ???? ???????????? "??? IPsec ??? 2 ?????Э?? (L2TP/IPSec)"??
????11?????? ?????????ЩЭ?顣??? "?????????????Э?? (CHAP)" ????????????????????????
????12?????? ??????? ?????
????13?????? ??????????????????? ???? ??? ???????????? VPN IPsec PSK??
????14?????? ??? ??? ??????á?
????15?????? ??? ???? VPN ?????????????
????iOS????????÷???
????1?????????? -> ??? -> VPN??
????2?????? ???VPN????...??
????3?????? ???? ????? L2TP ???????
????4???? ???? ??????????????????
????5???? ?????? ???????????? VPN ?????? IP??
????6???? ??? ???????????? VPN ???????
????7???? ???? ???????????? VPN ????
????8???? ??? ???????????? VPN IPsec PSK??
????9?????? ???????????? ??
????10???????????? ?洢??
????11?????? VPN ?????
????VPN ?????????????????????????????? ???? ?????? IP ??????????????? VPN ?????? IP??
????????????????????????????
?????????IPsec PSK (????????) ????????? /etc/ipsec.secrets??????????????μ? PSK??????????????
????<VPN Server IP>  %any  : PSK "<VPN IPsec PSK>"
???????? IPsec/L2TP??VPN ?????????????????? /etc/ppp/chap-secrets??????????????£?
????"<VPN User 1>"  l2tpd  "<VPN Password 1>"  *
????"<VPN User 2>"  l2tpd  "<VPN Password 2>"  *
????... ...
?????????????????????????????????е???С?????????????????? PSK ???????Щ????? " '