Question
Restricting DNS
New to Fortinet, but familiar with using other Firewalls.
I bought a Fortigate 60E with UTM license for home use, and I want to force my kids devices to use OpenDNS Family Shield DNS Servers, while allowing other devices to use regular DNS Servers.
I was able to do this with DD-WRT by using these commands:
iptables -t nat -I PREROUTING -i br0 -m mac --mac-source ##:##:##:##:##:## -p udp --dport 53 -j DNAT --to 208.67.222.123
iptables -t nat -I PREROUTING -i br0 -m mac --mac-source ##:##:##:##:##:## -p tcp --dport 53 -j DNAT --to 208.67.222.123
Even if the device changed DNS Servers manually, they were forced to use Family Shield.
How can I accomplish this with Fortinet?
