在Archlinux中设置VPN连接, 以下是相应的设置方法. 可以参考Archlinux使用pptpclient.

Install pptpclient and configurate

sudo pacman -S pptpclient

pptpsetup –create tunnel_name –server vpn.example.com –usrname alice –password pd –encrypt

Connect and disconnect

sudo pon tunnel_name

sudo ip route add default dev ppp0

sudo ip route del default dev ppp0

sudo poff tunnel_name

这样子就应该可以连接到VPN服务了.

Error

When starting PPTP client, the pppd process cannot locate the appropriate module:

Couldn’t open the /dev/ppp device: No such device or address

Please load the ppp_generic kernel module.

The solution is to edit the /etc/modprobe.d/modules.conf file and change. This can reference archlinux wiki