I have been trying to get this to work for a cople of days now and i have made it work(sort of).
The problem i have is that the dhcp dont give the clients my BackTrack's ip as gateway but the the fons ip-adress.
is there something that i have forgotten?
[backTrack]
eth0 192.168.1.1
wlan0 10.0.0.39
[Fon]
eth0 192.168.1.254
[Victims PC]
wlan gw 192.168.1.254
wlan dns 192.168.1.254
DHCP
config dnsmasq
option domainneeded 1
option boguspriv 1
option filterwin2k '0' #enable for dial on demand
option localise_queries 1
option local '/lan/'
option domain 'lan'
option expandhosts 1
option nonegcache 0
option authoritative 1
option readethers 1
option leasefile '/tmp/dhcp.leases'
option resolvfile '/tmp/resolv.conf.auto'
list 'dhcp_option' '3,192.168.1.1'
list 'dhcp_option' '6,192.168.1.1,8.8.8.8'
config dhcp lan
option interface lan
option start 100
option limit 150
option leasetime 12h
config dhcp wan
option interface wan
option ignore 1