LinuxCommandLibrary

mozillavpn

Control and manage Mozilla VPN connections

TLDR

Log in with an interactive prompt

$ mozillavpn login
copy

Connect to Mozilla VPN
$ mozillavpn activate
copy

Display the connection status
$ mozillavpn status
copy

List available servers
$ mozillavpn servers
copy

Select a specific server
$ mozillavpn select [server_name]
copy

Disconnect from Mozilla VPN
$ mozillavpn deactivate
copy

Log out
$ mozillavpn logout
copy

Display help for a subcommand
$ mozillavpn [subcommand] --help
copy

SYNOPSIS

mozillavpn [command] [options]

PARAMETERS

connect
    Connect to the VPN using the default location or the specified location if provided.

disconnect
    Disconnect from the VPN.

status
    Display the current VPN connection status.

login
    Log in to your Mozilla VPN account. Requires username and password to be configured first.

logout
    Log out from your Mozilla VPN account.

location
    Connect to a specific VPN server location by its location ID.

list-locations
    List available VPN server locations and their IDs.

settings
    Shows VPN Settings.

help
    Display help information about the command.

DESCRIPTION

The `mozillavpn` command provides a command-line interface for interacting with the Mozilla VPN service on Linux. It allows users to connect to VPN servers, disconnect, check connection status, manage account settings, and perform other VPN-related operations. This tool is useful for scripting VPN connections or using the VPN service in environments without a graphical user interface. It leverages the same underlying technology as the graphical Mozilla VPN application, ensuring consistency in features and security.

The command focuses on providing essential VPN functionality through easily accessible commands, promoting user privacy and security. Regular updates maintain compatibility with the Mozilla VPN service and incorporate security improvements.

CAVEATS

The `mozillavpn` command requires the Mozilla VPN application to be installed and configured correctly. Ensure that the VPN service is running and that you are logged in before using the command.

Some features available in the graphical application may not be accessible through the command-line interface.

CONFIGURATION

To use `mozillavpn`, ensure you have a valid Mozilla VPN subscription. The application usually handles authentication. However, ensure you are logged in via the GUI or relevant CLI commands to ensure the command tool works as intended.

HISTORY

The `mozillavpn` command was developed alongside the Mozilla VPN application to provide a command-line interface for Linux users. It was created to offer more flexibility and control over VPN connections, particularly in server or automated environments. It's evolved to provide a more comprehensive feature set to mirror graphical functionalities.

SEE ALSO

nmcli(1), openvpn(8), wireguard(8)

Copied to clipboard