OVPN on Kali

aXz

New Member
Credits
20
Hi,

I am new to kali and linux in general.

Want to learn Cyber Security so that why I choosed kali.

I am trying to install OVPN on my Kali Linux.
First, I have tried so many times now so I want to start fresh, how do I clean up or uninstall what already have been installed?

This is the commands that the guide from the VPN provider wants me to run, and this is what I have done.
(Frankfurt etc is an example and not the actual command and the links are edited and will not work as they look in this post)

apt-get update && apt-get upgrade && apt-get install curl openvpn unzip

cd /tmp && wget https://x.vpn.com/ubuntu_cli/xvpn-de-frankfurt.zip && unzip xvpn-de-frankfurt.zip && mkdir -p /etc/xpenvpn && mv config/* /etc/xpenvpn && chmod +x /etc/xpenvpn/update-resolv-conf && rm -rf config && rm -f xvpn-de-frankfurt.zip

echo "username" >> /etc/xvpn/credentials
echo "password" >> /etc/xvpn/credentials

openvpn --config /etc/openvpn/ovpn.conf --daemon

--- Wait 30 sec then run ---
curl https://www.ovpn.com/v2/api/client/ptr

When the above command is run we should get the following result
{"status":true,"ip":"the external ip","ptr":"PTR for the IP address"}

But I dont.
It says status:false and I see no IP.
 


$100 Digital Ocean Credit
Get a free VM to test out Linux!


Top