Try "iptables". It's a VERY nice Curses-based menu system for adding/changing/deleting rules in iptables. Very nice. I haven't used it in a while but it might just be what you're looking for.
Quote:
Quote:
Anyone know of any similar programs that are not dependent on having X installed (perhaps using ncurses to generate a text based UI like the kernel menuconfig program)? The reason I ask is that I've been meaning to put up a firewall on my gateway/server box for ages but since I don't know the first thing about iptables beyond simple port forwarding and masquerading I keep putting it off. I've tried a couple of premade firewall scripts but all I succeeded in doing was killing net access to the whole network (including the machine they were installed on).
(Oh, and before you ask, the reason it doesn't have X installed is mainly because it only has a monochrome monitor and graphics card. While X can be made to work in such an environment applications are optimised for resolutions much greater than 720x400 and 1 bit colour)