View previous topic :: View next topic |
Author |
Message |
Conditional_Zenith Apprentice
Joined: 22 Sep 2004 Posts: 157 Location: Australia
|
Posted: Fri Aug 29, 2008 9:59 pm Post subject: Curses iptables editor |
|
|
Does anyone know of a curses (or similar) iptables editor? Just to clarify, I'm not after one of these things that makes rules for you, just something that that allows me to directly edit the iptables rules. I find changing existing rules to be particularly cumbersome on the command line.
Thanks in advance. |
|
Back to top |
|
|
Hu Administrator
Joined: 06 Mar 2007 Posts: 23085
|
Posted: Sat Aug 30, 2008 3:11 am Post subject: |
|
|
Although not exactly what you want, you may be able to achieve acceptable behavior by using iptables-save to write out a machine-readable copy of your rules to a file. Use your favorite text editor to modify the result, then use iptables-restore to replace the kernel tables with the ones from the file. |
|
Back to top |
|
|
Conditional_Zenith Apprentice
Joined: 22 Sep 2004 Posts: 157 Location: Australia
|
Posted: Sat Aug 30, 2008 3:21 am Post subject: |
|
|
Thanks. That is a lot more usable than the command line. |
|
Back to top |
|
|
P0w3r3d n00b
Joined: 13 Jan 2005 Posts: 54
|
|
Back to top |
|
|
Conditional_Zenith Apprentice
Joined: 22 Sep 2004 Posts: 157 Location: Australia
|
Posted: Tue Sep 02, 2008 6:02 am Post subject: |
|
|
Thanks, but that's not quite what I want. I just want to see the iptables rules I have already, and directly edit iptables rules. |
|
Back to top |
|
|
|