Help answer threads with 0 replies.
Go Back > Forums > Linux Forums > Linux - Software
User Name
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.


  Search this Thread
Old 09-22-2006, 02:21 PM   #1
Registered: Dec 2005
Distribution: Linux Mint 13 MATE
Posts: 120

Rep: Reputation: 15
Question How to Start Firestarter From Command Line?

Hi guys,

OK, i know the command to start firestarter is just "firestarter", but i have some difficulties here...

Firstly, what i'm trying to do is to write a script to check ifconfig, then do ifdown and ifup if necessary, check ps aux, then start firestarter if necessary, and finally end the script. Hence, i do not want the command "firestarter" to block.

Right now, if i run "firestarter" from command line, then the firestarter panel appears, but the "firestarter" command blocks, for as long as firestarter is running.

i looked at the man pages for firestarter, and there are a couple of options that interest me, namely:
-s Start the firewall.
--start-hidden Start firestarter with the GUI not visible.

Strangely, if i run "firestarter -s", the command does not block. However, the firestarter panel does not appear either, and ps aux does not even indicate that firestarter is running! If i run "firestarter --start-hidden", then it behaves exactly as though i run just "firestarter", i.e. the command blocks and the panel appears on the desktop.

Advice, please?

TIA and Regards,
Old 09-22-2006, 02:27 PM   #2
LQ Guru
Registered: Aug 2003
Distribution: CentOS, OS X
Posts: 5,131

Rep: Reputation: Disabled
Well I've got the image that Firestarter is just a "front-end" of one kind to iptables, the Linux firewalling (etc.) system. So, the -s option will start the firewall as it says, but not Firestarter (which is just a tool for configuring the firewall) but iptables (and hopefully loads the rules you've saved).

Read iptables man page too, it helps. Firestarter is a good tool for a beginner, but if you'd like to learn more, I suggest reading iptables man page and documentation, as it is not difficult to use. On the contrary, I find it difficult to use any kind of front-end to iptables.

Actually what you should do with Firestarter, if I'm right, is configure your firewalling rules -- and after you've done that, run firestarter itself no more, but make it run (or run by yourself) iptables that does the job. Actually iptables firewalling "system", if you like, is built into the kernel, and the iptables command you find is a command-line tool to control the rules.

EDIT: iptables, the executable, can be used to add rules to different kinds of chains and/or create, edit and delete existing chains and so on. Three basic chains are there always (not deletable): INPUT, OUTPUT and FORWARD. You basically add rules to these chains, create more of them and thus work on packets that move around your system -- what Firestarter does (I don't use it, just figuring out) is give you a nice graphical user interface where you can pick up choices -- after this it forms the needed iptables commands from your choices, and using iptables saves them so they get loaded when you start your system (or should, at least) and the firewall works accordingly. iptables can be used for more than just firewalling, but that's what Firestarter is made for.

Last edited by b0uncer; 09-22-2006 at 02:31 PM.


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
How do you start X-window from command line? yekrahs SUSE / openSUSE 2 11-18-2005 10:12 AM
How to Start in Command Line (No GUI) pjpeter Linux - Newbie 7 09-23-2004 09:39 PM
How to start up in to command line? prettyhatem Linux - Newbie 5 09-07-2004 03:01 PM
FlightGear won't start from command line sofasurfer Linux - Games 4 01-10-2004 05:12 AM
How can I start X from the command line JTWebster Linux - Newbie 3 08-24-2002 11:38 PM > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 04:58 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration