Firewall with Ubuntu

Owen Townend owen.townend at
Sun Mar 30 22:05:21 UTC 2008

On 31/03/2008, Steve Flynn <anothermindbomb at> wrote:
> On Sun, Mar 30, 2008 at 2:34 PM, Joseph <ubuntu at> wrote:
> >  If I may ask....   which firewall do any of you feel is the best for
> use
> > with Ubuntu?  And why do you feel it's better?
> IPTables is a bit of a de-facto standard.
> --
> Steve
> When one person suffers from a delusion it is insanity. When many
> people suffer from a delusion it is called Religion.
> 09 F9 11 02 9D 74 E3 5B D8 41 56 C5 63 56 88 C0
> --
> ubuntu-users mailing list
> ubuntu-users at
> Modify settings or unsubscribe at:

  iptables is good and all, but if you're using Ubuntu, chances are you're
going to want a GUI front end for it. Try 'firestarter'.
  If you're comfortable with commandline but don't want to script
iptables rules directly, try 'ferm'[1]. It's
a slightly abstracted script languange/processor for iptables.


[1] 'FERM: For Easy Rule Making' - or `apt-get
install ferm`

A simple example from the documentation ( or `man ferm`)

chain (INPUT OUTPUT) {
  proto (udp tcp) ACCEPT;

This will insert 4 rules, namely 2 in chain input, and 2 in chain output,
matching and accepting both udp and tcp packets. Normally you would type

iptables -A INPUT -p tcp -j ACCEPT
iptables -A OUTPUT -p tcp -j ACCEPT
iptables -A INPUT -p udp -j ACCEPT
iptables -A OUTPUT -p udp -j ACCEPT
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <>

More information about the ubuntu-users mailing list