#18135: Firewall not Rejecting Packets
-------------------------+-----------------------------------
Reporter: dr431 | Owner: developers
Type: defect | Status: new
Priority: normal | Milestone:
Component: base system | Version: Barrier Breaker 14.07
Keywords: firewall |
-------------------------+-----------------------------------
Set up firewall rules using LUCI to block traffic from a specific MAC
address that I thought might work, and put them so they appear first in
/etc/config/firewall:
config rule
option name 'BlockICMP'
option proto 'icmp'
option src '*'
option src_mac 'xx:xx:xx:xx:xx:xx' *I changed the mac
address for this post, it is correct in my config
option dest '*'
option target 'REJECT'
config rule
option src_mac 'xx:xx:xx:xx:xx:xx'
option src '*'
option dest '*'
option target 'REJECT'
option name 'block_all_traffic'
From Windows 7 machine with MAC 'xx:xx:xx:xx:xx:xx', I 'pinged' the
router by IP address. Instead of seeing packets rejected, I got the usual
'Reply' with 4 packets sent and 4 received. I put a LOG statement in the
'reject' section and can see the message with logread -f.
--
Ticket URL: <https://dev.openwrt.org/ticket/18135>
OpenWrt <http://openwrt.org>
Opensource Wireless Router Technology
_______________________________________________
openwrt-tickets mailing list
[email protected]
https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-tickets