소스 검색

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.