You are not logged in.

#1 2011-08-10 20:11:29

Z4ndX
Member
Registered: 2011-08-10
Posts: 4

Cant forward connection with iptables and arpspoof..

Hi..
Im trying to make an arp poisoning on my test server but i just can't get to work om my Arch lappy. It works fine in backtrack but i would like to use Arch instead.
I installed iptables and dsniff.
First i enable forwarding with: echo 1 > /proc/sys/net/ipv4/ip_forward
Then i run: iptables -t nat -A PREROUTING -p tcp --destination-port 80 -j REDIRECT --to-ports 8080
And after that i start arpspoof with:  arpspoof -i wlan0 -t <target ip> <netmask>

When i start the arpspoof, there is no connection from the server and out. Like my Arch lap is not forwarding the connection out.
What am i doing wrong here ?

Offline

#2 2011-08-21 06:51:03

BHoward
Member
Registered: 2010-10-07
Posts: 11

Re: Cant forward connection with iptables and arpspoof..

If you are using "arpspoof -i wlan0 -t <target ip> <netmask>" then you are doing it wrong. You don't use a netmask in arpspoof.


arpspoof [-i interface] [-t target] host

Offline

Board footer

Powered by FluxBB