I run Mandrake 7.2 and I have no idea how to go about setting up a secure firewall. Are there any firewalls available for download or any tutorials on going about securing my box? Any help would be greatly appreciated. Thanx.
Printable View
I run Mandrake 7.2 and I have no idea how to go about setting up a secure firewall. Are there any firewalls available for download or any tutorials on going about securing my box? Any help would be greatly appreciated. Thanx.
I have asked that same question before, and was pointed in the direction of Bastille. It seems to have worked fine for me so far. The only difference is I wanted to lock down a Red Hat box. I believe it works for Mandrake too, though.
Thanx for the info. I just looked over a CD that I have that came with a *nix security book and it has that firewall as well as a few other utilities. I will install it for sure. Thanx again.
a lot of good links for the basic knowledge about firewalls
http://www.infosyssec.com/infosyssec/firew1.htm
http://www.linux.com/howto/Firewall-HOWTO.html
I have mandrake 8.0 and as i can recall there is a firewall that comes with it. It is fairly simple to put it on if you just go into mandrake contol center and under security you have a tab to configure firewall ... I am not sure but i think it was tiny firewall that comes on cd's. Anyway i have no idea about mandrake 7.2 i assume you can download one. :cool:
I use Mandrake 7.1, and in my Linuxconf > Security dialog I've got a Network Something-or-others section which allows me to configure routers and an ipchains based basic firewall.
For firewall information, it's a good idea to get to know what the wondrous 'ipchains' can do for you. Standard installations (RH and other RPM based linuxes) have it by default and it can definitely either A: make your system secure on a rule-based system or B: totally lock you inside with no way out (nooooo!)!
Seriously, ipchains, for me, has been a lesson in how ports and protocols work (tcp/udp) for local intranets and internet access.
It does just about everything you can think of from masquerading, filtering, denial, rule-based permission, etc...
In coordinance with ssh (public/private key exchange and 'trusted hosts/users'), you can make a box pretty f'ing secure.
http://www.linuxdoc.org/HOWTO/IPCHAINS-HOWTO.html
http://www.openssh.org
A great site about firewalls (all sorts) www.firewalls.com
Or if you want to easily setup a machine as a firewall then try smoothwall.
If you are comfortable with rebuilding your kernel, or willing to dive in with some reading on doing it. I would suggest getting getting the latest kernel sources (2.4.16 and *not* 2.5.0) from http://www.kernel.org. Then get the grsecurity patch from http://www.grsecurity.net, it has the following features that together with a properly configured firewall like iptables will give you some pretty great security.
<snip from grsecurity>
OpenWall Non-executable Stack
CONFIG_GRKERNSEC_STACK
If you say Y here, your system will not allow execution of code on the stack, making buffer overflow exploitation more difficult.
Gcc trampoline support
CONFIG_GRKERNSEC_STACK_GCC
If you say Y here, the system will support trampoline code along with the stack protection. If you do not have any programs on your system that require this (glibc 2.0 users must say YES to this option) you may say no here.
There is a long list of others, I recommend at least checking it out.
Ummm, to my knowledge, every 2.4 Kernel-based linux distribution includes netfilter, does it not?
Netfilter is a stateful packet filtering firewall, and you can access it via iptables or ipchains. If you're willing to learn, you can do quite a lot with it.