8000 GitHub - FoobarOy/foomuuri: Multizone bidirectional nftables firewall · GitHub
[go: up one dir, main page]

Skip to content
FoobarOyPublic

About

Multizone bidirectional nftables firewall

Topics

Resources

Stars

123 stars

Watchers

13 watching

Forks

Latest commit

 

History

949 Commits

Folders and files

Repository files navigation

Foomuuri

Foomuuri is a multizone bidirectional nftables firewall.

Full documentation is available here. Example configuration files are available for a host firewall and a router firewall.

See the installation page for instructions on installing Foomuuri. Help is available via GitHub discussions and the #foomuuri IRC channel on Libera.Chat.

Features

  • Firewall zones
  • Bidirectional firewalling for incoming, outgoing, and forwarding traffic
  • Suitable for systems ranging from personal laptops to corporate firewalls
  • Rich rule language for flexible and complex rules
  • Predefined list of services for simpler rule writing
  • Macros and templates supported in the rule language
  • IPv4 and IPv6 support, with automatic rule splitting per protocol
  • SNAT, DNAT, and masquerading support
  • Logging and packet/byte counting
  • Rate limiting
  • DNS hostname lookups and IP-list support, with dynamic IP address refreshing
  • External country and ASN IP lists through iplists (geolocation)
  • Multiple ISP support, with an internal network connectivity monitor
  • IPsec matching support
  • Ability to map specific traffic to separate zones
  • Automatic IP address banning support
  • Port knocking support
  • D-Bus API
  • Firewalld emulation for NetworkManager zone support
  • Support for raw nftables rules
  • Written to use modern nftables features

Example Configuration

Example configuration file to filter incoming traffic only:

zone {
  localhost
  public  eth1  # Interface list may be empty if using NetworkManager.
                # Glob patterns like * or e* are supported too.
}

public-localhost {  # Allow specified incoming traffic
  dhcp-client
  dhcpv6-client
  ping
  ssh
  drop log
}

localhost-public {  # Allow all outgoing traffic
  accept
}

About

Multizone bidirectional nftables firewall

Topics

Resources

Stars

123 stars

Watchers

13 watching

Forks

Releases

Used by

Contributors

Languages

0