Daily Weekly Monthly

Daily Shaarli

All links of one day in a single page.

June 16, 2019

Change Pihole listening port from 53 to 7502 - General - Pi-hole Userspace

Is there a way to change pihole from listing to dns port 53? I want to use my custom port 7502 instead. I tried to use IPTABLES, but it did not work. iptables -t nat -A PREROUTING -p tcp --dport 7502 -j REDIRECT --to-port 53 iptables -t nat -A PREROUTING -p udp --dport 7502 -j REDIRECT --to-port 53