Mushroom Networks Documentation

Configuration Guide for Domain Redirection and Blocking

In some cases when you want a certain web site traffic to go over a certain WAN connection, here are some of the steps:

 

1) determine an IP for the website. This can be done using command-line tools such as ‘nslookup’ on Windows or ‘host’ on Unix. Also, you can just ping the website to see the IP.

2) on the Advanced page of the Mushroom device’s web interface create a rule in the ‘Domain Name Blocking / DNS Redirection‘ section for this website so that all DNS queries to the device will return the IP that you found in the step above.

3) also on the Advanced page, create an ‘Interface Binding‘ rule (or if the firmware version is 1.17 or higher you can use Manual Route ) for this IP, binding/routing it to a specific WAN interface. This will bind/route all traffic to the website directly to the WAN link. 

Example for yelp.com:

1) Determine the website’s IP:

PING yelp.com (198.51.132.180) 56(84) bytes of data.
64 bytes from www.sfo2.yelp.com (198.51.132.180): icmp_seq=1 ttl=52 time=26.4 ms

So, yelp.com has an IP of 198.51.132.180

2) Create ‘Domain Name Blocking / DNS Redirection‘ rule:

Domain Name: yelp.com

IP (leave blank to block): 198.51.132.180

3) Create ‘Interface Binding‘ rule (Note for fimrware version 1.17 or higher refer to the Manual Route section under Advanced tab):

Type: Interface Binding Rule

Device Type: WAN

Device Index: 1

Type of Service: <blank>

Source or Destination IP/Subnet: 198.51.132.180

Start Port: <blank>

End Port: <blank>

Protocol: ANY

© 2004 – 2024 Mushroom Networks Inc. All rights reserved.

Let’s chat. Call us at +1 (858) 452-1031 or fill the form: