firewall.user 489 B

12345678910111213
  1. # This file is interpreted as shell script.
  2. # Put your custom iptables rules here, they will
  3. # be executed with each firewall (re-)start.
  4. # allow Superglue!
  5. iptables -A input_rule -p tcp --dport 80 -j ACCEPT
  6. # allow SSH
  7. # iptables -A input_rule -p tcp --dport 22 -j ACCEPT
  8. # Internal uci firewall chains are flushed and recreated on reload, so
  9. # put custom rules into the root chains e.g. INPUT or FORWARD or into the
  10. # special user chains, e.g. input_wan_rule or postrouting_lan_rule.