Home
Help
Search
Login
Register
OPNsense Forum
»
English Forums
»
General Discussion
»
[SOLVED] Adblocking as easy as on OpenWRT
« previous
next »
Print
Pages: [
1
]
Author
Topic: [SOLVED] Adblocking as easy as on OpenWRT (Read 7720 times)
minime
Newbie
Posts: 32
Karma: 6
[SOLVED] Adblocking as easy as on OpenWRT
«
on:
April 24, 2016, 05:39:36 pm »
Hi,
First, sorry for the provocative title of my post, but it got your attention, isn't it? :-)
I'm looking for something like this:
https://github.com/teffalump/adblock
Which is incredible easy to handle.
I know there is Squid, but it's not as easy to handle as the referred above, I think, or do i miss something?
Many thanks!
«
Last Edit: May 05, 2016, 03:28:09 pm by minime
»
Logged
fabian
Hero Member
Posts: 2769
Karma: 200
OPNsense Contributor (Language, VPN, Proxy, etc.)
Re: Adblocking as easy as on OpenWRT
«
Reply #1 on:
April 24, 2016, 07:28:34 pm »
There is a how to in the docs about filtering using the proxy:
https://docs.opnsense.org/manual/how-tos/proxywebfilter.html
Logged
minime
Newbie
Posts: 32
Karma: 6
Re: Adblocking as easy as on OpenWRT
«
Reply #2 on:
April 24, 2016, 08:43:00 pm »
Yes, thanks, I saw that too, but this makes the use of Proxy settings neccessary, right? I don't want to touch the clients. I just want OPNsense to filter. Do I misunderstand?
Logged
DokuKäfer
Jr. Member
Posts: 83
Karma: 15
Re: Adblocking as easy as on OpenWRT
«
Reply #3 on:
April 24, 2016, 09:18:50 pm »
You must use transparent proxy
«
Last Edit: April 24, 2016, 09:26:06 pm by DokuKäfer
»
Logged
minime
Newbie
Posts: 32
Karma: 6
Re: Adblocking as easy as on OpenWRT
«
Reply #4 on:
April 24, 2016, 09:25:19 pm »
Thanks, will try that. Do I need to do follow step 6, too?
Logged
DokuKäfer
Jr. Member
Posts: 83
Karma: 15
Re: Adblocking as easy as on OpenWRT
«
Reply #5 on:
April 24, 2016, 09:32:18 pm »
I think this is not the right how to for you.
@Fabian can you tell more about transparent proxy? Is this the right howto for his claims?
https://docs.opnsense.org/manual/how-tos/proxytransparent.html
Logged
fabian
Hero Member
Posts: 2769
Karma: 200
OPNsense Contributor (Language, VPN, Proxy, etc.)
Re: Adblocking as easy as on OpenWRT
«
Reply #6 on:
April 25, 2016, 06:37:38 am »
A transparent proxy does not need any configuration on the client.
When the proxy runs in transparent mode, depending on your configuration, any connection to port 80 (HTTP) and / or 443 (HTTPS) will be redirected to the proxy by a firewall rule.
OPNsense has a template for those rules, so you just have to click the link in the help texts.
In case you enable the transparent mode, step 6 in the Web Filtering How To is not required.
Instead you should use the link DokuKäfer provided.
Regards
Fabian
«
Last Edit: April 25, 2016, 06:43:06 am by fabian
»
Logged
minime
Newbie
Posts: 32
Karma: 6
Re: Adblocking as easy as on OpenWRT
«
Reply #7 on:
April 25, 2016, 08:37:10 pm »
Many thanks for your help! I will test it and report back (just to complete this thread).
Logged
minime
Newbie
Posts: 32
Karma: 6
[SOLVED] Re: Adblocking as easy as on OpenWRT
«
Reply #8 on:
May 05, 2016, 03:27:47 pm »
It works, but it is not as elegant as the solution I was referring to.
Logged
Print
Pages: [
1
]
« previous
next »
OPNsense Forum
»
English Forums
»
General Discussion
»
[SOLVED] Adblocking as easy as on OpenWRT