إعداد خادم مقاوم للحظر باستخدام عنوان IP عائم
تنظيم صفحاتك في مجموعات
يمكنك حفظ المحتوى وتصنيفه حسب إعداداتك المفضّلة.
مقدمة
يمكن أن تواجه خوادم Outline أحيانًا مشكلة أن تُكشف هويتها وتُحظر
من الوصول إلى الشبكات الخاضعة للرقابة العالية. ولن يكون من الصعب استرداد
خادم محظور إذا كان قد تم إعداده بشكل صحيح. وسنفعل ذلك باستخدام نظام أسماء النطاقات،
وهو تكنولوجيا على الإنترنت تعمل على ترجمة أسماء النطاقات (مثل getoutline.org
) إلى
عناوين IP واقعية (مثل 216.239.36.21
) و"عناوين IP عائمة"، وهي إحدى ميزات السحابة الإلكترونية
والتي تسمح بتعيين أكثر من عنوان IP إلى خادم Outline واحد.
المتطلبات
لا بد من أن يكون لديك الحد الأدنى من المهارة الفنية لفهم هذا الدليل. وسيكون الإلمام
بأساسيات نظام أسماء النطاقات مفيدًا، ولكنّه ليس ضروريًا. يُرجى الاطّلاع على دليل
MDN
حول أسماء النطاق كبداية.
كمثال حيّ، سنستخدم DigitalOcean وGoogle Domains، لكن يمكنك استخدام أي
مقدّم خدمات سحابة إلكترونية يسمح بتعيين عناوين IP (مثل Google Cloud أو
AWS Lightsail)،
وأي جهة تسجيل نطاقات (مثل
AWS Route 53).
التعليمات
تُلخص القائمة التالية خطوات تغيير عنوان IP الخاصّ بخادم:
اشترِ اسم نطاق.
اربط اسم النطاق بعنوان IP الخاصّ بالخادم.
أصدِر مفاتيح الوصول باستخدام اسم النطاق.
عيِّن عنوان IP عائمًا إلى Droplet الخاصّ بالخادم.
غيِّر اسم النطاق ليشير إلى عنوان IP الجديد.
كيف أنشئ خادم Outline على DigitalOcean؟
إذا كان لديك خادم DigitalOcean مُشغَّلاً، تخطَّ هذه الخطوة.
افتح "مدير Outline" وانقر على رمز + في أسفل اليمين لفتح شاشة
إنشاء الخادم.
انقر على "إنشاء خادم" (Create Server) على زر DigitalOcean، واتّبِع التعليمات
في التطبيق.

إنشاء اسم مضيف للخادم
انتقِل إلى Google Domains ثمّ
انقر على "البحث عن النطاق المناسب".
أدخِل اسم نطاق في شريط البحث واختَر اسمًا. استخدمنا
outlinedemo.info
كمثال.
انتقِل إلى علامة تبويب "نظام أسماء النطاقات" في Google Domains. ضِمن "سجلّات الموارد المخصّصة"،
اكتب عنوان IP الخاصّ بالخادم في الحقل المُسمى "عنوان IPV4".
انتقِل إلى علامة التبويب "الإعدادات" (Settings) للخادم في "مدير Outline". ضِمن
"اسم المضيف" (Hostname)، اكتب اسم المضيف للخادم الذي اشتريته ثم انقر على "حفظ" (Save). سيؤدي هذا الإجراء إلى
جعل كل مفاتيح الوصول في المستقبل تستخدم اسم المضيف هذا بدلاً من عنوان IP الخاصّ بالخادم.

كيف أغير عنوان IP الخاصّ بالخادم؟
انتقِل إلى الخادم في صفحة Droplets على DigitalOcean.
انقر على "التفعيل الآن" (Enable Now) في أعلى يسار النافذة بجانب "عنوان IP العائم" (Floating IP).

- ابحث عن الخادم في قائمة Droplets ثم انقر على "تعيين عنوان IP عائم" (Assign Floating IP).

عُد إلى علامة التبويب "نظام أسماء النطاقات" في Google Domains.
غيِّر عنوان IP مثلما سبق، لكن بعنوان IP
عائم جديد. قد يستغرق تنفيذ هذا الإجراء مدّة تصل إلى 48 ساعة، لكن غالبًا ما يتم ذلك خلال
بضع دقائق.
انتقِل إلى أداة "نظام أسماء النطاق على الإنترنت" التابعة لـ Google
وأدخِل اسم النطاق لمعرفة متى حدث التغيير في الخطوة
الأخيرة.

