kali配置VPN
时间:2017-01-30 00:37 来源:linux.it.net.cn 作者:IT
1、配置源
vim /etc/apt/sources.list 添加
deb http://mirrors.ustc.edu.cn/kali kali main non-free contrib
deb-src http://mirrors.ustc.edu.cn/kali kali main non-free contrib
deb http://mirrors.ustc.edu.cn/kali-security kali/updates main contrib non-free
2、安装需要的包
Kali系统装好以后,是不能添加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
3、安装好以后并不能连接,需要修改一下interface文件
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
4、配置VPN
选择协议
填写用户
高级
配置完成后就可以链接VPN了~~~~
(责任编辑:IT)
1、配置源 vim /etc/apt/sources.list 添加 deb http://mirrors.ustc.edu.cn/kali kali main non-free contrib deb-src http://mirrors.ustc.edu.cn/kali kali main non-free contrib deb http://mirrors.ustc.edu.cn/kali-security kali/updates main contrib non-free
2、安装需要的包 Kali系统装好以后,是不能添加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
3、安装好以后并不能连接,需要修改一下interface文件 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
4、配置VPN 选择协议
填写用户
高级
配置完成后就可以链接VPN了~~~~ (责任编辑:IT) |