This script is used for route network traffic over tor proxy in MacOS
- Tor
- Python3
brew install tor
if you don't have brew, here(https://brew.sh) installation instructions
-
clone code
git clone https://github.com/Pradeeparul2/torproxy-mac.git
-
Create virtual environment and install requirements
cd torproxy-mac python -m venv venv source venv/bin/activate
Install requirements
pip install -r requirements.txt
-
Run torproxy script
# for help python torproxy.py -h # To start tor proxy python torproxy.py -c start # To stop tor proxy python torproxy.py -c stop