Share your knowledge at the LQ Wiki.
Go Back > Forums > Linux Forums > Linux - Security
User Name
Linux - Security This forum is for all security related questions.
Questions, tips, system compromises, firewalls, etc. are all included here.


  Search this Thread
Old 06-14-2005, 11:06 PM   #1
Senior Member
Registered: May 2004
Location: Albuquerque, NM USA
Distribution: Debian-Lenny/Sid 32/64 Desktop: Generic AMD64-EVGA 680i Laptop: Generic Intel SIS-AC97
Posts: 4,250

Rep: Reputation: 62
Using Firestarter ... Can I Add/Drop rules from a terminal prompt?

I'm very impressed with Firestarter, but would like to add and drop some rules depending on what I'm doing. My actual goal is to attach scripts containing the rules related to certain programs to the starting and stopping of those programs.

Using an 'iptables -A INPUT ...' command, I can see the rule is displayed in an 'INPUT' chain, but when I add the rule using Firestarter's GUI, It gets added to an 'INBOUND' chain. (I suppose the 'INBOUND' chain is a user defined chain initialized by Firestarter. Problem is, my 'iptables -A INPUT ...' command does not work, and using the GUI does. I tried changing my command to 'iptables -A INBOUND ...', but that generates an error.

Any suggestions?
Old 06-15-2005, 04:21 AM   #2
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1982Reputation: 1982Reputation: 1982Reputation: 1982Reputation: 1982Reputation: 1982Reputation: 1982Reputation: 1982Reputation: 1982Reputation: 1982Reputation: 1982
you should be able to change iptables whever irrespective of firestarter, but last time i used it, firestarter uses it's own fixed startup script, so each reload of firestarter will nuke any external changes you made to it. no biggy though, i'm sure.

as far as the error, i'd have to assume that you're using the wrong syntax... what IS the error? you could always make that change in firestarter, and diff the before and after versions of firstarters config to see what's actually been changed and what the iptables command it actually uses is. After all, that's all it is... just a command wrapper.


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
IPTABLES how to add/edit/delete rules in existing chain? debug019 Linux - Newbie 1 11-11-2004 03:48 PM
How can I change the terminal prompt? ICO Slackware 4 02-15-2004 09:09 AM
no prompt in terminal xyfan Linux - Newbie 1 12-06-2003 12:25 AM
terminal with no prompt fletch88 Red Hat 0 11-17-2003 01:45 AM
iptables OUTPUT rules: DROP by process (PID)? gregory76 Linux - Security 6 07-11-2003 05:28 PM > Forums > Linux Forums > Linux - Security

All times are GMT -5. The time now is 02:51 PM.

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