المساعد الشخصي الرقمي

مشاهدة النسخة كاملة : فايروول CSF Firewall فتح / غلق تعديل الاعدادات RESTRICT_UI / UNRESTRICT_UI



Rise Company
10-04-2020, 03:21
فايروول CSF Firewall فتح / غلق تعديل الاعدادات RESTRICT_UI option
csf options restricts - options restricts unlock - options restricts lock
how to unlock options restricts in csf firewall in whm / cpanel
0 = Unrestricted UI vs 1 = Restricted UI vs 2 = Disabled UI
كيفية ازالة Lock من اعدادات الفايروول 0 = Unrestricted UI
RESTRICT_UI option checkThis option helps prevent brute force attacks on your server services

https://www.rise.company/upload/uploads/158648308383251.png


This options restricts the ability to modify settings within this file from
the csf UI. Should the parent control panel be compromised, these restricted
options could be used to further compromise the server. For this reason we
recommend leaving this option set to at least "1" and if any of the
restricted items need to be changed, they are done so from the root shell

0 = Unrestricted UI
1 = Restricted UI
2 = Disabled UI

https://www.rise.company/upload/uploads/158648125801951.png

الافتراضى قيمة 0 وهى القيمة التى تسمح لك وتعطى لك جميع الصلاحيات
لكى تقوم بعمل اى تعديلات فى الفايروول csf من خلال لوحة تحكم WHM
واذا جعلت القيمة 1 اغلب الاعدادات هتغلق من خلال WHM ولن يمكنك تعديلها
الا من خلال اوامر الشيل مع العلم ان تعديل القمة من 0 الى 1
لا يمكن التراجع عنها من خلال UI الموجد فى WHM بل هيتطلب من خلال الشيل

https://www.rise.company/upload/uploads/158648151802561.png

كيفية ازالة Lock من اعدادات الفايروول 0 = Unrestricted UI

افتح الشيل ثم ادخل الامر التالي


nano /etc/csf/csf.conf

https://www.rise.company/upload/uploads/158648270820441.jpg

ثم انزل حتى تصل الى RESTRICT_UI وقم بتغيير القيمة الى " 0 "

https://www.rise.company/upload/uploads/158648270826372.jpg

بعد تغيير القيمة, اضغط Ctrl + x ثم y لعمل Save و الخروج.
* انتبه يجب ان يكون الكيبورد English وليس عربي


https://www.rise.company/upload/uploads/158648270834323.jpg

وهتجد انه تم الغاء Lock على Options الموجودة فى الفايروول CSF
وتستطيع الان عمل جميع التعديلات من خلال UI