Creates a way to proxy bonjour services across subnets without broadcast access between them.
Place a services.toml
file within the directory of the binary (/app
with docker).
An example of it is here:
[[proxyservice]]
name = "ecobee"
servicetype = "_hap._tcp"
domain = ""
port = 1200
host = "ecobee"
ip = "192.168.0.1"
textdata = [
"MFG=ecobee Inc."
]
You can have multiple proxyservice entries within the service definition, they will all be proxied by this one process
This project uses multiarch builds for docker to create images for different platforms. They can be accessed normally via the docker hub. I personally use this on a raspberry pi running home assistant.
An example:
docker run -itd \
--restart=always \
--net=host \
--name=bonjourproxy \
-v /mnt/data/supervisor/share/bonjourproxy/services.toml:/app/services.toml:ro \
antoniomika/bonjourproxy:latest
This project supports builds for arm and amd64 hosts, which can be found here.
Usage of bonjourproxy
-services string
The config file defining services to proxy (default "services.toml")