Results 1 to 2 of 2

Thread: Evil Twin Adapter Won't Forward Traffic

  1. #1
    Join Date
    2017-Mar
    Posts
    1

    Evil Twin Adapter Won't Forward Traffic

    Hi,

    This is my first time posting to a forum because usually solutions have already been found for most issues. I however, have had zero luck getting my evil twin network to work. It is for my Penetration Testing class in college and I am at a complete loss as to what might be causing my issues.

    I am running Kali within VMware using a replicated internet connection and I use eth0 as my route to the internet and at0 as my AP. I can connect to my wireless network and receive an IP address however, I receive a DNS error when trying to access the internet. Another possibly related problem is that my adapter crashes shortly after I connect. I received this error the last time it happened:
    wi_read(): Network is down
    Error: Got channel -1 expected a value > 0

    My network is configured as such:

    I created a 192.168.2.0 network and am trying to access the gateway on the 192.168.1.0 network.

    These are my configurations:

    /etc/dhcp/dhcpd.conf:

    Authoritative;
    subnet 192.168.2.0 netmask 255.255.255.0 {
    range 192.168.2.20 192.168.2.30
    option domain-name-servers 192.168.2.1
    option domain-name mywifi
    option routers 192.168.2.1
    default-lease-time 600;
    max-lease-time 7200;
    }

    ifconfig at0 192.168.2.1 netmask 255.255.255.0

    ifconfig at0 mtu 1800

    route add -net 192.168.2.0 netmask 255.255.255.0 gw 192.168.2.1

    iptables commands:

    iptables -P FORWARD ACCEPT
    iptables -t nat -A POSTROUTING -o eth0 -j MASQUERADE

    Once proven that I can forward traffic I would like to direct traffic to 10000 and monitor with ettercap but at the moment I would be content just to get the internet to work.
    Any help is greatly appreciated

  2. #2
    Join Date
    2013-Apr
    Location
    Kali forums
    Posts
    805
    What hardware are you using? Is it compatible with aircrack-ng (i.e. monitor mode & packet injection)? In general, I try to avoid wireless work within a VM...always been problematic for me.

Posting Permissions

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