Kali Linux要使用VPN却发现无法新建,这里需要安装一些依赖包
apt-get install network-manager-openvpn-gnome
apt-get install network-manager-pptp
apt-get install network-manager-pptp-gnome
apt-get install network-manager-strongswan
apt-get install network-manager-vpnc
apt-get install network-manager-vpnc-gnome
/etc/init.d/network-manager restart
apt-get -y install network-manager-gnome
mv /etc/network/interfaces /etc/network/interfaces.bak
touch /etc/network/interfaces
echo "auto lo" > /etc/network/interfaces
echo "iface lo inet loopback" >> /etc/network/interfaces
service network-manager start
安装完后就可以新建VPN了,不过建好后发现点击没有反映,这里需要修改一下
找到/etc/NetworkManager/NetworkManager.conf
把最后一行的managed=false改为managed=true
这里注意新建PPTP VPN的时候在高级属性里要选择“使用点到点加密(MPPE)”
重启虚拟机即可解决此问题