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
- Host: GitHub
- URL: https://github.com/mar0ls/tor_proxy_mac
- Owner: mar0ls
- Created: 2024-01-03T20:34:46.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2024-01-03T21:07:03.000Z (over 2 years ago)
- Last Synced: 2025-01-04T05:33:52.041Z (over 1 year ago)
- Topics: bash-script, macbook, macos, proxy, tor
- Language: Shell
- Homepage:
- Size: 7.81 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
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.