Hi!

VPN Gate is a very nice website with tons of Public VPN to choose from.
They also provide openvpn config files – as .opvn files – to easily connect to a server by using the open-source openvpn client application.

But instead of downloading a config file every time you want to try out a server, you can copy the file URL and pipe it to openvpn using curl or wget.

Here’s how I use them, copy the desired openvpn config file URL and then pipe it this way:

  • wget
    wget -qO- "URL" | sudo openvpn --config /dev/stdin
  • curl
    curl -s "URL" | sudo openvpn --config /dev/stdin

Add –auth-user-pass if needed and don’t forget to enclose the URL in “quotation marks” ;)
Cheers!