Giter Club home page Giter Club logo

xbar-mullvad-wireguard-proxy-plugin's Introduction

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 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:

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

Demo GIF

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.

PAC Example

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
*.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
        }]
}

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.