I followed a guide on creating your own VPN using OpenVPN and only encountered two errors from openVPN guide. I think my VPN is created but I thought this would be useful since I am in Libraries using open WiFi.
When I ran sudo ufw allow OpenSSH
I got an error message: ERROR: Could not find a profile matching 'OpenSSH'
Another issue I encounter was after I ran sftp tim@openvpn_server_ip:client-configs/files/client1.ovpn ~/
I received the message ssh: Could not resolve hostname openvpnserverip: Name or service not known
Couldn't read packet: Connection reset by peer
Thanks for any help in advance! I tried running the second command again and it wouldn't terminate so I had to ctrl + c it myself
Best Answer
I have encountered the same ERROR:
So what I did was to run:
After installing, I ran:
And I verified it with:
I hope it will work for you too!