Tomato

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: 173.214.251.71

5. Static DNS2: 192.133.141.178

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

Important

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 8.8.4.4 --dport 53 -j DNAT --to-destination [ UnoDns server ]

iptables -I PREROUTING -t nat -p udp -d 8.8.8.8 --dport 53 -j DNAT --to-destination [ UnoDns server ]


iptables -I FORWARD -d 108.175.0.0/255.255.0.0 -j DROP

iptables -I FORWARD -d 23.246.0.0/255.255.0.0 -j DROP

iptables -I FORWARD -d 45.57.0.0/255.255.0.0 -j DROP

iptables -I FORWARD -d 185.2.0.0/255.255.0.0 -j DROP

iptables -I FORWARD -d 198.45.0.0/255.255.0.0 -j DROP

iptables -I FORWARD -d 198.38.0.0/255.255.0.0 -j DROP

 

The commands we used then were:

 

iptables -I PREROUTING -t nat -p udp -d 8.8.4.4 --dport 53 -j DNAT --to-destination 192.133.141.178

iptables -I PREROUTING -t nat -p udp -d 8.8.8.8 --dport 53 -j DNAT --to-destination 192.133.141.178


 

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 needed

Start Your Free Trial