# كيفية حماية عنوان IP الخاص بالخادم من التعرض؟

**URL:** <https://meta.discourse.org/t/how-to-protect-a-servers-ip-from-being-exposed/217424>\
**Category:** Self-hosting\
**Created:** [8 فبراير 2022، 1:52ص UTC](https://meta.discourse.org/t/how-to-protect-a-servers-ip-from-being-exposed/217424 "2022-02-08T01:52:41Z")\
**Posts on this page:** 1\
**Showing post:** 1

<div class="post-metadata">

**Author:** ![RedBear](https://avatars.discourse-cdn.com/v4/letter/r/e9a140/32.png) [@RedBear](https://meta.discourse.org/u/RedBear)\
**Post date:** [8 فبراير 2022، 1:52ص UTC](https://meta.discourse.org/t/how-to-protect-a-servers-ip-from-being-exposed/217424/1 "2022-02-08T01:52:41Z")

</div>

لدى منتديي خدمة CloudFlare وعند إدراج عنوان URL من هذه الخدمة، يمكنني الحصول على عنوان IP الحقيقي للخادم الخاص بي، وهذا هدية كبيرة لهجمات DDoS.

لقد تحققت من ذلك في Discourse Meta وهذا المنتدى لا يحتوي على تصفية عناوين URL أيضًا.

 ![1](https://global.discourse-cdn.com/meta/original/3X/9/a/9aa70974aee8a2450ed47b84e493713a655cc2f8.png)

 ![2](https://global.discourse-cdn.com/meta/original/3X/2/b/2bf9e440bcdcf6664c84f0cd06851f5ad2b1bc1d.png)

لا يمكن للمجال المحظور بواسطة IPlogger المساعدة لأن المهاجم يمكنه استخدام مجال مخصص باستخدام البرنامج النصي لعنوان IP الخاص بالمسجل. أعتقد أن هناك حاجة لاستخدام القائمة البيضاء لتصفية المجالات التي يمكنها استخدام onebox.

\u003e مثال: إذا سمح المسؤول فقط بعنوان URL من Youtube و Twitter و Imgur، فسيتم حظر جميع عناوين URL الأخرى.

ربما لدى Discourse هذا الإعداد؟ لم أجده ☹

**تحديث**  
الإعداد `blocked onebox domains` و `allowed inline onebox domains` في هذه الصفحة `/admin/site_settings/category/onebox` لا يعمل.

لقد أنشأت هذه القواعد:

 ![3](https://global.discourse-cdn.com/meta/original/3X/3/5/35ccfcd43ba76cc76fd060d2bac08f830ae978aa.png)

Onebox يعرضها:

 ![4](https://global.discourse-cdn.com/meta/original/3X/5/0/50f2eb0eb6938f0b86085e9ae63901ec04fdbba8.png)

---

_[View the full topic](https://meta.discourse.org/t/how-to-protect-a-servers-ip-from-being-exposed/217424)._
