Home
Help
Search
Login
Register
OPNsense Forum
»
English Forums
»
Web Proxy Filtering and Caching
(Moderator:
fabian
) »
web filtering
« previous
next »
Print
Pages: [
1
]
Author
Topic: web filtering (Read 3706 times)
cnicules
Newbie
Posts: 2
Karma: 0
web filtering
«
on:
October 23, 2021, 08:08:54 pm »
Hello,
i want to filter specific websites only to some IPs. for ex: youtube,facebook ....
i tryed with web proxy and firewall rules + alias fqdn.
i can not make it work.
it's supposed to work?
Cheers,
Ciprian
Logged
cnicules
Newbie
Posts: 2
Karma: 0
Re: web filtering
«
Reply #1 on:
October 23, 2021, 09:03:47 pm »
hmm got bitten by nat order
nat is first, then filtering.
so my solution is a mix of firewall filter by fqdn and transparent web proxy (to have a way to collect the fqdn's).
- the web proxy is normal, no blacklist
- create one alias with the fqdn i need to block
- the nat rule for transparent proxy, is changed to do nat to all traffic except destination to my alias
- then the filter rule drop the traffic toward my alias
- and offcourse the nat can be done also by source IP
now kids have no escape
mhuhahahaha mwuhahahaha
Cheers,
Logged
Print
Pages: [
1
]
« previous
next »
OPNsense Forum
»
English Forums
»
Web Proxy Filtering and Caching
(Moderator:
fabian
) »
web filtering