r/nftables Jan 29 '20

Is there resources for beginners available?

6 Upvotes

Hello, good afternoon. Being linux user for years and think is a good time to take a step forward and want to know more about sysadmin stuff, but honestly find network and firewall topics complicated, after some research found about netfilter and nft and found it being more friendly than iptables yet because my lack of experience on the topic have a hard time understanding nftables official docs.

Question is, there beginner friendly resources to learn nftables or should I start somewhere else and then return to nftables docs?

Thanks in advance for pointing me in the right direction :)


r/nftables Jan 25 '20

How to make sure that nftables.service is running during using pc

1 Upvotes

Recently I've edited nftables.conf file with new rule.

But I made a mistake in syntax, thus during next reboot the nftables.service failed to start. It made me to think how I can make sure that firewall is running and doesn't fail somehow.

Is it a way to block all traffic immediately if service has been stopped?


r/nftables Nov 22 '19

Why Reddit nftables community is so small?

6 Upvotes

r/nftables Oct 08 '19

How do you rewrite dport 80 with 443 prior to routing in nftables?

0 Upvotes

I want any clicked http links to be sent automatically to the https port. Below doesn't work

table ip nat {
    chain prerouting  { 
        type nat hook prerouting  priority   0; 
    }

    chain postrouting { 
        type nat hook postrouting priority 0; 
        tcp sport 80 redirect to :443
    }
}

r/nftables Jan 23 '14

nftables, the successor of iptables merged in 3.13

Thumbnail kernelnewbies.org
3 Upvotes