Skip to content

Instantly share code, notes, and snippets.

@salopst
Last active October 5, 2018 11:43
Show Gist options
  • Save salopst/5499fc564dfb7a3be241a43ba67db860 to your computer and use it in GitHub Desktop.
Save salopst/5499fc564dfb7a3be241a43ba67db860 to your computer and use it in GitHub Desktop.
pi-hole keeps rerouting through olde 172.16 network...
#!/bin/bash
sudo route delete -net default gw 172.16.2.0 metric 202 dev eth0
sudo route add -net default gw 192.68.2.1 metric 202 dev eth0
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment