- DrayOS 4, imported, firewall_rule, url_filter, dns_filter, keyword_object, web_access_control
Block most of the websites except for a few only (DrayOS4)
1. Create Keyword Object for the company's homepage: Go to Objects Setting >> Keyword Object, click on an Index number to edit.
- Enter profile Name
- In Contents, enter the keyword of the website's URL of which you would like to pass.
- Click OK to save.
2. Similarly, create another Keyword Object for Google services.
3. Create a URL Filter to pass websites of which URL contains the keyword: Go to CSM > URL Content Filter Profile, click on a profile Index to edit.
- Enter Profile Name.
- Set Priority to "Either: URL Access Control First"
- Enable URL Access Control
- Set URL Access Control Action to "Pass"
- Click Edit and, in the pop-up window, select the Keyword Objects of the URL you would like to pass.
- Click OK to save the profile.
4. Create a DNS Filter profile to filter HTTPS websites: Go to CSM >> DNS Filter Profile, click on a profile number to edit,
- Enter Profile Name.
- Set UCF (URL Content Filter) to the profile created in Step 3.
- Click OK to save.
5. Apply the URL Filter to Firewall Filter Rule: Go to Firewall >> Filter Setup >> Data Filter Set (Set 2), click on a Filter Rule Index to edit.
- Enable this Filter Rule
- Set Direction to "LAN/RT/VPN->WAN."
- (optional) Edit Source IP if you'd like to apply this rule to specific IP range only.
- Set Filter Action to "Pass Immediately"
- Set URL Content Filter to the profile created in Step3
- Click OK to apply
6. After the above configuration, the router will block most of the websites.
However, the websites of which URL contains the specific keywords are still available.
