Home
Help
Search
Login
Register
OPNsense Forum
»
English Forums
»
General Discussion
»
How do you authorize only certain websites and block everything else?
« previous
next »
Print
Pages: [
1
]
Author
Topic: How do you authorize only certain websites and block everything else? (Read 1540 times)
x11xgr
Newbie
Posts: 3
Karma: 0
How do you authorize only certain websites and block everything else?
«
on:
May 27, 2023, 01:26:46 pm »
Hello everyone,
I'm a new user of this forum...
I need to limit the access of some client workstations to about ten websites :
- I've created an alias "Limited_Client" with 10 ip addresses (192.168.11.101 > 192.168.11.110)
- Another alias "Allowed_URL" with a dozen urls (google.ch, google.com, eset.com, microsoft.com, etc...)
- 2 Firewall-Rules-Lan rules:
- Allow, IN, source "Limited_Client", destination "Allowed_URL".
- Block, IN, source "Limited_Client", destination ! LAN net (Destination/Invert)
This works for a few "normal" sites, but the response time is slow, 3 to 5 seconds!
Impossible to reach google.com and eset.com among others!
How can I "filter" client workstations limited to certain sites and leave Internet access free for other client workstations?
I hope I've been precise enough.
Thanks in advance for your advice.
Logged
bartjsmit
Hero Member
Posts: 2016
Karma: 194
Re: How do you authorize only certain websites and block everything else?
«
Reply #1 on:
May 27, 2023, 04:49:20 pm »
Most of your destinations are notorious for sending the client to telemetry sites which fall outside your allowed ranges.
Stop the DNS lookups at source with a blocker (Pi-Hole, AdGuard, etc.) and consider running a web proxy to give you more control over the URL filtering.
Put the limited workstations on their own VLAN to prevent them masquerading as 'normal' workstations.
Bart...
Logged
x11xgr
Newbie
Posts: 3
Karma: 0
Re: How do you authorize only certain websites and block everything else?
«
Reply #2 on:
June 12, 2023, 12:15:10 pm »
Thank you for the tips, i try this and give a feedback.
Have a nice day.
Best regards
Xavier
Logged
Print
Pages: [
1
]
« previous
next »
OPNsense Forum
»
English Forums
»
General Discussion
»
How do you authorize only certain websites and block everything else?