An open API service indexing awesome lists of open source software.

https://github.com/mar0ls/tor_proxy_mac

Tor proxy for macos - script
https://github.com/mar0ls/tor_proxy_mac

bash-script macbook macos proxy tor

Last synced: about 1 month ago
JSON representation

Tor proxy for macos - script

Awesome Lists containing this project

README

          



# Tor Proxy Setup Script

This bash script automates the setup of a SOCKS proxy using Tor on macOS, utilizing Homebrew.

## Prerequisites

- macOS
- [Homebrew](https://brew.sh/)
- [Tor](https://www.torproject.org/)
all requirment installed automatically if not present

## Installation

1. Open a terminal window.

2. Run the following command to download and execute the script:

```bash
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/mar0ls/tor_proxy_mac/main/tor-proxy.sh)"
```

3. Follow the on-screen instructions to install Homebrew, Tor, and configure the SOCKS proxy.

## Usage

1. Run the script:

```bash
./tor-proxy.sh
```

2. Follow the prompts to install Homebrew, Tor, and configure the SOCKS proxy.

3. Choose your network interface when prompted (Wi-Fi or Ethernet).

4. The script will enable a SOCKS proxy on `127.0.0.1:9050` using the selected network interface.

## Disabling the Proxy

To disable the SOCKS proxy, press `Ctrl+C` in the terminal where the script is running.

## Configuration Options

You can customize the script by modifying the following parameters:

- `INTERFACE`: The network interface to use for the proxy (default: Wi-Fi or Ethernet).

Edit these variables directly in the script to suit your preferences.