18 lines
522 B
Plaintext
18 lines
522 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
|
|
|
|
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
|
|
|
|
exit 0
|