1 #!/bin/sh /etc/rc.common
2 # Copyright (C) 2006-2011 OpenWrt.org
11 config_get WAN wan ifname
14 $IPT $1 input_rule -i $WAN -p tcp --dport 1863:1864 -j ACCEPT
15 $IPT $1 input_rule -i $WAN -p tcp --dport 4443 -j ACCEPT
16 $IPT $1 input_rule -i $WAN -p tcp --dport 5566 -j ACCEPT
17 $IPT $1 input_rule -i $WAN -p tcp --dport 40000:40099 -j ACCEPT
21 service_start /usr/sbin/reaim && set_rules -A
25 service_stop /usr/sbin/reaim && set_rules -D