URL Redirect Prank Using Dd-wrt

76,083

10

7

Posted in PlayPranks-and-humor

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)

http://www.dd-wrt.com/dd-wrtv2/index.php
http://en.wikipedia.org/wiki/DD-WRT

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 192.168.1.1 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/72.249.66.26

- 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.

Share

    Recommendations

    • Slow Cooker Challenge

      Slow Cooker Challenge
    • Colors of the Rainbow Contest

      Colors of the Rainbow Contest
    • Microcontroller Contest

      Microcontroller Contest
    user

    We have a be nice policy.
    Please be positive and constructive.

    Tips

    Questions

    7 Comments

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

    Nice information.I use to find an IP address of website by using Ip-details.com .

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

    http://coolaj86.info/articles/redirect-domains-and-dns-using-dd-wrt.html

    This was very simple and helpful.

    :-D

    I 2nd that sire!!! yes, sir-ee!! :-) running dd-wrt v24-sp1