Note: You should only run a Windows bridge if you can run it 24/7. If the operator is unable to guarantee that, a Snowflake is a better way to contribute resources.
1. Download the Windows Expert Bundle and the Tor Browser
Windows Expert Bundle. Unzip the contents on the desktop.
Tor Browser (version depends on your computer). Run the
.exe
and install with default settings.
You will need to show hidden items and file name extensions. In your Explorer window, in the top-left, click on the View tab. In the Show/hide section furthest to the right, check the checkbox for Hidden items; check the checkbox for File name extensions.
2. Build files and relocate
Open up the Tor folder on your desktop. Double click tor.exe
. Once the command prompt reads: [notice] Bootstrapped 100% (done): Done
, close the window. This creates the folder C:\Users\<user>\AppData\Roaming\tor\
(where <user>
is your user name).
From the Tor folder on your desktop, select all .dll
's and .exe
's and cut/paste them into the C:\Users\<user>\AppData\Roaming\tor\
folder.
Open up the Data folder on your desktop. Inside that Tor folder, select both geoip
and geoip6
and cut/paste them into the C:\Users\<user>\AppData\Roaming\tor\
folder.
Navigate to C:\Users\<user>\Desktop\Tor Browser\Browser\TorBrowser\Tor\PluggableTransports
. Select obfs4proxy.exe
and cut/paste it into the C:\Users\<user>\AppData\Roaming\tor\
folder.
3. Create and edit your Tor config file
In the C:\Users\<user>\AppData\Roaming\tor\
folder, right-click on white space and select New > Text Document
. Name the file torrc
; there is no extension.
Double-click on the torrc
file. When prompted How do you want to open this file?, select Notepad
. Add the following:
Log notice file C:\Users\<user>\AppData\Roaming\tor\notice.log
GeoIPFile C:\Users\<user>\AppData\Roaming\tor\geoip
GeoIPv6File C:\Users\<user>\AppData\Roaming\tor\geoip6
BridgeRelay 1
# "TODO1" را با درگاه انتخابی خود جایگزین کنید.
# این درگاه باید از بیرون قابل دسترس باشد.
# از درگاه 9001 اجتناب کنید چون به صورت رایج با تور مرتبط می باشد و سانسور کنندگان ممکن است اینترنت را برای این درگاه اسکن کنند.
ORPort TODO1
ServerTransportPlugin obfs4 exec C:\Users\<user>\AppData\Roaming\tor\obfs4proxy.exe
# "TODO2" را با درگاه obfs4 انتخابی خود جایگزین کنید.
# این درگاه باید به صورت خارجی قابل دسترس باشد و باید از درگاه مشخص شده برای ORPort متفاوت باشد.
# از درگاه 9001 اجتناب کنید چون به صورت رایج با تور مرتبط می باشد و سانسور کنندگان ممکن است اینترنت را برای این درگاه اسکن کنند.
ServerTransportListenAddr obfs4 0.0.0.0:TODO2
# درگاه ارتباط محلی بین تور و obfs4. همیشه این را روی "auto" تنظیم کنید.
# "Ext" به معنای "تعمیم یافته" است نه "خارجی". شاره درگاه خاصی را تنظیم نکنید و روی 0.0.0.0 را گوش نکنید.
ExtORPort auto
# "<address@email.com>" را با نشانی ایمیل خود جابجا کنید تا در صورت مشکل با پل شما بتوانیم با شما ارتباط برقرار کنیم.
# این انتخابی است ولی توصیه می شود.
اطلاعات مخاطب <address@email.com>
# یک نام مستعار برای پل خود انتخاب کنید. این به اختیار شما می باشد.
Nickname PickANickname
Don't forget to change the ORPort
, ServerTransportListenAddr
, ContactInfo
, <user>
, and Nickname
options.
Use a fixed obfs4 port larger than 1024, still avoiding 9001.
توجه داشته باشید که درگاه OR تور و درگاه obfs4 آن باید قابل دسترس باشند. اگر پل شما در پشت یک دیوار آتش یا ترجمه نشانی شبکه (NAT) قرار گرفته، مطمئن شوید که هر دو درگاه باز می باشد. می توانید از آزمایش قابل دسترس بودن ما برای بررسی قابل دسترس بودن درگاه obfs4 از اینترنت استفاده کنید.
4. Start Tor
Open up the Command Prompt App. Change your directory with: cd C:\Users\<user>\AppData\Roaming\tor\
. Type: tor.exe -f torrc
.
5. روی رخداد ها نظارت داشته باشید
To confirm your bridge is running with no issues, you should see something like this in C:\Users\<user>\AppData\Roaming\tor\notice.log
.
[اعلان] اثر انگشت کلید هویت سرور تور شما '<NICKNAME><FINGERPRINT>' می باشد
[اعلان] اثرانگشت کلید هویت هش شده پل تور شما '<NICKNAME><HASHED FINGERPRINT>' می باشد
[اعلان] انتقال سرور ثبت شده 'obfs4' در '[::]:46396'
[اعلان] تور با موفقیت یک زنجیره را باز کرده است. به نظر می آید که عملکرد کلاینت مشکلی ندارد.
[اعلان] بوت استرپ 100%: تمام
[اعلان] بررسی قابل دسترس بودن <redacted>:3818 ORPORT... (این ممکن است تا 20 دقیقه طول بکشد -- به دنبال پیام های لاگ که نشان می دهند عملیات موفق بوده باشید)
[اعلان] خود آزمایی نشان می دهد که ORPort از بیرون قابل دسترس است. عالی.انتشار توصیفگر سرور.
6. یادداشت های پایانی
If you are having trouble setting up your bridge, have a look at our help section. If your bridge is now running, check out the post-install notes.