mirror of
https://github.com/outbackdingo/firezone.git
synced 2026-01-27 18:18:55 +00:00
Don't use any local tun interfaces for WebRTC ICE candidates (#2335)
I was triaging #2163 and realized we probably want to filter _all_ `*tun*` interfaces, not just our own right?
This commit is contained in:
@@ -338,9 +338,7 @@ where
|
||||
move |ip| !resources.read().values().any(|res_ip| res_ip.contains(ip))
|
||||
}));
|
||||
|
||||
setting_engine.set_interface_filter(Box::new({
|
||||
|name| !name.contains("utun") && name != "tun-firezone"
|
||||
}));
|
||||
setting_engine.set_interface_filter(Box::new(|name| !name.contains("tun")));
|
||||
|
||||
let webrtc_api = APIBuilder::new()
|
||||
.with_media_engine(media_engine)
|
||||
|
||||
Reference in New Issue
Block a user