So I recently bought a Linux server (Debian GNU/Linux 7 (wheezy)). I only bought this server to use it as a VPN-Server. But it seems to be more complicated than I thought. I mean I don't want to learn Linux, I just want to set up OpenVPN that's it... Connecting to the server via SSH using Putty (from Windows 8.1) worked just fine. But even though I found a step by step tutorial for installing OpenVPN, I'm having a lot of trouble following it.
sudo apt-get install openvpn
I couldn't use sudo. So I just didn't use it. I'm on the root account though, in case that matters.
This command returned 'cannot create directory'. I googled it and used
mkdir -p /home/root/openvpn instead, which returned nothing, so I assume it's fine.
Returned that vim is not valid, so I tried
apt-get install vim with success. Then then I tried the command again and I got stuck.. it took me forever to understand that I got myself into some weird edit mode... So I assume I have to "change filenames for keys and certificates of client.ovpn", but how.. and to what? Idk, I just skipped that for now.
openssl rsa -in /home/root/openvpn/spielprinzip.key -out /home/root/openvpn/spielprinzip_new.key -des3
for this I had to do
apt-get install openssl. But I got an error because the key files do not exist. So how do I get/generate them?
Well, the last steps seem straight forward, but I obviously couldn't try them yet. And I'm really wondering where I get my account.cfg and x.opvn from, which I would need to establish the VPN connection.