netbirdio / netbird

Connect your devices into a single secure private WireGuard®-based mesh network with SSO/MFA and simple access controls.
https://netbird.io
BSD 3-Clause "New" or "Revised" License
9.81k stars 426 forks source link

Route via FQDN #2028

Open ez1976 opened 1 month ago

ez1976 commented 1 month ago

Hello. since the route entries are done via network range, i was wondering if it is possible to add also via FQDN. for example i need to route cloudflare ip via netbird (since we have sites that allow only access from our Office IP). so either add all the ip of cloudflare + WARP (which is a very very long list), or maybe can use the internal DNS of netbird and have it populate to the clients that if "netbird client" (AKA laptop) accesses cloudflare FQDN -> resolves to a site that is hosted on cloudflare -> route via netbird

its a long shot since no one can do that on traditional firewalls or SSL VPN but though i would ask

taylorwilsdon commented 1 month ago

I believe this is already in review here! https://github.com/netbirdio/netbird/pull/1943

ez1976 commented 1 month ago

Hi thanks for your reply. what i mean is that we have websites that are using amazon edge via cloudfront. according to these , they have about 9280 different IP and ranges. if i could just add our website FQDN and then netbird will be able to route that website via netbird instead of adding 9200 routes to netbird. thanks

https://ip-ranges.amazonaws.com/ip-ranges.json

Message ID: @.***>