Linux Ask!

Linux Ask! is a Q & A web site specific for Linux related questions. Questions are collected, answered and audited by experienced Linux users.

How do I set up a firewall under Linux?

Answer:

In Linux, IPTables is the default firewall for kernels 2.4 and above.

IPTables is quite a complicated software which cannot be explained in just a few words, please refer to a more comprehensive howto:

https://help.ubuntu.com/community/IptablesHowTo

  1. Open a TCP port in Ubuntu’s ufw firewall
  2. How to check all the commands executed in a Linux server?
  3. Allow a remote IP for incoming connection in UFW (Uncomplicated firewall)
  4. Block a remote IP Address using iptables
  5. Is Linux Vulnerable to viruses?

Leave a Reply

(required)

(required)

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>