# 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
```


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.anyone.io/connect/scripts/macos.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
