Browse Source

replace br0 with $LAN

SVN-Revision: 5492
Felix Fietkau 19 years ago
parent
commit
223fdb0443
1 changed files with 1 additions and 1 deletions
  1. 1 1
      package/iptables/files/firewall.init

+ 1 - 1
package/iptables/files/firewall.init

@@ -87,7 +87,7 @@ start() {
 	iptables -A FORWARD -j forwarding_rule
 	
 	# allow
-	iptables -A FORWARD -i br0 -o br0 -j ACCEPT
+	iptables -A FORWARD -i $LAN -o $LAN -j ACCEPT
 	[ -z "$WAN" ] || iptables -A FORWARD -i $LAN -o $WAN -j ACCEPT
 	
 	# reject (what to do with anything not allowed earlier)