jumpsmm7 / Asuswrt-Merlin-AdGuardHome-Installer

The Official Installer of AdGuardHome for Asuswrt-Merlin
GNU General Public License v3.0
156 stars 17 forks source link

Is it possible to allow external access the adguard dashboard? #108

Closed geneliu closed 2 years ago

geneliu commented 2 years ago

Thanks very much for the Nice Job!!

I setup adguardhome with this installer successfully on my asus router. I usually use another workstation connect direct to up level network (WAN) via a network cable. So the computer is external from the asus wireless router (LAN). Whenever I want to access the adguardHome dashboard I have to switch to wifi which has wifi routers internal ip.

I wonder if there is a setting to let the dashboard (http://router-ip:14711) be accessible from it WAN ip?

jumpsmm7 commented 2 years ago

Yes you can enable WAN access, but you will have to setup the necessary IPtable rules your self. An example of such rule is:

iptables -I INPUT -p tcp -m tcp --dport 14711 -j ACCEPT

While such is possible, this is highly discourage for the security implications it imposes. You would place this rule in a firewall-start script within JFFS. This is placed on your end to configure because the only aim of this script is to "install" adguardhome on asuswrt-merlin firmware asus routers.

geneliu commented 2 years ago

Thank you!!