wifi/files/wdr-4300/etc/rc.local
2016-11-02 18:12:10 +02:00

9 lines
335 B
Plaintext

# Put your custom commands here that should be executed once
# the system init finished. By default this file does nothing.
/usr/sbin/ebtables -A FORWARD -i wlan+ -o wlan+ -j DROP
/usr/sbin/ebtables -A FORWARD -i wlan+ -s 00:1e:0b:d9:bb:6a -j DROP
/usr/sbin/ebtables -A FORWARD -i eth+ -o wlan+ -s ! 00:1e:0b:d9:bb:6a -j DROP
exit 0