Zut
April 24, 2023, 4:14am
1
Hello,
i am having trouble with one of the VPN profiles I am trying to use. I would like to locate the .ovpn files and remove it.
I found the /etc/openvpn/directory but I cant see the profiles. If I run ls while in the etc/openvpn directory I see Client and Server.
Any idea how to locate the .ovpn file?
Thanks very much
1 Like
pebcak
April 24, 2023, 4:50am
2
I use NetworkManager to setup my VPN connections.
All the connections made to any networks with or without VPN are in
/etc/NetworkManager/system-connections
Not sure if that is what you mean by VPN profiles.
Zut
April 24, 2023, 5:13am
3
I am pretty rookie here.
I can change the directory to etc and see NetworkManager, but how would I open this to see if the .ovpn files are there?
My VPN provider uses .ovpn files that can be imported into OpenVPN that gives me network access to the VPN.
pebcak
April 24, 2023, 5:32am
4
To be clear, there are no .ovpn files in there but config files for the network connections on your system.
You could list them by: ls /etc/NetworkManager/system-connections/
Locate the troublesome connection and remove it. Ex:
sudo rm /etc/NetworkManager/system-connections/au333.blablablavpn.com.udp.nmconnection
Yet I am not sure what you mean by removing the ovpn file.
The ones I get from my provider, I keep them in a directory under my home: ~/.ovpn
Then I use NetworkManager to set up a VPN connections. The mentioned files in /etc/NetworkManager/system-connections are then created.
1 Like
Zut
April 24, 2023, 6:04am
5
Thanks very much, that was the location of the file which was a .nmconnection file. NetworkManager must rename the the .ovpn file I download from the VPN provider.
Cheers
Zut
1 Like
pebcak
April 24, 2023, 6:07am
6
Glad you found what you were looking for!
Please take a moment to mark the thread as solved by checking the solution box under the post giving the solution.
system
Closed
April 26, 2023, 6:08am
7
This topic was automatically closed 2 days after the last reply. New replies are no longer allowed.