注意: これらの手順は、ネットワークデーモンの tor、すなわち little-t tor で Pluggable Transport を使用するためのものです。
Tor Browser で Pluggable Transport を使う方法につきましては、Tor Browser ユーザーマニュアルをご覧ください。
Tor ネットワークへの直接アクセスはブロックされることがあります。
Tor は、これらの検閲を回避するために、Pluggable Transport として知られる回避ツールと一緒に使用することができます。
obfs4、Snowflake、および WebTunnel は、Tor で使用できる Pluggable Transport です。
Tor の設定ファイル、すなわち torrc を編集することで、Pluggable Transport を使うように Tor を構成することができます。
異なるオペレーティングシステムで Pluggable Transport を使用するように tor
を構成する手順は、以下の通りです。
ご利用のオペレーティングシステム用の tor
または Tor Expert Bundle をダウンロードおよびインストールします。
Tor Project のウェブサイトへのアクセスがブロックされている場合は、Tor Project の公式ミラーをご利用ください。
tor
がインストールされている場合は、Pluggable Transport バイナリーを Tor Expert Bundle の一部としてダウンロードできます。Tor Expert Bundle の一部として利用可能な Pluggable Transport バイナリーは以下の通りです。
- lyrebird : obfs4 や WebTunnel など、いくつかの Pluggable Transport プロトコルを実装しています。
- snowflake-client : Snowflake Pluggable Transport を実装しています。
任意のディレクトリーに Tor Expert Bundle を展開します。
Pluggable Transport の obfs4 と WebTunnel については、ブリッジウェブサイト、またはメールか Telegram 経由でブリッジを入手できます。
Tor の設定ファイル、すなわち torrc を編集します。
以下のサンプル torrc
をコピーし、オペレーティングシステムに応じて変更してください。
Linux に little-t tor をインストールした場合は、デフォルトの torrc
を編集する必要があります。
obfs4 または WebTunnel を使うように tor
を構成する
UseBridges 1
# Uncomment the line below for Windows and include the path to the pluggable transport executable (Example: C:\Users\user\Downloads\tor\pluggable_transports\lyrebird.exe)
#ClientTransportPlugin meek_lite,obfs4,webtunnel exec <path-of-executable>
# Uncomment the line below for macOS and include the path to the pluggable transport executable (Example: /Users/user/Downloads/tor/pluggable_transports/lyrebird)
#ClientTransportPlugin meek_lite,obfs4,webtunnel exec <path-of-executable>
# Linux の場合は以下の行のコメントを外し、Pluggable Transport の実行ファイルへのパスを含めます (例: /home/user/Downloads/tor/pluggable_transports/lyrebird)
#ClientTransportPlugin meek_lite,obfs4,webtunnel exec <path-of-executable>
Bridge obfs4 <IP ADDRESS>:<PORT> <FINGERPRINT> cert=<CERTIFICATE> iat-mode=0
Bridge webtunnel <IP ADDRESS>:<PORT> <FINGERPRINT> url=<URL> ver=0.0.1
Snowflake を使うように tor
を設定する
UseBridges 1
# Uncomment the line below for Windows and include the path to the pluggable transport executable (Example: C:\username\Browser\TorBrowser\tor\pluggable_transports\snowflake-client.exe)
#ClientTransportPlugin snowflake exec <path-of-executable>
# Uncomment the line below for macOS and include the path to the pluggable transport executable (Example: /Users/user/Downloads/tor/pluggable_transports/snowflake-client)
#ClientTransportPlugin snowflake exec <path-of-executable>
# Uncomment the line below for Linux and include the path to the pluggable transport executable (Example: /home/user/Downloads/tor/pluggable_transports/snowflake-client)
#ClientTransportPlugin snowflake exec <path-of-executable>
Bridge snowflake 192.0.2.3:80 2B280B23E1107BB62ABFC40DDCC8824814F80A72 fingerprint=2B280B23E1107BB62ABFC40DDCC8824814F80A72 url=https://1098762253.rsc.cdn77.org front=www.phpmyadmin.net,cdn.zk.mk ice=stun:stun.antisip.com:3478,stun:stun.epygi.com:3478,stun:stun.uls.co.za:3478,stun:stun.voipgate.com:3478,stun:stun.mixvoip.com:3478,stun:stun.nextcloud.com:3478,stun:stun.bethesda.net:3478,stun:stun.nextcloud.com:443 utls-imitate=hellorandomizedalpn
トラブルシューティング
- Tor が接続に失敗する場合、
torrc
ファイルが正しくフォーマットされているか確認してください。
tor
が Tor Expert Bundle からインストールされた場合、torrc
ファイルが tor バイナリーと同じフォルダーにあることを確認してください。
- Tor ログにエラーがないか確認してください。
- これらの一般的なトラブルシューティング手順を実行しても接続できない場合は、入手したブリッジがオフラインまたはブロックされている可能性があります。
ブリッジウェブサイト、またはメールか Telegram 経由で新しいブリッジを入手してください。