no chain/target match by that name
Trying to get my head round firewall stuff but I'm obviously doing something really dumb which is stopping me from getting ahead with implementing my iptables script. I can enter (sudo) iptables commands at the command line no problem but as soon as I try running the same command(s) within a bash script I get 'no chain/target match by that name' error message. Even a simple line e.g. 'iptables -L' when scripted will produce this error. Is this an ownership/permissions issue with bash rather than an iptables issue? Thanks for any assistance anyone can offer.
|