PDA

View Full Version : l2tp vpn



brazen
2013-06-11, 15:30
i see how to use vpn with bt5r3

open the terminal and run below commands
apt-get install network-manager-gnome
cp /etc/network/interfaces{,.backup}
echo ""auto lo"" > /etc/network/interfaces
echo ""iface lo inet loopback"" >> /etc/network/interfaces
service network-manager start
nm-applet&
restart the machine


but is there a way to use l2tp with kali? i have not been able to find anything thus far.

thanks!

0pt1k
2013-06-13, 09:59
brazen, you may like openvpn better. Here's a comparison chart:
http://www.ivpn.net/knowledgebase/62/PPTP-vs-L2TP-vs-OpenVPN.html

Download your config files/cert from your provider, make sure openvpn is installed
cd to your config directory, ls, choose a config file

openvpn --config "Yourvpnprovider - US - etc..."
enter your login id and pass
after couple seconds you can close the terminal
to test the connection:

curl canhazip.com

For l2tp you can install it from synaptic

0pt1k

brazen
2013-06-13, 15:29
Opt1k
thank you and i agree that i would like OpenVPN much better. but I am not sure how to set it up exactly. i see your code, but i am not advanced enough to do anything more then just mimic and copy what i am able to find in forums... lol

is there something else that i can download instead of network manager gnome to be able to plug in info for openVPN? or more interesting to me... a complete command line input that i can use to connect it?

THANKS!

brazen
2013-06-13, 15:54
https://www.riseup.net/en/openvpn-linux

for Ubuntu

sudo apt-get install network-manager-openvpn-gnome
sudo service network-manager restart

for Debian

sudo apt-get install network-manager-openvpn-gnome
sudo /etc/init.d/network-manager restart

brazen
2013-06-14, 03:10
Got openvpn running... Thanks!