linux:nftables
Differences
This shows you the differences between two versions of the page.
Next revision | Previous revision | ||
linux:nftables [2021-01-31 18:24] – created gabriel | linux:nftables [2021-01-31 18:50] (current) – adding test section for various rules gabriel | ||
---|---|---|---|
Line 7: | Line 7: | ||
< | < | ||
# show active netfilter rules | # show active netfilter rules | ||
- | nft show ruleset | + | nft list ruleset |
</ | </ | ||
+ | ===== Testing ===== | ||
+ | |||
+ | You can easily validate your rules using nmap: | ||
+ | |||
+ | < | ||
+ | # testing DHCP service is accessible | ||
+ | sudo nmap --script broadcast-dhcp-discover | ||
+ | </ |
linux/nftables.1612135490.txt.gz · Last modified: 2021-01-31 18:24 by gabriel