Skip to content

krabelize/nftables-firewall-config

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 

Repository files navigation

nftables persistent firewall configuration

Configuration files for Linux kernel iptables firewall. Read this article for more information.

Make nftables configuration persistent on start-up:

$ systemctl enable nftables
$ systemctl start nftables
$ systemctl status nftables

File location:

$ vi /etc/nftables.conf

Test config file:

$ systemctl restart nftables && systemctl status nftables && nft list ruleset

License

Berkeley Software Distribution (BSD)

Author

Jeroen van Kessel | cryptsus.com - we craft cyber security solutions