4 config_get proto "$INTERFACE" proto
5 [ "$proto" = "3g" ] && {
6 config_get iface "$INTERFACE" ifname
9 iptables -I LAN_ACCEPT 1 -i "$iface" -j RETURN
10 iptables -A FORWARD -o "$iface" -j ACCEPT
11 iptables -t nat -A POSTROUTING -o "$iface" -j MASQUERADE
15 iptables -D LAN_ACCEPT -i "$iface" -j RETURN
16 iptables -D FORWARD -o "$iface" -j ACCEPT
17 iptables -t nat -D POSTROUTING -o "$iface" -j MASQUERADE