mozilla-mobile / mozilla-vpn-client

A fast, secure and easy to use VPN. Built by the makers of Firefox.
https://vpn.mozilla.org
Other
474 stars 114 forks source link

Create an OpenVPN or Wireguard configuration #3165

Open Slabity opened 2 years ago

Slabity commented 2 years ago

All the major VPN services that I've seen have either (or both) an OpenVPN or Wireguard configuration available so that we don't need to have a separate application to manage a VPN connection.

I have no way to connect to this VPN service on my current system.

┆Issue is synchronized with this Jira Task

data-sync-user commented 2 years ago

➤ Andrea Marchesini commented:

We do have a command-line interface for the MozillaVPN client. In theory, you should be able to activate the VPN running:

mozillavpn activate

if you have completed the authentication flow (mozillavpn login). See: https://github.com/mozilla-mobile/mozilla-vpn-client/wiki/Command-line-interface ( https://github.com/mozilla-mobile/mozilla-vpn-client/wiki/Command-line-interface|smart-link )

I agree, it would be nice to have a: mozillavpn wg -o configFile to write the wireguard configuration file.

Slabity commented 2 years ago

mozillavpn activate I agree, it would be nice to have a: mozillavpn wg -o configFile to write the wireguard configuration file.

Actually I would prefer not to need a dedicated program at all. That would require me to create a new package for my distro, getting it reviewed and approved, and then maintaining it if it ever breaks or the build process changes. Not to mention all the dependencies that it would pull in, which is not something I can put on a router.

Just a place to download the .ovpn config files or a page with information on the Wireguard setup would be nice.

Slabity commented 1 year ago

Hey guys, out of curiosity, is this still on anyone's radar (or maybe it was already implemented)? I am still interested in switching my primary VPN to Mozilla, but without the ability to generate a general-purpose OpenVPN or Wireguard configuration that is not an option for me yet.

lcoq commented 4 months ago

Hi ! The wireguard configuration has been added last year, is there any chance to add the OpenVPN config as well ?

zilti commented 2 months ago

Has it been added? Where? I am unable to find even a reference to it.

siwonpawel commented 1 week ago

@zilti you can run mozillavpn wgconf or /Applications/Mozilla\ VPN.app/Contents/MacOS/Mozilla\ VPN wgconf on MacOS, the reference is here: https://github.com/mozilla-mobile/mozilla-vpn-client/blob/main/docs/Components/Command-line-interface.md#generating-wireguard-configuration