Wednesday, December 4, 2013

HOW CAN I DISABLE THE FIREWALL ON SLES ?

HOW CAN I DISABLE THE FIREWALL ON SLES?

Believe it or not, there are valid reasons why you might want to disable the firewall service on a Suse Linux Enterprise Server (SLES).  For instance, avoiding NCP time-outs on client connections for an OES/SLES server.  If you just want to know how to disable the firewall in most modern incarnations of SLES, read on…

The examples given here are assuming you are remote to the server.  Of course, you could do all of this locally on the console, or adapt my instructions to the gui “Yast2″, but I’m going non-gui here for simplicity.

First, shell into the box, and su to root.

METHOD 1:

Launch the Yast non-gui firewall module:
yast firewall

To change to startup setting to “Manually”:
“Alt + m”

Optionally, to stop the service right now if running:
“Alt + t”

To complete the change:
“Alt + n”

To accept and finish:
“Alt + a”

METHOD 2:

To disable the service at next startup:
chkconfig SuSEfirewall2_setup off
chkconfig SuSEfirewall2_init off

Optionally, to stop the service right now if running:
rcSuSEfirewall2 stop


No comments:

Post a Comment