bukinay1, Usually, when the lines are more than one stuffed them into a file with the .sh extension, for example, "myafwrules.sh", more about it
here In the "Loading Scripts from Files" section, there are exactly there are examples as it is all right to fit. I now checked on my device, even if you do not download a script from the file, and simply to register it as in your example, both options work, i.e. $ Iptables -a Afwall -D 87.245.198.0/24 -J Drop and IPTables -a "AFWALL" -D 87.245.198.0/24 -J Drop essentially the same thing. The problem is due to the other, try to completely clear the Firevol (menu item "Show Regulation>Three points in the upper right corner>"Delete Rules"), and then apply them again with the prescribed commands. In the extreme case, the rules at the bottom of the lowest error is displayed, due to which Afwall refuses to work, see what is written there.
Even easier about writing the scripts is explained in this
post . Although Afwall's official wiki still advise you to read for a complete understanding.
Post has been editedBrotishka - 12.06.17, 01:50