Hello,
I would ask why DHCP server configured on VLAN interface when DNS Server is configured as this VLAN interface gateway not work?
e.g. I have VLAN subnet 172.16.10.0/24 with dns-server configured as 172.16.10.1 (vlan gateway), I have in in IP-> DNS entry with google 8.8.8.8, 8.8.4.4 dns and allowed DNS remote request - now all my clients getting correct IP VLAN subnet addressess but they not have internet access.
When I change dns-server for LAN gateway (physical interface ether1) then internet works OK.
Is any problem with dns remote request for vlan interfaces?
but after that Vlan users don’t have internet access, but when change in DHCP pool dns servers from 172.16.10.1 to google 8.8.8.8 internet access works.
This would block DNS remote-requests from the wan interfaces.
Obviously this is a bit of an over-simplified chain - in reality, you’d probably want to expand rule 4 into a list of specific services allowed from the LAN (e.g. dns, dhcp, ping, winbox from admin network, etc) and then make the last rule be drop…
If you wanted your router to be pingable / trace-route-able from the Internet, then you’d want to allow ICMP before the drop rules for wan1, wan2…
(blocking pings doesn’t really enhance security anymore)
yes, I have already many firewall input access rules already configured like icmp, ipsec, gre, nat-t, remote winbox access,
so is better for me I thing to allow what I need, and for the end block everything else.
I discovered on other mikrotik when the configuration is the same but only with one WAN, then with this config:
To get DNS requests working where DNS address is address of the VLAN interface, I had to add the VLAN interfaces to the LAN address list. Otherwise the default firewall rule for LAN requests blocks forwarding of the DNS request to the local DNS server.