How can i block all ssh connections except ones from 192.168.1.1 in firewalld and at the same time log the the refused ssh connections?
I tried:
firewall-cmd --permanent --set-default-zone=drop
firewall-cmd --permanent --add-source=192.168.1.1 --zone=trusted
firewall-cmd --permanent --add-service=ssh --zone=trusted
this blocks them but doesn't log the denied ssh connections.