I am trying to use openvpn for tryhackme and this appears when i enter sudo openvpn ~/Downloads/“username”.ovpn in my downloads terminal in order to start the vpn. Does anyone know a resolution to this issue
That’s not the full error message.
Also, that’s no serious location for an openvpn config. That should be in /etc/openvpn/client/tryhackme.conf
, then systemctl start openvpn-client@tryhackme
Sorry the full error message was Options error: In [CMD-LINE]:1: Error opening configuration file: /home/zer0skxllz/Downloads/zeroskxllz.ovp
Sorry if my questions sound stupid i am a little new to Linux and tryhackme
Then you should read on some very basic and super important topics:
Thank you, I use kali linux not arch linux. Are these still good links to learn from?
Ok thank you. And what do you think my issue is with the vpn. I followed the video correctly and reinstalled it twice already.
- https://wiki.archlinux.org/title/Systemd#Basic_systemctl_usage
- https://wiki.archlinux.org/title/OpenVPN
OpenVPN complains about being unable to open the config file: Error opening configuration file
. So move that file to the known-good location (I told you where), and make sure you didn’t typo the filename.
Doing the same thing over and over again and expecting different results is the start of insanity. And Linux systems are not insane.
I had the same issue and didn’t realize it’s because I didn’t capitalize “Desktop” when typing the path in bash. It’s all case sensitive.