I'm trying to make it that after they connect to you AP and you get the WPA passphrase you then cancel the connection and then mimic the real AP with wpa, and then forward the traffic the clients to the real AP.
I have tryed this
ifconfig rausb0 0.0.0.0
ifconfig eth0 0.0.0.0
brctl addbr br0
brctl addif br0 rausb0
brctl addif br0 eth0 (just testing at the moment)
ifconfig br0 up
route add default gw 192.168.1.1
iptables -A FORWARD -i rausb0 -o eth0 -j ACCEPT
iptables -t nat -j POSTROUTING -A MASQUERADE
on my softAP and can still surf the net, and on the targget cleint i can sometimes ping google, but the computer doesn't display the web page.
I am useing ad-hoc between target client and softAP, no encrytion is used.
? why doesn't the target cleint not able to browse internet, and if its dns(ping goes through) why does ping work, but dns doesn't