Use to forward multicast DNS packet.
For example, you can control smart devices outside without HomePod, iPad and AppleTV.
But you still need a LAN environment that can connect to your home network.
Just forward multicast DNS packet to remote LAN.
- Clone this
- Select domains you want to forward
- Edit source config in
src/config.rs
pub fn get_filter_domains() -> Vec<String> {
vec![
"_homekit._tcp.local".into(),
"_hap._tcp.local".into(),
"_googlecast._tcp.local".into()
]
}
- Run Server
cargo run server -a ip:port -i interface
- Run Client
cargo run client -a ip:port -i interface
In fact, there are no Server and Clients, query and answer packet forward to each peer.