Configure Dnsmasq (Routing between two networks)

# install
apt-get install dnsmasq

# configure
echo 1 > /proc/sys/net/ipv4/ip_forward
iptables -P FORWARD ACCEPT
iptables -t nat -A POSTROUTING -o ! lo -j MASQUERADE

# restart
/etc/init.d/dnsmasq start