PHP script to control multiple AGHome instances #4587
Bluscream
started this conversation in
Show and tell
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I wanted to have a bit more redundance, so i am running AGHome on 2 devices and set my router to use both of them.
I also wanted to use rewrites as some kind of static IP replacement because static IPs don't always work like i want them to.
So i needed to come up with some script that will let me update rewrite rules on multiple AGHome instances, and here it is (in PHP, sorry)
It requires the AGHome PHP library that you can generate yourself with https://github.com/AdguardTeam/AdGuardHome/blob/master/openapi/openapi.yaml and https://app.swaggerhub.com/apis/bluscream3/adguardhome/0.107 or just get mine at https://github.com/Bluscream/adguardhome-php
Beta Was this translation helpful? Give feedback.
All reactions