You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Right now I have AH running on both the external IP and the local IP (127.0.0.1). It works like this
Change IP (if necessary) and ...
Change all ports [port :53 not change] that match the original in
/opt/[Name Dublicate dir AdGuard]/AdGuardHome.yaml
Make a copy of AdGuardHome.service, change the file's name and its contents
/etc/systemd/system/[name your duplicate serivce].service
Further according to the standard, reload daemons
systemctl daemon-reload
systemctl enable [name your duplicate serivce]
/opt/AdGuardHomeLocal/AdGuardHome -s run
systemctl start [name your duplicate serivce]
Verify status:
systemctl status [name your duplicate serivce]
If, as in my case, for a local IP, then we forward the port of the remote machine to our PC
ssh root@[IP remote server] -N -L [remote port]:localhost:[any unused PC local port]
And go to the PC browser
127.0.0.1:[your port]
But there is a small problem, the -s start|stop|etc commands work with the original process. That is, if I have AdGuardHome and AdGuardHomeLocal processes, the AdGuardHomeLocal -s stop command will stop the AdGuardHome process, but not AdGuardHomeLocal.
Is it possible to make it possible to execute commands on both processes separately?
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Right now I have AH running on both the external IP and the local IP (127.0.0.1). It works like this
But there is a small problem, the -s start|stop|etc commands work with the original process. That is, if I have AdGuardHome and AdGuardHomeLocal processes, the AdGuardHomeLocal -s stop command will stop the AdGuardHome process, but not AdGuardHomeLocal.
Is it possible to make it possible to execute commands on both processes separately?
Beta Was this translation helpful? Give feedback.
All reactions