Super User is a question and answer site for computer enthusiasts and power users. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

Got dd-wrt setup!

Can I log urls visited on all computers on the network?

share|improve this question
up vote 4 down vote accepted

You can actually use the following firewall rules on the dd-wrt firmware to force users to use a specified DNS server (in the router settings)

iptables -t nat -A PREROUTING -p udp -i br0 --dport 53 -j DNAT --to $(nvram get lan_ipaddr)
iptables -t nat -A PREROUTING -p tcp -i br0 --dport 53 -j DNAT --to $(nvram get lan_ipaddr)

This was supposed to be a comment to the answer posted by jason404 but I can't because of my low rep :)

share|improve this answer

This feature is not currently available in the DD-WRT firmware.

share|improve this answer

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .