Newbie - Firewalls

Hi all,

I have a linode (running debian) mainly used for small services (apache, mail, ftp etc), and was wondering if I needed to set up a firewall, or is that automatically done when the image is created?

If so, what do I have to do to get a firewall in place?

Regards,

Peter.

2 Replies

@peterb:

If so, what do I have to do to get a firewall in place?

I don't think there are any unnecessary services running in the default Debian install, but there is no firewall as far as I know. I believe the easiest way to get one running is 'apt-get install bastille' which will tighten up a number of things besides activating some iptables rules.

I'm using FireHOL myself - http://firehol.sourceforge.net

The config file can be as easy as :

version 5

interface eth0 internet
   server "ssh www"    accept
   client "dns" accept

and then running firehol.sh try will enable those rules above,

Reply

Please enter an answer
Tips:

You can mention users to notify them: @username

You can use Markdown to format your question. For more examples see the Markdown Cheatsheet.

> I’m a blockquote.

I’m a blockquote.

[I'm a link] (https://www.google.com)

I'm a link

**I am bold** I am bold

*I am italicized* I am italicized

Community Code of Conduct