pkg install ca_root_nsspkg install screenpkg install nanopkg install sudo ## AdGuardHome will not install as service without sudo
curl -s -S -L https://raw.githubusercontent.com/AdguardTeam/AdGuardHome/master/scripts/install.sh | sh -s -- -c edge
# fetch -o /usr/local/etc/pkg/repos/mimugmail.conf https://www.routerperformance.net/mimugmail.conf# pkg update# pkg install os-unboundcustom-maxit
server:do-not-query-localhost: noforward-zone: name: "." # Allow all DNS queries forward-addr: 127.0.0.1@5353 forward-addr: ::1@5353
A - # mv /usr/local/etc/rc.d/AdGuardHome /usr/local/etc/rc.d/adguardhome.shB - # nano /usr/local/etc/rc.d/adguardhome.sh
#!/bin/sh. /etc/rc.subrname="adguardhome"rcvar="adguardhome_enable"adguardhome_user="root"adguardhome_command="/opt/AdGuardHome/AdGuardHome"pidfile="/var/run/${name}.pid"command="/usr/sbin/daemon"command_args="-P ${pidfile} -r -f ${adguardhome_command}"load_rc_config $name: ${adguardhome_enable:=yes}run_rc_command "$1"
# chmod 755 /usr/local/etc/rc.d/adguardhome.sh
# touch /etc/rc.conf.d/adguardhome - create the needed new file# nano /etc/rc.conf.d/adguardhome - in the new file enter the following two lines:
# chmod 755 /etc/rc.conf.d/adguardhome
dns: bind_hosts: - 127.0.0.1 - ::1 port: 5353
upstream_dns: - quic://dns.adguard.com:784 - quic://dot-jp.blahdns.com:784 - quic://dot-fi.blahdns.com:784 - quic://dot-sg.blahdns.com:784 - quic://dot-de.blahdns.com:784 - quic://doh.tiar.app:784 - quic://dns.emeraldonion.org:8853 - quic://uk.adhole.org:784 - quic://de.adhole.org:784 - quic://sg.adhole.org:784 - quic://dandelionsprout.asuscomm.com:48582 - quic://dns.arapurayil.com:784 - quic://dns.comss.one:784 - quic://dns.east.comss.one:784 - tls://getdnsapi.net - tls://dns-nyc.aaflalo.me - tls://dns.cmrg.net - tls://dot.ny.ahadns.net - tls://dot.la.ahadns.net - tls://dot.chi.ahadns.net - tls://ordns.he.net - tls://us-east.adhole.org - tls://dns.neutopia.org - tls://dns.digitale-gesellschaft.ch - tls://dot.sb - tls://draco.plan9-ns2.com upstream_dns_file: "" bootstrap_dns: - 1.1.1.2:853 - 1.0.0.2:853 - 2606:4700:4700::1112:853 - 2606:4700:4700::1002:853 all_servers: true
filters:- enabled: true url: https://adguardteam.github.io/AdGuardSDNSFilter/Filters/filter.txt name: AdGuard DNS filter id: 1- enabled: true url: https://badmojr.github.io/1Hosts/Lite/adblock.txt name: 1Hosts (Lite) id: 1635566025- enabled: true url: https://raw.githubusercontent.com/durablenapkin/scamblocklist/master/adguard.txt name: Scam Blocklist by DurableNapkin id: 1625359388- enabled: true url: https://block.energized.pro/basic/formats/hosts.txt name: Energized Basic Protection id: 1625359389- enabled: true url: https://raw.githubusercontent.com/StevenBlack/hosts/master/hosts name: https://github.com/StevenBlack/hosts id: 1625359390- enabled: true url: https://osint.digitalside.it/Threat-Intel/lists/latestdomains.txt name: https://firebog.net/ - OSINT.digitalside.it id: 1625359391- enabled: true url: https://v.firebog.net/hosts/Easyprivacy.txt name: https://firebog.net/ - EasyPrivacy id: 1625359393whitelist_filters:- enabled: true url: https://raw.githubusercontent.com/anudeepND/whitelist/master/domains/whitelist.txt name: https://github.com/anudeepND/whitelist id: 1625359392user_rules: []
a - # /usr/local/etc/rc.d/adguardhome.sh restartb - # /usr/local/etc/rc.d/unbound onestart
/var/etc/acme-client/home//freedom.babybaby.mywire.org/fullchain.cer/var/etc/acme-client/home/freedom.babybaby.mywire.org/freedom.babybaby.mywire.org.key
https://freedom.babybaby.mywire.org:443 - with Encryption Enabled
https://freedom.babybaby.mywire.org:1443
As per this example, Full Domain Name in " Customize Settings " Box see below :freedom.babybaby.mywire.org
Thanks for this detailed installation way!I just used this easy install (in german)https://hoerli.net/opnsense-adguardhome-werbefrei-trackerfrei-und-hinter-einer-guten-firewall/.