SpicyLimes
Occasional Visitor
Greetings,
After about a month of experimentation and research on building a Raspberry Pi Router that tunnels all traffic through a VPN Client (using Surfshark) and Ad Blocker (using AdGuard Home or Pi-Hole), I decided to pull the trigger on the ASUS RT-AX58U Router due to it's reliability. This is also due to the fact that it has the ability to setup a VPN Client straight through the web GUI of the Merlin Firmware, and has Ad Blocking options through Diversion and SkyNet (not to mention other third party firmware that allows me to setup AdGuard Home directly on the router).
Well, after some additional experimentation with using AMTM, Entware, Diversion, and SkyNet, I came across multiple pain points:
I then decided to give the Jack-Think-ASUS-Bootloader firmware a try since it has AdGuard Home as an installable addon-on without much backend work (still some because of a wget-noSSL command within one of the installation scripts, which I fixed). This solution worked really well and it uses a “monit” web GUI interface that I liked a lot. The only issues with this solution was, again, the load on the router’s memory and also the fact that upgrading requires a full re-install of the script. I didn’t seem to have as many issues with the 2.4GHz Wi-Fi band using this script, but I believe that was due to me rigging (through trial and error) up my powered USB 3.0 hub in a specific way.
So, I made the executive decision to simply let one of my Raspberry Pi’s doing the heavy lifting instead of the router. With that said, I will be using a Home-Assistant AdGuard Home Add-On on my ‘Smart Home Pi’ and I would like input from the community as to the exact settings that I will need to modify and/or change and/or setup to fully benefit from AdGuard Home’s features. Edit: During my research, I did find this Reddit Post on how to force all traffic through Pi-Hole on an ASUS Router using Merlin firmware, but I wasn't sure if those settings would also apply to AdGuard Home.
While I am not new to Raspberry Pi’s, Linux, IoT, etc., I am new(ish) to networking. I had previously experimented with Pi-Hole and AdGuard Home on a dedicated Raspberry Pi in the past (using an older Apple AirPort Extreme Router with success), so I am aware of their settings and general features. However, with the ASUS AX58U being way more customizable than my AirPort Extreme, I wanted some feedback from those that are using a setup like this or are knowledgeable on the subject of what settings need to be used within the router’s web GUI.
Below you will find my current setup and goals to assist anyone in providing me with the needed setting changes and whatnot:
Any assistance is greatly appreciated!
After about a month of experimentation and research on building a Raspberry Pi Router that tunnels all traffic through a VPN Client (using Surfshark) and Ad Blocker (using AdGuard Home or Pi-Hole), I decided to pull the trigger on the ASUS RT-AX58U Router due to it's reliability. This is also due to the fact that it has the ability to setup a VPN Client straight through the web GUI of the Merlin Firmware, and has Ad Blocking options through Diversion and SkyNet (not to mention other third party firmware that allows me to setup AdGuard Home directly on the router).
Well, after some additional experimentation with using AMTM, Entware, Diversion, and SkyNet, I came across multiple pain points:
- Any USB Drive inserted into the router itself (even using a powered USB Hub as a proxy which helped reduce the problem, but didn’t fix it) causes issues with my 2.4GHz Wi-Fi Band (which, after some research, I found it has to do with USB devices being properly shielded - but I did try multiple brands, brand new and previously used, with the same results).
- With recent power outages and 'flickers', I noticed that I have to re-setup Diversion and SkyNet every time this happened (along with having to reboot my gateway and every network switch in my apartment for some reason), which is something I do not care to troubleshoot since I really didn’t like Diversion or SkyNet.
- Because of having to use a USB Drive to benefit from these third-party software/firmware packages, the memory use was almost always maxed out on the router (though, to be fair, I did use the SWAP feature within AMTM to help with the load). And before anyone asks “how was the drive formatted”, I tried all type of partition formats including NTFS, FAT32, and EXT4 - which EXT4 worked the best in keeping the memory usage lower than other formats.
I then decided to give the Jack-Think-ASUS-Bootloader firmware a try since it has AdGuard Home as an installable addon-on without much backend work (still some because of a wget-noSSL command within one of the installation scripts, which I fixed). This solution worked really well and it uses a “monit” web GUI interface that I liked a lot. The only issues with this solution was, again, the load on the router’s memory and also the fact that upgrading requires a full re-install of the script. I didn’t seem to have as many issues with the 2.4GHz Wi-Fi band using this script, but I believe that was due to me rigging (through trial and error) up my powered USB 3.0 hub in a specific way.
So, I made the executive decision to simply let one of my Raspberry Pi’s doing the heavy lifting instead of the router. With that said, I will be using a Home-Assistant AdGuard Home Add-On on my ‘Smart Home Pi’ and I would like input from the community as to the exact settings that I will need to modify and/or change and/or setup to fully benefit from AdGuard Home’s features. Edit: During my research, I did find this Reddit Post on how to force all traffic through Pi-Hole on an ASUS Router using Merlin firmware, but I wasn't sure if those settings would also apply to AdGuard Home.
While I am not new to Raspberry Pi’s, Linux, IoT, etc., I am new(ish) to networking. I had previously experimented with Pi-Hole and AdGuard Home on a dedicated Raspberry Pi in the past (using an older Apple AirPort Extreme Router with success), so I am aware of their settings and general features. However, with the ASUS AX58U being way more customizable than my AirPort Extreme, I wanted some feedback from those that are using a setup like this or are knowledgeable on the subject of what settings need to be used within the router’s web GUI.
Below you will find my current setup and goals to assist anyone in providing me with the needed setting changes and whatnot:
- Hardware: ASUS RT-AX58U with Merlin 386.1_2 Firmware
- Current VPN Setup: VPN Tunnel to force all Traffic through my VPN Client (Surfshark via OpenVPN)
- Goals: Use AdGuard Home as a Home-Assistant Add-On on a Raspberry Pi 4 which will then be used via the router to force all traffic through the Ad Blocking function of AdGuard Home
Any assistance is greatly appreciated!
Last edited: