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 2c:59:e5:73:c2:d0 2c:59:e5:73:c2:d4; do
|
|
/usr/sbin/ebtables -A FORWARD -i wlan+ -s ${mac} -j DROP
|
|
done
|
|
|
|
for mac in 70:85:c2:a2:d2:16 2c:59:e5:73:c2:d0 2c:59:e5:73:c2:d4; 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
|