Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Adguard home instructions #517

Merged
merged 21 commits into from
Jan 24, 2025
Merged
Show file tree
Hide file tree
Changes from 10 commits
Commits
Show all changes
21 commits
Select commit Hold shift + click to select a range
c0b131b
added adguard-home.rst and a related picture
abandonedforce Dec 26, 2024
42ac1dd
working on installation instructions
abandonedforce Dec 26, 2024
e97701e
working on instructions
abandonedforce Dec 27, 2024
becc032
added installations instructions
abandonedforce Dec 27, 2024
4623198
added refernce to overview.rst
abandonedforce Dec 27, 2024
9c8cbde
added reference to overview.rst
abandonedforce Dec 29, 2024
c070d95
updating instruction text for adguard home
abandonedforce Dec 29, 2024
3f7e1bd
updateing text to check commit username
abandonedforce Dec 29, 2024
b0bfb37
instruction-text updated
abandonedforce Dec 29, 2024
d367597
added to github Username to AUTHORS. finished instructions.
abandonedforce Jan 4, 2025
af5b283
macvlan network instructions
BrokenOnedroid Jan 18, 2025
13f0f1d
Update command for webui usage
BrokenOnedroid Jan 18, 2025
346e70c
Update interface/docker-based-rock-ons/adguard-home.rst
BrokenOnedroid Jan 18, 2025
35a9098
Update interface/docker-based-rock-ons/adguard-home.rst
BrokenOnedroid Jan 18, 2025
d3836e0
Update interface/docker-based-rock-ons/adguard-home.rst
BrokenOnedroid Jan 18, 2025
b46b555
Update interface/docker-based-rock-ons/adguard-home.rst
BrokenOnedroid Jan 18, 2025
a8fefa7
Update interface/docker-based-rock-ons/adguard-home.rst
BrokenOnedroid Jan 18, 2025
5214ac5
Update interface/docker-based-rock-ons/adguard-home.rst
BrokenOnedroid Jan 18, 2025
e6f27a4
Update interface/docker-based-rock-ons/adguard-home.rst
BrokenOnedroid Jan 18, 2025
2a5ba9e
Update interface/docker-based-rock-ons/adguard-home.rst
BrokenOnedroid Jan 18, 2025
3d8bc15
Update interface/docker-based-rock-ons/adguard-home.rst
BrokenOnedroid Jan 18, 2025
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions AUTHORS
Original file line number Diff line number Diff line change
Expand Up @@ -23,3 +23,4 @@ FroggyFlox
Fantastitech
Dorian Bivolaru
Del Jones
BrokenOnedroid
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
108 changes: 108 additions & 0 deletions interface/docker-based-rock-ons/adguard-home.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,108 @@
.. _adguard_home_rockon:

AdGuard Home Rock-on
==========================

Before you install the Adguard Home rock-on, you should understand the
BrokenOnedroid marked this conversation as resolved.
Show resolved Hide resolved
prerequisites and configurations common to all Rockstor :ref:`rockons_intro`;
specifically the :ref:`rockons_preinstall` and :ref:`rockons_root`
requirements.


.. _adguard_home_whatis:

What is AdGuard Home
---------------------

`AdGuard Home <https://adguard.com/en/adguard-home/overview.html>`_ AdGuard Home is a
network-wide software for blocking ads and tracking. After you set it up, it'll
cover all your home devices, and you won't need any client-side software for that.
AdGuard Home is available for amd64 and arm64 architecture.

.. _adguard_doc:

AdGuard Home Documentation
---------------------------

AdGuard Home features and documentation can be found here: `documentation <https://github.com/AdguardTeam/AdGuardHome>`_.
Note that there is some preparation required to get this rock-on to work.
BrokenOnedroid marked this conversation as resolved.
Show resolved Hide resolved

.. _adguard_install:

Installing the Adguard Home Rock-on
-------------------------------------
This rock-on requires two additional shares to be set.
BrokenOnedroid marked this conversation as resolved.
Show resolved Hide resolved
E.g. **adguard_config** and **adguard_data**. These shares must be
setup up before the installation.


We will also change the share permissions for **adguard_data**.
Navigate to *Storage* > *Shares* and select the data share you created. Navigate to
to *Access Control* and click on *Edit*. Change the settings as shown in
the picture.

.. image:: /images/interface/docker-based-rock-ons/adguard_share_permission.png
:width: 100%
:align: center

Now we need to add the *macvlan-network* for the rock-on. To do this, we need to
with a command that needs to be changed to match your local network.
BrokenOnedroid marked this conversation as resolved.
Show resolved Hide resolved

.. code:: bash

docker network create -d macvlan --subnet=192.168.178.0/24 --ip-range=192.168.178.58/32 --gateway=192.168.178.1 -o parent=eth0 adguard-home
BrokenOnedroid marked this conversation as resolved.
Show resolved Hide resolved


In this example, the *--ip-range* value is the single IP address: *192.168.178.58*.
Please select an unused IP address in your local *--ip-range*. If you use a DHCP server
either reserve this address permanently or choose an address outside the DHCP server range.

The value for *-gateway* must be set to the IP address of the gateway of your local network.

The value for *-parent* must be set to the name of your network. This can be found under *System* > *Network*.
The default and expected value is *eth0*.

BrokenOnedroid marked this conversation as resolved.
Show resolved Hide resolved
The last entry of the *adguard-home* command must be kept the same. This network name is set in the
rock-on configuration.
BrokenOnedroid marked this conversation as resolved.
Show resolved Hide resolved

We are now ready to start the installation of the AdGuard Home rock-on. Click on the
*Install button next to the **AdGuard Home** listing on the *Rock-ons* page.
page.
BrokenOnedroid marked this conversation as resolved.
Show resolved Hide resolved

.. _adguard_home_shares:

Set Shares
^^^^^^^^^^^

We just need to set up the shares for the installation. Set them in the web interface.
Use the shares we set up earlier.
BrokenOnedroid marked this conversation as resolved.
Show resolved Hide resolved

.. image:: /images/interface/docker-based-rock-ons/adguard_share_installation.png
:width: 100%
:align: center


.. _adguard_home_port:

Web-UI port
^^^^^^^^^^^
This is the port used to access the AdGuard Home web interface. Note that
port *3000* is the port for the initial configuration.
After configuration, the Web UI will be accessible on port *80* or *443*.
These ports are set without any user interaction.
BrokenOnedroid marked this conversation as resolved.
Show resolved Hide resolved

Verify and Submit
^^^^^^^^^^^^^^^^^
Verify that the information you've entered is correct, then click **Submit**.
You'll see a screen indicating that the Rock-on is being installed. Click Close.
BrokenOnedroid marked this conversation as resolved.
Show resolved Hide resolved


AdGuard Home Installation Successful
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Congratulations! You can see the **AdGuard Home** entry in the list of installed rock-ons.
To access the web interface, you need to use the configured value of *--ip-range* and port *3000*.
Using the example values, the UI can be reached at *http://192.168.178.58:3000*.
After configuration, the web interface can be reached at *http://192.168.178.58:80*.

For recommendations of DNS blocklists see : `hagezi dns-blocklists <https://github.com/hagezi/dns-blocklists>`_.

1 change: 1 addition & 0 deletions interface/overview.rst
Original file line number Diff line number Diff line change
Expand Up @@ -236,6 +236,7 @@ Note that not all Rock-ons have their own specific instructions in these docs.
.. toctree::
:maxdepth: 2

docker-based-rock-ons/adguard-home
docker-based-rock-ons/jenkins
docker-based-rock-ons/minio
docker-based-rock-ons/nginx
Expand Down
Loading