My first post on the forum and I’m fairly new getting to grips with tor on linux and macOS.
I currently have tor running well on an Intel macOS set up, to provide a hidden service for another application.
I tried to follow the same set up, i.e: install through homebrew and use the same ports and torrc config data, however, I have not yet been succesfull in getting tor to play nice with the application via controlport.
brew services list seems to indicate tor has started, with the output
tor started mymachine ~/Library/LaunchAgents/homebrew.mxcl.tor.plist
… but I’m not sure.
when I try to monitor traffic via nyx, for example, terminal spits,
Unable to connect to tor. Are you sure it’s running?
my torrc file looks like this:
ClientOnionAuthDir /Users/mymachine/Library/Application Support/TorBrowser-Data/Tor/onion-auth ControlPort 9051 CookieAuthentication 1 CookieAuthFileGroupReadable 1 DataDirectory /usr/local/etc/tor GeoIPFile /Applications/Tor Browser.app/Contents/Resources/TorBrowser/Tor/geoip GeoIPv6File /Applications/Tor Browser.app/Contents/Resources/TorBrowser/Tor/geoip6 SOCKSPort 9050 Log notice stdout HiddenServiceDirectory /usr/local/etc/tor/myhiddenservice/ HiddenServicePort 8080 127.0.0.1:8080
at the moment, I’m just trying to try different troubleshooting, namely,
- checked permissions on directories
- try different directory locations
- trying different ports
- reinstalling with brew
but nothing seems to give.
If there is any general resources for how to troubleshoot,
or if there are any hints about how Intel and M1 architecture differs, I’d highly appreciate any information.
Guessing that M1 might still be largely unsupported, but was just hoping that someone might have some experience to compare with.
Also. It had crossed my mind that already running tor on another machine on local network could cause problems. But again, I’m unsure.
Also, I’ve been looking for an alternative to Basez that I used on Linux to encode the privatekey into base32, but seem to have difficulty on macOS. Was wondering if anyone has experience with public/private key authentication, hostname / onion-auth files on macOS.
If any pointers greatly appreciated in advance!