Originally posted by: Jagercola
So you guys would recommend just sticking netfilter/iptables on my fileserver? Does iptables give you the functionality of something like m0n0wall?
Well it's always better to have a seperate router/firewall. But if you only want to expend the resources for a single machine then iptables stuff is more then adiquate for a firewall on the fileserver. The default Linux kernel you get with your system is capable of very complex networking capabilities out of the box.
One major reason you'd use something like IPcop is that firewall routing stuff can be complex and error prone and IPcop/Monowall would provide sane defaults and some management features that a more generic firewall wouldn't provide.
Another major reason you want a seperate firewall router is that the less things you have on the fileserver the less likely it's going to get hacked. Security and such is a layered approach and part of the equation is how much code your running on a single machine. Statisticly speaking the more software your running the more vunerable you are. So you use seperate roles on seperate machines to reduce the likelihood of any single machine getting violated and if one machine gets hacked it's easier to isolate the problem.
That's why people shy away from running a GUI on a file server and shy away from running fileservers from desktop to desktop.
IPCop itself is a iptables thing.. it's Linux and iptables is what you use for it's netfilter/routing stuff along with some bridging utilities. The major difference for Monowall is that it's based on FreeBSD and uses FreeBSD's routing stuff instead. Now with OpenBSD their stuff is high quality and is suppose to be much easier to use then Linux's stuff.. but Linux's stuff is going to probably be more feature-full, but I don't know anything about FreeBSD stuff.
If you have your extended source list for Ubuntu's repositories setup you can do a apt-cache search firewall and find lots of stuff.. (although I'd recommend Debian Stable for server use.. it's software is mostly the same as Ubuntu's but it's better supported and updates are going to be less often).
For instance on my Debian Sid machine I can quickly find things like Shorewall, Firehol, Zorp. Also there is a handy program called 'Bastille' that not only helps you set higher-level security settings for many software packages it will include a default firewall. There are also dozens of other type things.
Take a look at those. I can't recommend which one is more ideal though.