https://github.com/mietzen/xbar-mullvad-wireguard-proxy-plugin
This xbar plugin let's you switch between Mullvad WireGuard proxies.
https://github.com/mietzen/xbar-mullvad-wireguard-proxy-plugin
macos mullvad proxy socks5 wireguard xbar xbar-plugin
Last synced: 11 months ago
JSON representation
This xbar plugin let's you switch between Mullvad WireGuard proxies.
- Host: GitHub
- URL: https://github.com/mietzen/xbar-mullvad-wireguard-proxy-plugin
- Owner: mietzen
- License: mit
- Created: 2023-04-23T08:39:23.000Z (about 3 years ago)
- Default Branch: main
- Last Pushed: 2024-03-10T13:33:14.000Z (over 2 years ago)
- Last Synced: 2025-03-17T02:24:38.128Z (about 1 year ago)
- Topics: macos, mullvad, proxy, socks5, wireguard, xbar, xbar-plugin
- Language: Python
- Homepage:
- Size: 11.1 MB
- Stars: 2
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.MD
- License: LICENSE
Awesome Lists containing this project
README
# Disclaimer
**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.**
# xbar Mullvad Wireguard SOCKS5 proxy switcher
This [xbar](https://github.com/matryer/xbar) plugin let's you switch between Mullvad WireGuard proxies.
It is especially useful if you got a Mullvad configured on your router.
## Install
Download the shell script:
```Shell
wget -qo "~/Library/Application Support/xbar/plugins/mullvad-wireguard.1h.sh" https://raw.githubusercontent.com/mietzen/xbar-mullvad-wireguard-proxy-plugin/main/mullvad-wireguard.1h.sh
```
On the initial start the a `venv` will created and the remaining assets are loaded.
## Usage

It can also be used to set Proxy Auto-Config via a URL, you can either create a file in `~/Library/Application\ Support/xbar/plugins/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:
```Shell
$ networksetup -getproxybypassdomains Wi-Fi
127.0.0.1/8
169.254.0.0/16
192.168.178.0/24
localhost
*.local
*.box
```
You can also add additional bypass strings by `~/Library/Application\ Support/xbar/plugins/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
}]
}
```