سيساعدك هذا الدليل في إعداد وكيل Snowflake مستقل على خادم لمساعدة المستخدمين الخاضعين للرقابة على الاتصال بشبكة Tor. المتطلبات الوحيدة هي الاتصال بالإنترنت، ومع ذلك فإن إحدى المزايا الرئيسية لبروكسيات Snowflake المستقلة هي أنه يمكن تثبيتها على الخوادم وتوفر نطاقًا تردديًا أعلى وخيارًا أكثر موثوقية للمستخدمين الذين يقفون وراء أنظمة NAT وجدران الحماية المقيدة. لذلك، نوصي بشكل خاص:
- 24/7 اتصال بالإنترنت
- A full-cone NAT (you can use this NAT behaviour tool to test what type of NAT you have. The properties you are looking for are address-independent mapping and either address-independent or address-dependent filtering)
هناك عدة طرق لإعداد وتشغيل وكيل snowflake مستقل.
إعداد Docker
You must first have Docker and docker-compose installed.
We have a Docker image to ease the setup of a snowflake proxy. أولا قم بتحميل docker-compose.yml. بعد ذلك، انشر الوكيل عن طريق تشغيل:
docker-compose up -d snowflake-proxy
يجب أن تشاهد الآن الإخراج:
إنشاء snowflake-proxy ... تم
والوكيل الخاص بك يعمل!
Ansible
There is now an ansible role to install a Snowflake proxy on Debian created by Jacobo Nájera: https://galaxy.ansible.com/nvjacobo/snowflake
التجميع والتشغيل من المصدر
ستحتاج أولاً إلى تثبيت وتهيئة Go لإنشاء كود proxy-go مستقل. If you are running Ubuntu or Debian, you can install Go by executing
apt install golang
. أو قم بزيارة https://golang.org/dl/. ستحتاج إلى Go 1.13+ لتشغيل وكيل Snowflake.استنساخ شفرة المصدر.
git clone https://git.torproject.org/pluggable-transports/snowflake.git
- بناء وكيل Snowflake.
cd snowflake/proxy go build
- قم بتشغيل الوكيل Snowflake.
For our fallback proxy-go instances on snowflake-broker, we manage proxy-go instances using runit. However, a simpler nohup command will also allow you to run an instance in the background.
nohup ./proxy &