How to Set Up Tomato
1. Log in to your router http://192.168.1.1 - default user name and password is root/admin
2. Under “Basic” select “Network”
3. Look for “Static DNS Settings”
4. Static DNS1: 126.96.36.199
5. Static DNS2: 188.8.131.52
6. Static DNS3: 0.0.0.0
7. Save “settings”
8. Go to Advanced > DHCP/DNS
9. Uncheck “Use received DNS with user-entered DNS”
10. Check “Use internal DNS”
11. Save and restart
When troubleshooting, you should always restart our device first. Then check your account status in inside your account home. If the device which you are using to visit your account home is properly setup you should always see 3 green bars
Why do I need to block Public DNS Lookups?
Some services have begun using forced DNS lookups to Google and other public DNS servers that are hardcoded in the apps and devices. This effectively bypasses any DNS servers setup by you or your ISP which means Smart DNS services such as Unblockall will not work. In order for Unblockall to be able to work, your services have to use Unblockall server to resolve domain names. The only way to get around this issue is by setting up static routes or other methods to block your device from accessing Google, and other public DNS servers from supported routers.
Disclaimer: This is an advanced tutorial meant for users comfortable setting up routers. If settings get corrupt, you always have the option of resetting the router but make sure you make note of your current settings or back them up first. The instructions and commands are provided AS IS for you to try and may or may not work depending on your actual router and the features available for you.
Step 1 - Login to the Router
a. Login to your Tomato Router
b. The default address is either http://192.168.1.1 or http://192.168.0.1 and the default username and password is usually admin for both.
Step 2 - Add the Firewall Rules
a.Navigate to Administration -> Scripts
b. Click on Firewall
c. Type in the following rules in the firewall box field. Input the DNS server you chose in Step 2 in place of [UnoDNS Server].
iptables -I PREROUTING -t nat -p udp -d 184.108.40.206 --dport 53 -j DNAT --to-destination [ UnoDns server ]
iptables -I PREROUTING -t nat -p udp -d 220.127.116.11 --dport 53 -j DNAT --to-destination [ UnoDns server ]
iptables -I FORWARD -d 18.104.22.168/255.255.0.0 -j DROP
iptables -I FORWARD -d 22.214.171.124/255.255.0.0 -j DROP
iptables -I FORWARD -d 126.96.36.199/255.255.0.0 -j DROP
iptables -I FORWARD -d 188.8.131.52/255.255.0.0 -j DROP
iptables -I FORWARD -d 184.108.40.206/255.255.0.0 -j DROP
iptables -I FORWARD -d 220.127.116.11/255.255.0.0 -j DROP
The commands we used then were:
iptables -I PREROUTING -t nat -p udp -d 18.104.22.168 --dport 53 -j DNAT --to-destination 22.214.171.124
iptables -I PREROUTING -t nat -p udp -d 126.96.36.199 --dport 53 -j DNAT --to-destination 188.8.131.52
d. click on save
f. reboot your router.
Try 7-day for Free for Unblock All content
Get full access to the Unblock All products with your free trial. No payment details neededStart Your Free Trial