1

OpenWRT
There are a few ways to edit iptables in OpenWRT.
Direct use of iptables
OpenWRT will run the contents of /etc/firewall.user at startup. It is a shell script, so it'll look something like this:
root@OpenWrt:/etc# cat firewall.user
# This file is interpreted as shell script.
# Put yo...