0442.html 4.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172
  1. <!DOCTYPE html>
  2. <html lang="en" xmlns="http://www.w3.org/1999/xhtml">
  3. <head>
  4. <title>Install AdGuard Home Cross-Platform Pi-Hole Alternative on OpenWRT Router</title>
  5. <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
  6. <meta charset="UTF-8">
  7. <meta name="keywords" content="AdGuard,Alternative,DNS,Networking,Ad Blocker,Router,Install Guide,Linux,OpenWRT,OpenWRT Tutorial,Self-Hosted,Home Lab,Homelab,How To,Tutorial,i12bretro">
  8. <meta name="author" content="i12bretro">
  9. <meta name="description" content="Install AdGuard Home Cross-Platform Pi-Hole Alternative on OpenWRT Router">
  10. <meta name="viewport" content="width=device-width, initial-scale=1.0">
  11. <meta name="revised" content="06/03/2023 02:07:02 PM" />
  12. <link rel="icon" type="image/x-icon" href="includes/favicon.ico">
  13. <script type="text/javascript" src="https://code.jquery.com/jquery-3.5.1.min.js"></script>
  14. <script type="text/javascript" src="includes/js/steps.js"></script>
  15. <link href="css/steps.css" rel="stylesheet" type="text/css" />
  16. </head>
  17. <body>
  18. <div id="gridContainer">
  19. <div class="topMargin"></div>
  20. <div id="listName" class="topMargin">
  21. <h1>Install AdGuard Home Cross-Platform Pi-Hole Alternative on OpenWRT Router</h1>
  22. </div>
  23. <div></div>
  24. <div id="content">
  25. <h2>What is AdGuard Home?</h2>
  26. <blockquote><em>AdGuard Home is a network-wide software for blocking ads and tracking. After you set it up, it&#39;ll cover ALL your home devices, and you don&#39;t need any client-side software for that.<br />
  27. <br />
  28. It operates as a DNS server that re-routes tracking domains to a &ldquo;black hole&rdquo;, thus preventing your devices from connecting to those servers. It&#39;s based on software we use for our public AdGuard DNS servers, and both share a lot of code. -<a href="https://github.com/AdguardTeam/AdguardHome" target="_blank">https://github.com/AdguardTeam/AdguardHome</a></em></blockquote>
  29. <h2>Installing AdGuard Home</h2>
  30. <ol>
  31. <li>Open a web browser and navigate to the OpenWRT LuCI web UI</li>
  32. <li>Log in</li>
  33. <li>Select System &gt; Startup in the top navigation menu</li>
  34. <li>Find dnsmasq and click the Stop button and click Enabled to disable the service on startup</li>
  35. <li>Select System &gt; Software in the top navigation menu</li>
  36. <li>Type cert in the search</li>
  37. <li>Find ca-certificates and click the Install... button</li>
  38. <li>Find ca-bundle and click the Install... button</li>
  39. <li>Type libustream in the search</li>
  40. <li>Find libustream-openssl and click the Install... button</li>
  41. <li>Open another tab and navigate to https://github.com/AdguardTeam/AdGuardHome/wiki/Getting-Started#installation</li>
  42. <li>Find the download for Linux on the architecture of the router (arm32, arm64, etc)</li>
  43. <li>Right click the link and Copy shortcut / Copy link address</li>
  44. <li>Connect to the OpenWRT device via SSH</li>
  45. <li>Run the following commands
  46. <div class="codeBlock"># download adguard home, pasting the download link copied above<br />
  47. wget https://static.adguard.com/adguardhome/release/AdGuardHome_linux_amd64.tar.gz --no-check-certificate<br />
  48. # extract the download tar.gz<br />
  49. tar xfvz AdGuardHome_linux*<br />
  50. # change directory into the extracted folder<br />
  51. cd AdGuardHome<br />
  52. # install AdGuardHome as a service<br />
  53. ./AdGuardHome -s install</div>
  54. </li>
  55. <li>Open a web browser and navigate to http://OpenWRTIP:3000</li>
  56. <li>Click the Get Started button</li>
  57. <li>Set the Admin Web Interface and DNS Server network interfaces and ports, note port 80 can&#39;t be used for the web interface &gt; Click Next</li>
  58. <li>Enter an admin username and password &gt; Click Next</li>
  59. <li>Click Next on page 4</li>
  60. <li>Click Open Dashboard on the Congratutations page</li>
  61. <li>Log in using the admin username and password created during the install</li>
  62. <li>Welcome to AdGuardHome running on OpenWRT</li>
  63. </ol>
  64. <p>Source: <a href="https://github.com/AdguardTeam/AdGuardHome#getting-started" target="_blank">https://github.com/AdguardTeam/AdGuardHome#getting-started</a></p> </div>
  65. </div>
  66. </body>
  67. </html>