عند نشر هذا التغيير، سيتم ربط العملاء الآن بعنوان IP الجديد. ويمكنك
ربط الخادم بمفتاح جديد وفتح الرابط https://ipinfo.io للتأكّد من
ظهور عنوان IP الجديد الخاص بالخادم.
في النهاية،
يمكن أن يكون تغيير عناوين IP الخاصة بخادم Outline طريقة سريعة لإزالة حظر خادم
وإعادة الخدمة إلى العملاء. لمزيد من الاستفسارات، يمكنك التعليق على
منشور الإعلان أو الانتقال إلى
صفحة دعم Outline أو
التواصل معنا مباشرةً.
إنّ محتوى هذه الصفحة مرخّص بموجب ترخيص Creative Commons Attribution 4.0 ما لم يُنصّ على خلاف ذلك، ونماذج الرموز مرخّصة بموجب ترخيص Apache 2.0. للاطّلاع على التفاصيل، يُرجى مراجعة سياسات موقع Google Developers. إنّ Java هي علامة تجارية مسجَّلة لشركة Oracle و/أو شركائها التابعين.
تاريخ التعديل الأخير: 2025-07-25 (حسب التوقيت العالمي المتفَّق عليه)
[null,null,["تاريخ التعديل الأخير: 2025-07-25 (حسب التوقيت العالمي المتفَّق عليه)"],[[["\u003cp\u003eOutline servers can be blocked in highly censored networks, but recovery is possible by rotating the server's IP address.\u003c/p\u003e\n"],["\u003cp\u003eThe recovery process involves using DNS to translate a domain name to an IP address and using a Floating IP feature to assign multiple IP addresses to the server.\u003c/p\u003e\n"],["\u003cp\u003eUsers need to purchase a domain name and point it to the server's IP address and can use services such as DigitalOcean and Google Domains, or similar providers.\u003c/p\u003e\n"],["\u003cp\u003eAfter setting up a hostname and assigning a Floating IP, users must update their domain's DNS records with the new Floating IP address.\u003c/p\u003e\n"],["\u003cp\u003eOnce the DNS changes propagate, clients will connect to the server using the new IP address, restoring access to previously blocked servers.\u003c/p\u003e\n"]]],["To recover a blocked Outline server, purchase a domain name and point it to the server's IP address. Then, issue access keys using the domain name. Next, assign a Floating IP to the server. Finally, update the domain name's DNS records to point to the new Floating IP address. This process switches the server's address without changing the access keys. Verify the update by using online tools to check if the domain is directing to the new IP.\n"],null,["# Set Up a Blocking-Resistant Server With Floating IPs\n\nIntroduction\n------------\n\nOutline servers can sometimes face the problem of being discovered and blocked\nfrom highly censored networks. It's possible and not too difficult to recover a\nblocked server if it was set up correctly. We will do this using DNS, the\nInternet technology which translates domain names (like `getoutline.org`) to\nphysical IP addresses (like `216.239.36.21`), and Floating IPs, a cloud feature\nwhich lets you assign more than one IP address to an Outline server.\n\nRequirements\n------------\n\nThere is a low level of technical skill needed to follow this guide. A basic\nunderstanding of DNS is helpful, but not required. See the\n[MDN](https://developer.mozilla.org/docs/Learn/Common_questions/What_is_a_domain_name)\nguide on domain names for an introduction.\n\nTo have a concrete example we will use DigitalOcean and Google Domains, but any\ncloud provider which allows assignment of IP addresses (e.g. Google Cloud or\n[AWS Lightsail](https://lightsail.aws.amazon.com/ls/docs/en_us/articles/lightsail-create-static-ip))\nand any domain registrar (e.g.\n[AWS Route 53](https://lightsail.aws.amazon.com/ls/docs/en_us/articles/amazon-lightsail-using-route-53-to-point-a-domain-to-an-instance))\nwill work just as well.\n\nInstructions\n------------\n\n1. The following list summarizes the steps to rotate the IP address of a server:\n\n2. Purchase a domain name.\n\n3. Point the domain name to our server's IP address.\n\n4. Issue access keys using the domain name.\n\n5. Assign a Floating IP to the server's Droplet.\n\n6. Change the domain name to point at the new IP address.\n\nCreate an Outline Server on DigitalOcean\n----------------------------------------\n\nIf you have a running DigitalOcean server, skip to the next step.\n\n1. Open Outline Manager and Click \"+\" at the bottom left to enter the server\n creation screen.\n\n2. Click \"Create Server\" on the \"DigitalOcean\" button and follow the directions\n in the app.\n\nMake a Hostname for Your Server\n-------------------------------\n\n1. Navigate to [Google Domains](https://domains.google.com/m/registrar/) and\n click \"Find the perfect one\".\n\n2. Enter a domain name in the search bar and choose a name. We used\n `outlinedemo.info` as an example.\n\n3. Navigate to the DNS tab on Google Domains. Under \"Custom Resource Records\",\n type your server's IP address in the field marked \"IPV4 address\".\n\n4. Navigate to the \"Settings\" tab for your server in Outline Manager. Under\n \"Hostname\", type the hostname you purchased and click \"SAVE\". This will make\n all future access keys use this hostname instead of the server's IP address.\n\nChange the Server's IP address\n------------------------------\n\n1. Navigate to your server on DigitalOcean's \"Droplets\" page.\n\n2. Click \"Enable Now\" in the top right of the window next to \"Floating IP\".\n\n1. Find your server in the list of Droplets and click \"Assign Floating IP\".\n\n1. Navigate back to the DNS tab on Google Domains.\n\n2. Change the IP address as before, but this time with the new Floating IP\n address. This may take up to 48 hours to take place, but often it only takes\n a few minutes.\n\n3. Navigate to [Google's Online DNS tool](https://toolbox.googleapps.com/apps/dig/#A/)\n and enter your domain name to see when the change in the last step took\n place.\n\nOnce this change propagates, clients will now connect to the new IP address. You\ncan connect to your server with a new key and open \u003chttps://ipinfo.io\u003e to make\nsure that you see your server's new IP address.\n\nConclusion\nRotating IP addresses of an Outline server can be a fast way to unblock a server\nand restore service to clients. For more questions, feel free to comment on the\n[announcement post](https://redd.it/hrbhz4), visit\n[Outline's support page](https://support.getoutline.org/) or\n[contact us directly](https://support.getoutline.org/s/contactsupport)."]]