Click here to Skip to main content
15,936,709 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
What i am trying to do in my TZ 215 router is to stop any DNS lookup going to Google on from my wifi connections (WO) to the router and change the IP to OpenDNS on so that even if someone in windows sets google as the DNS server it will redirect them without anyone knowing.

I think i need to add a NAT rule and not a routing rule and i have tried the advice given here[^] but it does not work.

These sonicwalls are not for the novis user thats for sure and most of the security items won't work unless you pay a licence fee so i am trying to get OpenDNS to do some of the work because you can now register your public IP address with them and then block cetegory's of site from a online interface and they will then block/redirect the DNS results.

1 solution

It has taken me all day but here is the answer for the NAT rule needed in a tz sonicwall

Create a new NAT policy with the following parameters:

Original Source: LAN Subnets
Translated Source: WAN Primary IP
Original Destination: ( or use group addess to also include
Translated Destination: ( OpenDNS
Original Service: Any
Translated Service: Original
Inbound Interface: Any
Outbound Interface: Any

Do not try t set the outbound interface, it won't let you
Share this answer

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900