2015-11-02 05:16:50 +02:00
|
|
|
# Put your custom commands here that should be executed once
|
|
|
|
# the system init finished. By default this file does nothing.
|
|
|
|
|
2019-10-28 12:19:12 +02:00
|
|
|
|
2015-11-02 05:16:50 +02:00
|
|
|
/usr/sbin/ebtables -A FORWARD -i wlan+ -o wlan+ -j DROP
|
2019-10-28 12:19:12 +02:00
|
|
|
|
|
|
|
for mac in 70:85:c2:a2:d2:16 00:07:43:13:2c:a0 00:07:43:13:2c:a8; do
|
|
|
|
/usr/sbin/ebtables -A FORWARD -i wlan+ -s ${mac} -j DROP
|
|
|
|
done
|
|
|
|
|
|
|
|
for mac in 70:85:c2:a2:d2:16 00:07:43:13:2c:a0 00:07:43:13:2c:a8; do
|
|
|
|
/usr/sbin/ebtables -A FORWARD -i eth+ -o wlan+ -s ${mac} -j ACCEPT
|
|
|
|
done
|
|
|
|
|
|
|
|
/usr/sbin/ebtables -A FORWARD -i eth+ -o wlan+ -j DROP
|
2015-11-02 05:16:50 +02:00
|
|
|
|
|
|
|
exit 0
|