wifi/generic_config/ath79/dlink_dap-2695-a1/etc/rc.local

14 lines
531 B
Plaintext
Raw Normal View History

2023-10-23 18:34:28 +03:00
# 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 phy+ -o phy+ -j DROP
/usr/sbin/ebtables -A FORWARD -i phy+ -s 52:54:00:fc:8b:68 -j DROP
/usr/sbin/ebtables -A FORWARD -i phy+ -s 52:54:00:f0:6b:15 -j DROP
/usr/sbin/ebtables -A FORWARD -i eth+ -o phy+ -s 52:54:00:fc:8b:68 -j ACCEPT
/usr/sbin/ebtables -A FORWARD -i eth+ -o phy+ -s 52:54:00:f0:6b:15 -j ACCEPT
/usr/sbin/ebtables -A FORWARD -i eth+ -o phy+ -j DROP
exit 0