Skip to content
/ mulvlad Public

Unofficial Mullvad.net client written in Python.

License

Notifications You must be signed in to change notification settings

pmkap/mulvlad

Repository files navigation

mulvlad

Unofficial Mullvad.net client written in Python. Similiar to wg-quick, but with some additions to handle keys and relays via the Mullvad.net API.

Dependencies

  • pyroute2
  • requests

Installation

Copy mulvlad.py to /usr/local/bin/ and the Systemd Unit files and Timer to /etc/systemd/system/.

Usage

Place a config.py file in /usr/local/etc/mulvlad/ looking the following:

ACCOUNT = '9999999999999999'
IFNAME = 'wg1-mull'
ALLOWED_IPS = ['0.0.0.0/0']
LOCATIONS = ['de-']
PREFER_OWNED = True

As this file contains the Mullvad.net account number, it's maybe a good idea to make this file chmod 600 with root as its owner.

Set everything up: mulvlad.py start

Tear down: mulvlad.py stop

Rotate keys: mulvlad.py rotate

Or use the Systemd Units and Timer.

TODO

  • handle IPv6

About

Unofficial Mullvad.net client written in Python.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages