summaryrefslogtreecommitdiff
path: root/notify-fw
blob: 62f148ea4f7b66adf9d2657a8a0b4d72ddb3598a (plain)
1
2
3
4
5
6
7
8
#!/bin/sh

LIST="$(sudo iptables -S)"
LIST6="$(sudo ip6tables -S)"
LISTN="$(sudo nft list ruleset)"
notify-send "IPTables rules" "IPTables Rules:\n$LIST"
notify-send "IP6Tables rules" "IP6Tables Rules:\n$LIST6"
notify-send "NFTables rules" "NFTables Rules:\n$LISTN"