From the course: Complete Guide to Linux Security: Protecting Your Linux Server Environment
Unlock this course with a free trial
Join today to access over 25,200 courses taught by industry experts.
nftables setup - Linux Tutorial
From the course: Complete Guide to Linux Security: Protecting Your Linux Server Environment
nftables setup
- Now we'll get into the lab for nftables. I recommend that you work with either a Debian server, Ubuntu server, or CentOS server for this lab. I'm going to be working on a Debian server as roots and you want to make sure that you have another Linux system to connect as a client and test against the firewall that we're going to build. So this lab is Lab 24, if you want to follow along, nftables, and the lab demonstrates how to install and configure nftables on Debian server. So we're going to break this lab up into a couple different sub lessons. So it's going to span several sub lessons. We're going to start with the installation and starting up nftables and testing the server from a remote client. So let's get to the server side now. I'm at my Debian Server and I'm logged in as root. You want to make sure that nftables is installed. If you don't have nftables, you can install it with apt install nftables. And that's short for Netfilter Tables, but most likely, you have it. If you're…
Contents
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
(Locked)
Learning objectives1m 34s
-
(Locked)
Introduction to nftables and the nft command2m 34s
-
(Locked)
nftables setup4m 5s
-
(Locked)
Tables > Chains > Rules2m 31s
-
(Locked)
Building the nftables configuration, part 18m 41s
-
(Locked)
Building the nftables configuration, part 28m 39s
-
Saving and restoring the nftables configurations8m 36s
-
(Locked)
Translating iptables to nftables7m 49s
-
(Locked)
-
-
-
-
-
-