# One-click macOS Proxy

#### Run this command to instantly start a proxy server and enable it for macOS (on WiFi).&#x20;

{% code overflow="wrap" %}

```bash
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/anyone-protocol/anon-install/main/macos/start_proxy.sh)"
```

{% endcode %}

Press '**control+C**' to quit and disable proxy.

***

### Read Me

This command runs a script that downloads a executable Anyone client from [GitHub](https://github.com/anyone-protocol/ator-protocol/releases/) and executes the client with the configuration below:

```
SocksPort 127.0.0.1:9050
SocksPolicy accept 127.0.0.1
SocksPolicy reject *
HTTPTunnelPort auto
```

The script automatically configures proxy settings on the Wi-Fi interface and enables the proxy.

```bash
networksetup -setsocksfirewallproxy "Wi-Fi" 127.0.0.1 9050
networksetup -setsocksfirewallproxystate "Wi-Fi" on
```

The script disables the proxy when '**control+C**' is initiated.

```bash
networksetup -setsocksfirewallproxystate "Wi-Fi" off
```
