10 lines
218 B
Bash
Executable File
10 lines
218 B
Bash
Executable File
#!/bin/bash
|
|
|
|
# firewalld is using nftables
|
|
nft list table inet firewalld
|
|
|
|
# you can also export the current ruleset in json format:
|
|
# nft -j list ruleset
|
|
# and to parse the json export do:
|
|
# nft -j list ruleset | jq .
|