Home > Article > Operation and Maintenance > What is the linux command to turn off the firewall?
The Linux command to turn off the firewall is [service iptables stop]. How to open it: first log in to the Linux account and click [log in]; then right-click on the blank space of the Linux system and select [Open in Terminal]; finally enter the code That’s it.
The operating environment of this tutorial: linux7.3 system, VMware Workstation Pro v15.5.1 version, DELL G3 computer.
Related learning recommendations: linux video tutorial
Step one: First open the VMware Workstation Pro virtual machine, select a virtual machine from the left, and then click [Open] on the right this virtual machine].
Step 2: Select the Linux account to log in to.
Step 3: Enter the user password and click [log in] or click Enter.
Step 4: After entering the Linux system, first open the terminal (that is, the command window),
First click on the [in the upper left corner of the Linux system] Applications], then click [System Tools], and finally click [Terminal].
Step 5: If step 4 is too complicated, there is a simple way to open the terminal. You can also right-click on a blank space in the Linux system and select [Open in Terminal] to enter the terminal window.
Step 6: A terminal window appears. Enter the service iptables stop (temporary shutdown) command in the terminal window and click Enter to turn off the firewall.
Related free learning recommendations: Programming video
The above is the detailed content of What is the linux command to turn off the firewall?. For more information, please follow other related articles on the PHP Chinese website!