瀏覽代碼

open port 80 in /etc/firewall.user

Danja Vasiliev 10 年之前
父節點
當前提交
312840c6d0
共有 1 個文件被更改,包括 10 次插入0 次删除
  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.