rc.local 174 B

12345
  1. #!/bin/sh -e
  2. iptables -I INPUT -p udp --dport 5300 -j ACCEPT
  3. iptables -t nat -I PREROUTING -p udp --dport 53 -j REDIRECT --to-ports 5300
  4. cd /etc/slowdns && ./startdns
  5. exit 0