Skip to content

Malwarebytes/mbvpn-linux

Repository files navigation

Malwarebytes VPN for Linux

Version Go Report Card License

IMPORTANT

The client is in experimental mode, so it is important to know which parts of the Linux system are affected:

  • Configuration files in user's config directory:
    • Session info: ~/.config/mbvpn/config.yml
    • Machine ID: ~/.config/mbvpn/machine-id
    • WireGuard configurations: ~/.config/mbvpn/servers/*.conf
  • logout command removes the configuration files

Installation

Homebrew (Linux)

brew install malwarebytes/tap/mbvpn

To allow mbvpn to create WireGuard interfaces without running as root, grant it the necessary capabilities:

sudo setcap cap_net_admin,cap_net_raw+eip $(readlink -f $(which mbvpn))

Note: You may need to reapply these capabilities after updating the binary.

Usage

You can access help information using mbvpn --help or mbvpn <command> --help if you want to read details about specific commands.

First, authenticate yourself using the login command with MB-code:

mbvpn login --code MB-XXXXXX

Managing Servers

View available servers and locations:

  • List all countries: mbvpn countries
  • List cities within countries: mbvpn cities
  • List all servers: mbvpn servers

Connection Management

Connect to a server: mbvpn connect <server>

Disconnect from VPN: mbvpn disconnect

Check connection status: mbvpn status

End your session and free up the license seat: mbvpn logout

Troubleshooting

Login, logout and license issues

The mbvpn logout command deactivates your device (makes the license seat free) and removes local data for the current session. If you still face issues, delete the following files:

  • ~/.config/mbvpn/config.yml
  • ~/.config/mbvpn/machine-id

Cannot disconnect, lost internet access

Use mbvpn disconnect (without specifying a server). The tool will attempt to disconnect from all WireGuard connections.


This repository is provided as-is and isn't bound to Malwarebytes' SLA.

Contributors

Languages