switch MACs to the new NIC

This commit is contained in:
Vasil Kolev 2019-11-04 10:24:10 +02:00 committed by root
parent 4020f19b95
commit f84b668301
1 changed files with 2 additions and 2 deletions

View File

@ -4,11 +4,11 @@
/usr/sbin/ebtables -A FORWARD -i wlan+ -o wlan+ -j DROP /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 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 /usr/sbin/ebtables -A FORWARD -i wlan+ -s ${mac} -j DROP
done done
for mac in 70:85:c2:a2:d2:16 00:07:43:13:2c:a0 00:07:43:13:2c:a8; do 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 /usr/sbin/ebtables -A FORWARD -i eth+ -o wlan+ -s ${mac} -j ACCEPT
done done