Bug 602613 - Disable system-config-firewall in a script
Summary: Disable system-config-firewall in a script
Keywords:
Status: CLOSED NOTABUG
Alias: None
Product: Fedora
Classification: Fedora
Component: system-config-firewall
Version: 13
Hardware: All
OS: Linux
low
medium
Target Milestone: ---
Assignee: Thomas Woerner
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2010-06-10 10:08 UTC by Michael Monreal
Modified: 2010-06-10 13:20 UTC (History)
1 user (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2010-06-10 13:20:10 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description Michael Monreal 2010-06-10 10:08:48 UTC
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 10:11:10 UTC
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 13:20:10 UTC
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.