IBM Support

How to Stop and Disable Firewall on a VM

How To


Summary

How to Stop and Disable Firewall on a VM

Steps

A user lost network connectivity to their environment after installing firewall. To regain access, we need to stop and disable firewall via VNC console.
 

1. Access the VM using VNC Console as itzuser

- Log in to the VM through the VNC console with the itzuser account. 

2. Check the History for Firewall Installation

- Review the command history to determine that the user installed firewalld.

image-20250414103828-3

3. Stop the firewalld Service 

Run the following command to stop the firewalld service: sudo systemctl stop firewalld

image-20250414103849-4

 
4. Disable the firewalld Service
Run the following command to disable firewalld from starting automatically on boot: sudo systemctl disable firewalld

5. Check SSH Connection

Verify if SSH is now working by attempting to reconnect via SSH.

-After stopping and disabling firewalld, SSH access should be restored.

You can let the user know that the firewall has been disabled. 

Document Location

Worldwide

[{"Type":"MASTER","Line of Business":{"code":"","label":""},"Business Unit":{"code":"","label":""},"Product":{"code":"SSNR6KN","label":"IBM Technology Zone"},"ARM Category":[{"code":"a8mKe0000004CVgIAM","label":"Content-\u003EVMWare"}],"ARM Case Number":"","Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"All Versions"}]

Document Information

Modified date:
14 April 2025

UID

ibm17230864