@Floyd
Maybe I messed up,but since I give at ath0:
Code:
ifconfig ath0 192.168.1.129 netmask 255.255.255.128
route add -net 192.168.1.128 netmask 255.255.255.128 gw 192.168.1.129
and to IPtables:
Code:
iptables --table nat --append POSTROUTING --out-interface eth0 -j MASQUERADE
iptables --append FORWARD --in-interface ath0 -j ACCEPT
iptables -t nat -A PREROUTING -p udp --dport 53 -j DNAT --to 192.168.1.1
then I must set in dhcp.conf ,option routers to 192.168.1.1 (eth0) and not to Rogue AP IP (ath0) which is 192.168.1.129?
Networks is a pain in the ass. Maybe I misunderstand the whole think.But, its working for me. For sure I need more study.
@parrotface
You can give internet to your softAP with iptables or you can bridge eth0 and ath0. Sorry parrotface, but my knowledge is so limited. I am not a professional. I do love to learn and I do love linux. google and man command are my friends.
P.S.
Vista gets IP 192.168.2.130 (first to be connected)
Then XP box gets 192.168.2.131
not 192.168.1.130 and 192.168.1.131? Its a typo?