Bug 602613 - Disable system-config-firewall in a script
Disable system-config-firewall in a script
Status: CLOSED NOTABUG
Product: Fedora
Classification: Fedora
Component: system-config-firewall (Show other bugs)
13
All Linux
low Severity medium
: ---
: ---
Assigned To: Thomas Woerner
Fedora Extras Quality Assurance
:
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 2010-06-10 06:08 EDT by Michael Monreal
Modified: 2010-06-10 09:20 EDT (History)
1 user (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2010-06-10 09:20:10 EDT
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)

  None (edit)
Description Michael Monreal 2010-06-10 06:08:48 EDT
Basicly, I want to be able to disable the fedora firewall using a script. I know that I can disable the iptables service but I want to keep system-config-firewall working (to re-enable the fw at some point for example).

system-config-firewall-tui only seems to offer an interactive mode. Some simple command line options like "--disable" and "--enable" would be nice.
Comment 1 Michael Monreal 2010-06-10 06:11:10 EDT
Alternatively, maybe you could provide some simple commands that system-config-firewall runs when disabling the firewall using the button?
Comment 2 Thomas Woerner 2010-06-10 09:20:10 EDT
The command for firewall modifications in a shell is lokkit.

Please have a look at lokkit --help.

"lokkit --disabled" and "lokkit --enabled" are the commands you are looking for.

Note You need to log in before you can comment on or make changes to this bug.