Quote from: chropnsense on January 27, 2022, 06:43:26 PMHi,
I'm also wondering, if this is possible or not (in pfSense it is not it seems). I just got the task to evaluate OPNSense and this is more or less a show stopper, if not possible to e.g. allow only MS Updates based on wildcard DNS:
https://docs.microsoft.com/en-us/windows-server/administration/windows-server-update-services/deploy/2-configure-wsus#211-connection-from-the-wsus-server-to-the-internet
http://windowsupdate.microsoft.com
http://*.windowsupdate.microsoft.com
https://*.windowsupdate.microsoft.com
http://*.update.microsoft.com
https://*.update.microsoft.com
http://*.windowsupdate.com
http://download.windowsupdate.com
https://download.microsoft.com
http://*.download.windowsupdate.com
http://wustat.windows.com
http://ntservicepack.microsoft.com
http://go.microsoft.com
http://dl.delivery.mp.microsoft.com
https://dl.delivery.mp.microsoft.com
Windows update here only as an example (could use WSUS), but also other use cases where need to allow CDN type *.domain.com
Edit: if not out-of-the-box possible, would it be possible to use cron and dnsmasq to poll through a list say once an hour (if that wildcard doesn't need to be resolved real time) and then use that IP list in an alias or similar?
[OPNsense\Quagga\OSPF:interfaces.interface.12acf5f9-e33e-4482-8092-fa1035437f35.interfacename] Option [] not in list.{openvpn}
[OPNsense\Quagga\OSPF:interfaces.interface.e840ea08-c93f-4993-858b-0415c64a79a1.interfacename] Option [] not in list.{wireguard}
Model OPNsense\Quagga\OSPF can't be saved, skip ( OPNsense\Base\ValidationException: [OPNsense\Quagga\OSPF:interfaces.interface.12acf5f9-e33e-4482-8092-fa1035437f35.interfacename] Option [] not in list.{openvpn}
[OPNsense\Quagga\OSPF:interfaces.interface.e840ea08-c93f-4993-858b-0415c64a79a1.interfacename] Option [] not in list.{wireguard}
in /usr/local/opnsense/mvc/app/models/OPNsense/Base/BaseModel.php:821
Stack trace:
#0 /usr/local/opnsense/mvc/app/models/OPNsense/Base/BaseModel.php(946): OPNsense\Base\BaseModel->serializeToConfig()
#1 /usr/local/opnsense/mvc/script/run_migrations.php(69): OPNsense\Base\BaseModel->runMigrations()
#2 {main} )
Failed OPNsense\Quagga\OSPF from 1.1.0 to 1.1.5