1
0
Fork 0
mirror of https://github.com/iiab/iiab.git synced 2025-03-09 15:40:17 +00:00

iiab-diagnostics: sudo ufw status verbose

This commit is contained in:
A Holt 2022-08-03 15:51:39 -04:00 committed by GitHub
parent 3b546b5eb2
commit 530b1dbc6e
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -229,6 +229,7 @@ echo -e "\n 5. Firewall Rules:\n"
echo -e "\n\n\n5. FIREWALL RULES\n" >> $outfile
#cat_file /usr/bin/iiab-gen-iptables
cat_cmd 'sudo iptables-save' 'Firewall rules'
cat_cmd 'sudo ufw status verbose' 'Firewall status & rules'
echo -e "\n 6. Log Files: (e.g. last 100 lines of each)\n"
echo -e "\n\n\n6. LOG FILES (e.g. LAST 100 LINES OF EACH)\n" >> $outfile