Results 1 to 3 of 3

Thread: Fake AP and Redirection Failing - iptables

  1. #1
    Just burned their ISO
    Join Date
    Sep 2011
    Posts
    22

    Default Fake AP and Redirection Failing - iptables

    My goal is to create a fake AP using airbase, dhcpd3, iptables and set to spoof all connections and direct all website hits to my computer and one specific page. I've got all of it down except the redirection to the local page. I've looked and looked, though I've yet to find a set of iptables that will actually redirect. For example, my understanding is that this "iptables -t nat -A PREROUTING -p tcp --dport 80 -j DNAT --to 10.0.0.1", where 10.0.0.1 is my at0 ip address, should redirect from my readings, though all has been no go. Attacker is a mac pappy with 10.8 using VMWare Fusion with a Linksys USB. Target is a Mac desktop running 10.8

    I'm avoiding using DNSSPOOF since I've had poor luck with it. If I can get to the point of redirecting like a router would if you were on a guest network, that would be right where I want to be.

    Any help would be great!

  2. #2
    Junior Member rastamouse's Avatar
    Join Date
    Oct 2012
    Posts
    32

    Default Re: Fake AP and Redirection Failing - iptables

    Try
    Code:
    echo 1 > /proc/sys/net/ipv4/ip_forward

  3. #3
    Just burned their ISO
    Join Date
    Sep 2011
    Posts
    22

    Default Re: Fake AP and Redirection Failing - iptables

    Quote Originally Posted by rastamouse View Post
    Try
    Code:
    echo 1 > /proc/sys/net/ipv4/ip_forward
    Tried. Still no local redirection. I don't want them to access the internet, but all requests to go to SET.

Similar Threads

  1. redirection techniques?
    By napisani in forum BackTrack 5 General Topics
    Replies: 4
    Last Post: 05-19-2011, 03:04 AM
  2. browser redirection with MITM
    By mia_tech in forum Beginners Forum
    Replies: 3
    Last Post: 09-06-2010, 11:34 PM
  3. PORT REDIRECTION (rinetd)
    By m4jh0l in forum Beginners Forum
    Replies: 1
    Last Post: 06-11-2010, 01:17 PM
  4. Website redirection
    By Server in forum OLD Specialist Topics
    Replies: 10
    Last Post: 08-16-2008, 02:44 AM
  5. netcat port redirection
    By _cato_ in forum OLD Newbie Area
    Replies: 1
    Last Post: 03-13-2007, 06:45 PM

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •