This package is not related to or developed by Mullvad. No relationship between the developer of this package and Mullvad exists.
All trademarks, logos and brand names are the property of their respective owners. All company, product and service names used in this package are for identification purposes only. Use of these names,trademarks and brands does not imply endorsement.
This SwiftBar plugin let's you switch between Mullvad WireGuard proxies. It is especially useful if you got a Mullvad configured on your router.
SwiftBar is a successor to xbar which this plugin was orginally wrote for.
I assume you plugin folder is set to ~/.swiftbar/
Download the shell script:
mkdir -p ~/.swiftbar/mullvad-wireguard-proxy
wget -qo "~/.swiftbar/mullvad-wireguard-proxy/mullvad-wireguard.1h.sh" https://raw.githubusercontent.com/mietzen/swiftbar-mullvad-wireguard-proxy-plugin/main/mullvad-wireguard.1h.shOn the initial start the a venv will created and the remaining assets are loaded.
It can also be used to set Proxy Auto-Config via a URL, you can either create a file in ~/.swiftbar/mullvad-wireguard-proxy/.pac_url with your URL or set the URL manually via system settings.
The plugin will automatically set the proxy bypass domains, including you current local network and search domain:
$ networksetup -getproxybypassdomains Wi-Fi
127.0.0.1/8
169.254.0.0/16
192.168.178.0/24
localhost
*.local
*.boxYou can also add additional bypass strings by ~/.swiftbar/mullvad-wireguard-proxy/config.json and also add custom proxies (e.g. local) SOCKS5 proxies:
{
"bypass_domains": [
"my.domain.com",
"my_2nd.domain.com"],
"custom_proxies":[
{
"name": "VPN Bypass",
"host": "192.168.178.42",
"port": 1337
}]
}

