إذا لم تكن راضيًا عن جدار الحماية UFW على كمبيوتر Linux لديك وترغب في إلغاء تثبيته ولكن لا تعرف من أين تبدأ ، فهذا أمر مفهوم. نظرًا لجودة جدار الحماية هذا ، لا يتطرق أي نظام تشغيل Linux إلى كيفية استخدامه.
في هذا الدليل ، سنتعرف على كيفية إيقاف تشغيل جدار الحماية UFW وحتى إلغاء تثبيته. للبدء ، تأكد من أن لديك وصولاً على مستوى النظام إلى كمبيوتر Linux ، لأن إيقاف تشغيل جدار الحماية يتطلب الوصول إلى الجذر. ثم ، اتبع على طول أدناه!

قم بإيقاف تشغيل UFW - المحطة
إذا كنت بحاجة إلى إيقاف تشغيل جدار الحماية UFW على كمبيوتر Linux ، فإن أفضل طريقة للقيام بذلك هي باستخدام سطر الأوامر. السبب؟ UFW هو تطبيق سطر أوامر ، وبينما تستخدم العديد من أنظمة تشغيل Linux GUFW ، واجهة المستخدم الرسومية لتطبيق سطر الأوامر ، إلا أنها أكثر فاعلية عبر Terminal.
للبدء ، افتح نافذة طرفية على سطح مكتب Linux. للقيام بذلك ، اضغط على Ctrl + Alt + T على لوحة المفاتيح أو ابحث عن "Terminal" في قائمة التطبيق وقم بتشغيله بهذه الطريقة.
بمجرد فتح نافذة المحطة وجاهزة للاستخدام ، قم بتنفيذ الأمر ufw –help . سيُظهر لك هذا الأمر جميع وسائط الأوامر المتاحة لجدار حماية UFW ويساعدك في تشغيله وإيقاف تشغيله حسب الرغبة.
ufw - help
ابحث في صفحة المساعدة عن قسم "التعطيل" ، واقرأ ما يفعله. تأكد أيضًا من قراءة قسم "التمكين" وأي شيء آخر قد تجده مفيدًا. عند الانتهاء من القراءة ، قم بتنفيذ الأمر أدناه لإيقاف تشغيل جدار الحماية.
sudo ufw تعطيل
بعد إدخال الأمر أعلاه ، سيطلب النظام كلمة مرور. باستخدام لوحة المفاتيح ، اكتب كلمة مرور حساب المستخدم واضغط على مفتاح Enter . يجب إغلاق جدار حماية UFW على الفور.
يمكنك التحقق من حالة جدار حماية UFW لمعرفة ما إذا كان مغلقًا بالفعل باستخدام الأمر ufw status . إذا قال UFW "غير نشط" ، نجح الأمر. خلاف ذلك ، أعد تشغيل الأمر.
حالة sudo ufw
هل تريد تشغيل جدار الحماية UFW مرة أخرى؟ قم بتشغيل أمر تمكين ufw أدناه لتشغيل جدار الحماية على الفور.
sudo ufw تمكين
قم بإيقاف تشغيل UFW - GUI
إذا كنت تدير جدار حماية UFW باستخدام تطبيق UFW UI (GUFW) وتحتاج إلى إيقاف تشغيله ، فقم بما يلي. أولاً ، قم بتشغيل GUFW بالقيام بما يلي. أولاً ، ابحث عن "تكوين جدار الحماية" أو "GUFW" في قائمة التطبيق وقم بتشغيله.
![كيفية تعطيل جدار الحماية UFW في Linux كيفية تعطيل جدار الحماية UFW في Linux]()
بمجرد فتح التطبيق وجاهزيته للاستخدام ، حدد موقع شريط التمرير "الحالة" في واجهة المستخدم. إذا كان جدار حماية UFW نشطًا ، فسيتم تشغيل شريط تمرير "الحالة" هذا. لإغلاقه ، انقر فوق شريط التمرير.
![كيفية تعطيل جدار الحماية UFW في Linux كيفية تعطيل جدار الحماية UFW في Linux]()
إذا كنت تريد تشغيل جدار الحماية مرة أخرى ، فانقر فوق شريط التمرير.
قم بإلغاء تثبيت UFW / GUFW
إذا انتهيت من استخدام جدار الحماية UFW أو أردت استبداله بجدار حماية مختلف ولم يكن إيقاف تشغيله مؤقتًا كافيًا ، فقد تحتاج إلى إلغاء تثبيته. لإلغاء تثبيته ، ابدأ بتشغيل نافذة طرفية.
To open up a terminal window on the Linux desktop, press Ctrl + Alt + T on the keyboard. Or, search for “Terminal” in the app menu. Once the terminal window is open and ready to use, follow along with the uninstallation commands that correspond with the Linux OS, you use.
Ubuntu
To remove the UFW firewall from Ubuntu altogether, execute the apt remove command alongside the –purge command line switch. The –purge switch will delete all configuration files and everything from the system.
sudo apt remove ufw --purge
To uninstall the GUI Firewall, run the command above but on the “gufw” package.
sudo apt remove gufw --purge
Debian
If you need to uninstall the UFW firewall from Debian, use the apt-get remove command along with the –purge command-line switch. Like on Ubuntu, this switch will delete all configuration files and everything from the system.
sudo apt-get remove ufw --purge
To get rid of the GUI firewall app, execute the command above but with the “gufw” package.
Arch Linux
If you’d like to uninstall UFW from Arch Linux, you’ll need to use Pacman with the -Rsc command switch. This command switch will not only uninstall UFW but will also remove all dependencies installed alongside it. To remove UFW from your Arch Linux system, enter the command below in a terminal window.
sudo pacman -Rsc ufw
If you would like to remove the GUI firewall app from Arch Linux, execute the command above but with the “gufw” package.
sudo pacman -Rsc gufw
Fedora
If you’re using Fedora Linux, you can get rid of the UFW firewall from your system by using the dnf remove command. This command will uninstall the program and get rid of it so that you no longer have it set up on your Fedora PC.
sudo dnf remove ufw
To remove the GUI firewall, execute the command above but with the “gufw” package.
sudo dnf remove gufw
OpenSUSE
If you need to get rid of UFW from your OpenSUSE system, you can use the zypper remove command. This command will delete the package from the OpenSUSE system so that you can no longer use it.
sudo zypper remove ufw
To get rid of the GUI firewall from OpenSUSE, execute the same command but with the “gufw” package.
sudo zypper remove gufw