Look up and set traffic route IPs based on domains for clients not using the UniFi DNS
Go to file
IamTheFij ea3f26e828
continuous-integration/drone/tag Build is passing Details
continuous-integration/drone/push Build is passing Details
Filter blocked ip addresses
2024-01-05 22:11:57 -08:00
.drone.yml Switch to older plugin because this seems to work on Drone 2023-11-20 09:49:28 -08:00
.gitignore Initial commit 2023-11-19 23:32:15 +00:00
Dockerfile Add the good stuff 2023-11-20 09:31:58 -08:00
LICENSE Initial commit 2023-11-19 23:32:15 +00:00
README.md Add the good stuff 2023-11-20 09:31:58 -08:00
main.py Filter blocked ip addresses 2024-01-05 22:11:57 -08:00
requirements.txt Add the good stuff 2023-11-20 09:31:58 -08:00

README.md

unfifi-traffic-routes-domain-ip

Look up and set traffic route IPs based on domains for clients not using the UniFi DNS

Configuration

Set the following as environment variables

Variable Description Default
UNIFI_HOST Unifi network hostname 192.168.1.1
UNIFI_PORT Unifi network port number 443
UNIFI_USER Unifi username
UNIFI_PASS Unifi pass

The user must have access to Manage the Network application to update the Traffic Routes.