In Zhejiang University (浙江大学), they provide Internet Connection Service via L2TP Tunneling VPN. But it only supports Windows Platform(XP or Vista) not works in Mac, Linux Platforms.
On the internet, someone posted Instruction of VPN Connection with Linux (Ubuntu). they tried connect with xl2tpd but osx does not support it. so i tried following steps.
Note: I tried in Leopard (10.5.6)
- Edit /etc/ppp/options
Mac OS X’s L2TP VPN always uses IPsec encryption. So we should turn off this feature. Add Following Lines to /etc/ppp/options
plugin L2TP.ppp l2tpnoipsec
- Open System Preferences to make VPN Connections
Server Address: lns.zju.edu.cn
Account Name: [email protected] or d or so.
Open “Authentication Settings” and enter your VPN password in User Authentication field(confirm “Password” checked and keep Machine Authentication field blank, we don’t use IPsec encryption)
- Click Apply then connect.
I hope it helps.
This work is licensed under a Creative Commons Attribution-ShareAlike 4.0 International License.