mozillavpn
Control and manage Mozilla VPN connections
TLDR
Log in with an interactive prompt
Connect to Mozilla VPN
Display the connection status
List available servers
Select a specific server
Disconnect from Mozilla VPN
Log out
Display help for a subcommand
SYNOPSIS
mozillavpn <command> [<options>]
Examples:
mozillavpn connect
mozillavpn status
mozillavpn locations
PARAMETERS
connect
Establishes a VPN connection. Optionally accepts a location to connect to a specific server.
disconnect
Terminates the active VPN connection.
status
Displays the current VPN connection status, including connected location and duration.
locations
Lists all available VPN server locations that you can connect to.
account
Manages user account operations, such as logging in or out of your Mozilla VPN subscription.
settings
Configures various VPN client settings, like enabling auto-connect on startup or managing the network kill switch.
help
Shows help information for the main command or a specific subcommand.
version
Prints the installed Mozilla VPN client version.
--help, -h
Displays general help message and a list of available commands.
DESCRIPTION
The mozillavpn command-line interface (CLI) provides a powerful way to interact with and manage your Mozilla VPN client on Linux systems.
It allows users to perform various actions directly from the terminal, such as connecting to or disconnecting from the VPN, checking the current connection status, listing available server locations, and managing account details. This CLI tool is particularly useful for automation, scripting, and for users who prefer a text-based interface over a graphical one. It integrates with the underlying Mozilla VPN application, providing control over its core functionalities, including connection management, DNS settings, and the network kill switch. The command aims to give users comprehensive control over their privacy and security settings provided by the Mozilla VPN service.
CAVEATS
The mozillavpn command requires the Mozilla VPN client application to be installed and configured on your Linux system. Some operations, particularly connection management, might require appropriate user permissions or interaction with a system service that has elevated privileges. Ensure you are logged into your Mozilla VPN account for full functionality.
AUTOMATION AND SCRIPTING
The CLI's primary advantage is its suitability for automation. Users can write shell scripts to automatically connect to the VPN on system startup, switch locations based on a schedule, or monitor connection status for reporting purposes, enhancing productivity and security management.
UNDERLYING TECHNOLOGY
Mozilla VPN utilizes the WireGuard protocol, known for its modern cryptography, high performance, and streamlined codebase. The mozillavpn command interacts with the client, which in turn manages the WireGuard tunnels, providing a secure and efficient VPN connection.
HISTORY
Mozilla VPN, initially launched as 'Mozilla Firefox Private Network' in 2019 and rebranded in 2020, is a VPN service developed by Mozilla. The command-line interface for Linux was introduced to provide more flexibility and integration options for users and system administrators who prefer or require scripting capabilities. Its development focuses on ease of use while leveraging underlying open-source technologies like WireGuard for secure and fast connections.