Artica Wiki

Your Firewall

The Artica firewall is used when you publish Artica as an Internet service.

The Artica firewall filters the traffic that reaches the appliance, leaves it, or crosses it when Artica acts as a gateway. 
It is built on the Linux kernel firewall (iptables / netfilter) and is entirely managed from the Web console: you describe rules, Artica turns them into kernel rules and keeps them in place.

Enable it as soon as Artica is exposed to the Internet (Reverse-Proxy, WordPress, RDS Proxy, mail gateway) or when it routes traffic between networks.

How the firewall works

Understanding these five points avoids most surprises:

  1. One writer, one transaction 
    Every change is applied by the Artica service in a single kernel transaction.
    There is never a moment without filtering: either the new rule set is accepted as a whole, or the previous one stays in place and you are notified.
     
  2. Changes are applied automatically 
    There is no "Apply" step to remember: about 6 seconds after your last change, the firewall is rebuilt. 
    The badge at the bottom of the rules table shows when the rules were last applied and whether a rule was refused by the kernel.
     
  3. Rules belong to interfaces 
    A network interface must be linked to the firewall before its rules are active. 
    Interfaces that are not linked fall back to a permissive "all interfaces" policy.
     
  4. Protection modules keep a fixed order 
    Local rules, the anti-flood rule, trusted networks, CrowdSec, the SSH black list, GlusterFS, DecisionIP and the proxy schedule are always evaluated in this order, before your interface rules.
     
  5. Other software is left alone 
    Rules added by Docker, Fail2ban or other services are never removed by a rebuild.

See How the firewall applies your rules for details.

Getting started

Building blocks

Routing, translation and gateway functions

Filtering by origin and threat

Deep packet inspection

Monitoring and administration