LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Security
User Name
Password
Linux - Security This forum is for all security related questions.
Questions, tips, system compromises, firewalls, etc. are all included here.

Notices

Reply
 
Search this Thread
Old 03-17-2005, 02:15 PM   #1
jc materi
LQ Newbie
 
Registered: Aug 2004
Location: Saskatoon, SK, Canada
Distribution: fedora 4
Posts: 25

Rep: Reputation: 15
Using firestarter to generate an iptables script


Using firestarter to generate an iptables script can be quite useful if you need to tweek or know the status of your firewall remotely and do not have X11 forwarding. The same procedure can be used with any similar GUI that sets your iptables rules.

The procedure is quite simple. With firestarter configured and your base set of rules in place and operating:

iptables-save > /etc/sysconfig/iptables
/etc/rc.d/init.d/firestarter stop
/etc/rc.d/init.d/iptables start

You can then edit /etc/sysconfig/iptables remotely and restart your firewall
/etc/rc.d/init.d/iptables restart

To see its new status:
/etc/rc.d/init.d/iptables status
 
Old 03-28-2005, 02:19 PM   #2
XavierP
Moderator
 
Registered: Nov 2002
Location: Kent, England
Distribution: Lubuntu
Posts: 19,176
Blog Entries: 4

Rep: Reputation: 430Reputation: 430Reputation: 430Reputation: 430Reputation: 430
Cool. Useful handy hint for anyone new to iptables.
 
Old 03-28-2005, 10:15 PM   #3
doublejoon
Member
 
Registered: Oct 2003
Location: King George, VA
Distribution: RHEL/CentOS/Scientific/Fedora, LinuxMint
Posts: 366

Rep: Reputation: 44
guarddog is good at creating rulesets as well. I have used both firestarter and guarddog...both are easy to setup
 
  


Reply


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
securing using firestarter or iptables PennyroyalFrog Linux - Security 3 10-13-2004 01:36 PM
firestarter iptables PennyroyalFrog Linux - Newbie 1 10-10-2004 03:08 PM
how to generate iptables script using fwbuilder Skunk_Face Linux - Security 1 04-23-2004 10:06 PM
Firestarter or IPTables config? gbg Linux - Networking 2 03-31-2004 06:44 AM
Perl Script Reading a txt file and generate html to be published! kofi Linux - Software 1 09-22-2003 05:12 PM


All times are GMT -5. The time now is 08:32 PM.

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