Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

Got dd-wrt setup!

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

share|improve this question

2 Answers 2

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

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.