URL Redirect Prank Using Dd-wrt

Introduction: URL Redirect Prank Using Dd-wrt

Use a router with dd-wrt firmware to send users to the wrong site when a specific url is entered.

Step 1: The Firmware

-First, you need a router with dd-wrt ... you'll know if you have this.
-If you aren't currently using dd-wrt, I highly recommend it; basically it adds enterprise level functions to your cheapo router (not all routers are compatible, but many popular ones are)


Step 2: Find Ip Address

- Use http://www.selfseo.com/find_ip_address_of_a_website.php to find the address of the site you want to redirect people to. Write this down.

Step 3: Setup

- Go to in your browser
- click the 'services' tab, enter your password if neccesary
- scroll down to DNSMasq, and make sure it is enabled

- Under 'Additional DNSMasq Options' enter: address=/www.your_site.com/ip_address
ex (redirects www.youtube.com to instructables): address=/www.youtube.com/

- scroll down and click apply. thats it!

Step 4: Some Thoughts

This can be used fairly effectively, but there are a few things I have noticed. Some sites are accessible via a http://www.site.com URL, or just by http://site.com URL, so you will have to enter both of these in order to make sure you get your victim.

I researched how to do this because this is trivial to do to a friend with a PC by editing their hosts file while they are gone, but seeing as all my roomates have Macs, their host file is password protected.

This was my first instructable, hopefully everyone enjoyed it.

Be the First to Share


    • Tinkercad Student Design Contest

      Tinkercad Student Design Contest
    • Robots Contest

      Robots Contest
    • Lamps and Lighting Contest

      Lamps and Lighting Contest



    5 years ago

    I am trying to follow your step but it's not forwarding the website. Can I get please help my TP link router has been already pre-installed with DD-WRT firmware :(


    10 years ago on Introduction

    I've compiled this tutorial with some relate ones on how to redirect DNS:


    This was very simple and helpful.