Content
Use any .edns template like this:
- Create a new VM from the template and boot it.
- Wait about 1 to 2 minutes for first-boot setup to finish.
- SSH into the VM with your normal root password.
- Read the generated credentials:
cat /root/AGH-CREDENTIALS.txt
What happens automatically:
- AdGuard Home is installed on first boot
- DNS protection is enabled
- Local DNS is redirected through AdGuard Home
- The web panel is bound to 127.0.0.1:3000
- A random admin username and password are generated
How to open the web panel safely:
ssh -L 3000:127.0.0.1:3000 root@YOUR_SERVER_IP
Then open in your browser:
http://127.0.0.1:3000
Notes:
- The web UI is not exposed publicly by default
- Admin credentials are different on every new VM
- If you do not need the web UI, you can ignore it and just use the VM normally
- If DNS ever breaks, run:
sudo bash /usr/local/sbin/adguardhome_oneclick.sh --rescue