you could try this config for the /etc/dhcp3/dhcpd.conf file
subnet 192.168.4.0 netmask 255.255.255.0
{
range 192.168.4.10 192.168.4.30;
default-lease-time 3600;
max-lease-time 7200;
authoritative;
option domain-name GoogleDNS;
option domain-name-servers 8.8.8.8,8.8.4.4;
option broadcast-address 192.168.4.255;
option subnet-mask 255.255.255.0;
option routers 192.168.4.1;
}
if you want to redirect the traffic to your localhost websever you can use iptables
something like that
iptables -A PREROUTING -s 192.168.4.0/255.255.255.0 -p tcp --sport ! 52 -j DNAT --to-destination 192.168.4.1 -t nat
(
http://haezjagt.blogspot.com/2011/02...p.html)-german