MacでTorネットワークをプロキシとして使う


の、Mac版です。

インストール

$ brew install tor

起動

$ tor
output
[notice] Tor 0.4.5.7 running on Darwin with Libevent 2.1.12-stable, OpenSSL 1.1.1k, Zlib 1.2.11, Liblzma N/A, Libzstd N/A and Unknown N/A as libc.
[notice] Configuration file "/usr/local/etc/tor/torrc" not present, using reasonable defaults.
[notice] Opening Socks listener on 127.0.0.1:9050
[notice] Opened Socks listener connection (ready) on 127.0.0.1:9050
[notice] Parsing GEOIP IPv4 file /usr/local/Cellar/tor/0.4.5.7/share/tor/geoip.
[notice] Parsing GEOIP IPv6 file /usr/local/Cellar/tor/0.4.5.7/share/tor/geoip6.
[notice] Bootstrapped 0% (starting): Starting
[notice] Starting with guard context "default"
[notice] Bootstrapped 5% (conn): Connecting to a relay
[notice] Bootstrapped 10% (conn_done): Connected to a relay
[notice] Bootstrapped 14% (handshake): Handshaking with a relay
[notice] Bootstrapped 15% (handshake_done): Handshake with a relay done
(省略)
[notice] Bootstrapped 95% (circuit_create): Establishing a Tor circuit
[notice] Bootstrapped 100% (done): Done

127.0.0.1:9050がエンドポイントです。
お好みで/usr/local/etc/tor/torrcに設定ファイルを配置できます。