Quantcast
Channel: Active questions tagged openvpn - Unix & Linux Stack Exchange
Viewing all articles
Browse latest Browse all 823

Simplifying how I connect to a OpenVPN client

$
0
0

Following the Arch Wiki's guide to ProtonVPN, I have several.ovpn files inside /etc/openvpn/client. Every time I want to connect to a certain server, I need to fully type the command:

sudo openvpn /etc/openvpn/client/file.ovpn

Given that my shell autocompletion does not work for file name for some reason, what would be the recommended way to simplify how I connect to a server? I'm sure there must be some application that manages what's inside the client folder for the user so a simple command suffices, but for some reason I couldn't find one.

I could always use an alias in my shell configuration for the most common servers I connect to, but it seems counterintuitive to work in this way.

Obs: I could use the protonvpn package itself instead, but I can't seem to make it work out of the box on my machine, so I'm disregarding it here.


Viewing all articles
Browse latest Browse all 823

Trending Articles