iptables INPUT Chain default policy

Support for security such as Firewalls and securing linux
Posts: 14
Joined: 2023/03/04 01:45:04

Re: iptables INPUT Chain default policy

Post by nicholaswkc » 2023/03/13 02:37:44

Please tell me on how to do it rather than ask me to read some documentation.

Backup current ruleset and flush the current ruleset?
Can you tell me how to load nft ruleset into kernel temporalily and load the nft config file permanenetly?

I'm using this firewall rules at below.
https://wiki.gentoo.org/wiki/Nftables/E ... nd_IPv6.29

User avatar
Posts: 4509
Joined: 2007/12/11 08:17:33
Location: Finland

Re: iptables INPUT Chain default policy

Post by jlehtone » 2023/03/13 09:22:43

What is the incentive to write anything if you have no interest to read?

If you can see a ruleset, then you can save it to a file.

The nftables.service knows the flush and the load. How does it do them?

Code: Select all

cat /usr/lib/systemd/system/nftables.service

Post Reply