You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

5 lines
253 B

  1. # redirect/force all dns queries to port 53 of your router
  2. # configuration found in /etc/firewall.user
  3. #
  4. iptables -t nat -I PREROUTING -p tcp --dport 53 -j REDIRECT --to-ports 53
  5. iptables -t nat -I PREROUTING -p udp --dport 53 -j REDIRECT --to-ports 53