1 2 3 4 5 6 7 |
#!/bin/bash if [ -z $1 ] then exit else firewall-cmd --permanent --add-rich-rule="rule family='ipv4' source address='$1' reject" fi |
1 2 3 4 5 6 7 |
#!/bin/bash if [ -z $1 ] then exit else firewall-cmd --permanent --add-rich-rule="rule family='ipv4' source address='$1' reject" fi |