LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
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 07-04-2007, 07:56 AM   #1
JJX
Member
 
Registered: Mar 2004
Location: Greece
Distribution: Debian
Posts: 351

Rep: Reputation: 31
iptables editor


Is there any software/tool (http based or command line even better) that will allow manipulation of iptables?

I am searching a tool that will allow moving rules up and down, allow easy design and applying rules at the end.

Is there such a tool?

Thanks
 
Old 07-04-2007, 08:42 AM   #2
Kaamos
Member
 
Registered: Jun 2007
Location: Chile
Distribution: Some ubuntu mixes, Suse, FC
Posts: 36

Rep: Reputation: 15
Hi !
Hmm ... You should see FW Builder. it's a multi-platform firewall configuration and management tool. Somekind of Frontend or GUI.
http://www.fwbuilder.org/

Seeya.
 
Old 07-04-2007, 02:17 PM   #3
JJX
Member
 
Registered: Mar 2004
Location: Greece
Distribution: Debian
Posts: 351

Original Poster
Rep: Reputation: 31
this look nice

However, is any other rpogram with command line & ncurses (for example) ??
 
Old 07-04-2007, 03:34 PM   #4
win32sux
LQ Guru
 
Registered: Jul 2003
Location: Los Angeles
Distribution: Ubuntu
Posts: 9,870

Rep: Reputation: 380Reputation: 380Reputation: 380Reputation: 380
The only curses-based iptables front-end I know of is ipmenu, however it's old and unmaintained. Not even Debian carries it anymore AFAICT. Have you considered using a regular iptables script? They do everything you are asking for, that is, "allow moving rules up and down, allow easy design and applying rules at the end".
 
Old 07-06-2007, 12:56 PM   #5
JJX
Member
 
Registered: Mar 2004
Location: Greece
Distribution: Debian
Posts: 351

Original Poster
Rep: Reputation: 31
Quote:
Originally Posted by win32sux
Have you considered using a regular iptables script? They do everything you are asking for, that is, "allow moving rules up and down, allow easy design and applying rules at the end".
what u mean regular?
May u give any reference/link?
 
Old 07-07-2007, 09:40 AM   #6
win32sux
LQ Guru
 
Registered: Jul 2003
Location: Los Angeles
Distribution: Ubuntu
Posts: 9,870

Rep: Reputation: 380Reputation: 380Reputation: 380Reputation: 380
Quote:
Originally Posted by JJX
what u mean regular?
May u give any reference/link?
By regular I mean a typical solution. Typically, experienced system administrators will either use an iptables script or they will work with iptables "live" (iptables-restore/save/etc). Very seldom will they go for iptables front-ends such as what you are asking for. It's just so much simpler to use a script. You simply make the necessary edits to it and then execute it, which allows one to do everything you required in the OP.

Not sure why you need an example, as an iptables script is basically just a bunch of iptables commands placed in order in a text file, but I'm sure there's tons of examples on Google: http://www.google.com/search?&q=iptables+script+example

Last edited by win32sux; 07-07-2007 at 09:41 AM.
 
Old 07-07-2007, 02:48 PM   #7
whistl
Member
 
Registered: May 2005
Location: USA
Distribution: Ubuntu, CentOS
Posts: 37

Rep: Reputation: 15
shorewall

Check out Shorewall. It's administered by editing text based config files, not raw IPtables rules, and isn't hard to use, once you get past the learning curve.
 
Old 07-07-2007, 06:35 PM   #8
JJX
Member
 
Registered: Mar 2004
Location: Greece
Distribution: Debian
Posts: 351

Original Poster
Rep: Reputation: 31
Quote:
Originally Posted by win32sux
By regular I mean a typical solution. Typically, experienced system administrators will either use an iptables script or they will work with iptables "live" (iptables-restore/save/etc). Very seldom will they go for iptables front-ends such as what you are asking for. It's just so much simpler to use a script. You simply make the necessary edits to it and then execute it, which allows one to do everything you required in the OP.

Not sure why you need an example, as an iptables script is basically just a bunch of iptables commands placed in order in a text file, but I'm sure there's tons of examples on Google: http://www.google.com/search?&q=iptables+script+example

this is what i am doing, but some times it becomes really big and unmaintained.
 
Old 07-07-2007, 07:16 PM   #9
win32sux
LQ Guru
 
Registered: Jul 2003
Location: Los Angeles
Distribution: Ubuntu
Posts: 9,870

Rep: Reputation: 380Reputation: 380Reputation: 380Reputation: 380
Quote:
Originally Posted by JJX
this is what i am doing, but some times it becomes really big and unmaintained.
What kind of maintenance are you referring to? That sounds like an issue with the admin, not the software.
 
Old 07-08-2007, 04:27 AM   #10
Peter_APIIT
Member
 
Registered: Dec 2006
Posts: 606

Rep: Reputation: 31
Man iptables is the best because you can learn a lot of thing during the set up.
 
Old 07-08-2007, 10:41 AM   #11
JJX
Member
 
Registered: Mar 2004
Location: Greece
Distribution: Debian
Posts: 351

Original Poster
Rep: Reputation: 31
i am searching for a tool to make my life easier , nothing more
 
Old 07-09-2007, 05:07 AM   #12
Peter_APIIT
Member
 
Registered: Dec 2006
Posts: 606

Rep: Reputation: 31
Firewall builder, firewall starter firehol, arno iptables and many more.
 
Old 07-09-2007, 08:04 AM   #13
Kaamos
Member
 
Registered: Jun 2007
Location: Chile
Distribution: Some ubuntu mixes, Suse, FC
Posts: 36

Rep: Reputation: 15
Then, in that case ... FW Builder, Shorewall, LEAF ... If you want to make your life easier ...
You should try one of them.
 
  


Reply



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 v1.2.9: Unknown arg `/sbin/iptables' Try `iptables -h' or 'iptables --help' Niceman2005 Linux - Security 4 12-29-2005 08:20 PM
Iptables - Couldn't load target `ACCPET':/lib/iptables/libipt_ACCPET.so: z00t Linux - Security 3 01-26-2004 02:24 AM
IPtables Log Analyzer from http://www.gege.org/iptables/ brainlego Linux - Software 0 08-11-2003 06:08 AM
iptables book wich one can you pll recomment to be an iptables expert? linuxownt Linux - General 2 06-26-2003 04:38 PM
My iptables script is /etc/sysconfig/iptables. How do i make this baby execute on boo ForumKid Linux - General 3 01-22-2002 07:36 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Security

All times are GMT -5. The time now is 07:22 PM.

Main Menu
Advertisement
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
Open Source Consulting | Domain Registration