Closed scottj97 closed 2 years ago
Sorry for the delay, yes, I will have to investigate your items.
Stated In section 57. WIRED_IOT_LOCAL, WIFI_IOT_LOCAL Firewall Rules: The purpose of these rules is to block the use of EdgeRouter local services from these two IOT Networks, except for the use of DNS and the operation of DHCP.
All of the rules in sections 57, 58, and 59 have a default-action of drop, and then (only) allow the DHCP protocol (udp ports 67, 68) and allow DNS requests (port 53).
I believe the EdgeRouter determines that traffic for these ports will appear on the firewall as "LOCAL" and not "IN". I don't want any of my IOT equipment to be able to get into the router. Read 60. Optional DNS Forcing of the WIFI_GUEST_LOCAL Network Note that although a client's DNS request may specify an external (non-ER-X) DNS resolver addresses, the actual DNS request(s) are still managed via port 53, mentioned above. You can prove this by following the provided testing method.
Combining firewall rules will likely work, but I suggest you test your changes. Looks like you could use the "+ Interfaces" button. I used separate rulesets, so that users could more easily change any particular Network's operation, while they were learning.
Easy to test this: A. For a Network: Ensure DHCP hands out an external (non-ER-X) DNS resolver address. Change that Network's DNS firewall rule into action = drop. You many need to reboot your impacted equipment or otherwise cause them to phone-home. B. Perform the testing from section 60, mentioned above.
Note that some IOT equipment may make DNSish requests (or otherwise phone home) using other port numbers.
Hope this helps, -Mike
I believe the EdgeRouter determines that traffic for these ports will appear on the firewall as "LOCAL" and not "IN".
I just checked that out and confirmed that that is not the case. To be considered LOCAL the destination address has to be a switch address, the port number is not relevant. The test I did was as follows:
Hope that helps. Geoff
Thanks guys, I will add text about this in my next guide release.
Latest release should clear up this confusion, Thanks.
Thank you for this guide. I learned so much about networking, firewalls, etc.
There are several things in the doc that I found suspicious. I'm not sure if I'm misunderstanding or if these things are unnecessary.