I am trying to creating shell script to block some ips whether the below one is the right way to do it
#!/bin/bash
iptables
-A OUTPUT -d xx.xx.xx.xx/29 -j DROP
-A OUTPUT -d xx.xx.xx.xx/32 -j DROP
I am trying to save this and execute it as a1.sh but it's not working