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.
Works on Snow Leopard, OS X 10.6.1. You need to make sure you check "Send all traffic over VPN connection" as well as the above under the Advanced….—> Options Setting.
Hi!! I going to Zheijiang university in few days… and in the past i could try connect my mac with the VPN and… I couldn’t connect…
Could you tell me how connect to Zheijiang VPN ?
I don’t know where is /etc/ppp/options