Browse Source

open port 80 in /etc/firewall.user

Danja Vasiliev 10 years ago
parent
commit
312840c6d0
1 changed files with 10 additions and 0 deletions
  1. 10 0
      openwrt/common/etc/firewall.user

+ 10 - 0
openwrt/common/etc/firewall.user

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