OPNsense Forum

Archive => 20.1 Legacy Series => Topic started by: 555|STi on September 12, 2020, 03:43:27 AM

Title: Allow website and content
Post by: 555|STi on September 12, 2020, 03:43:27 AM
Hello, it's me again.

This time I'm trying to block internet access from one machine except for one site.

Created an alias with all the host IPs of the machines I want to block, and it works. But now I need to allow them to access a website. This website has a lot of other files linked from several domains (javascripts, fonts, etc) and I need them to load without restriction.

Already created another alias with all the domains I know the website links to. But it doesn't work normally, there's something I'm missing, maybe a linked file is linked somwhere else but I can't see it in the browsers developer tools.

Is there any way I can create a rule/alias that allows something like "ALLOW all from domain.tld and his links"?

Thanks in advance.