Butterfly Bones

Very Senior Member
darkstat may be of interest to you: https://unix4lyfe.org/darkstat/
Install it trough Entware, then use <router IP>:667 to access it.
Change /opt/etc/init.d/S54darkstat to the desired interface:
Code:
From:
ARGS="-i ppp0 --chroot /opt/var/empty --syslog"
To:
ARGS="-i br0 --chroot /opt/var/empty --syslog"
This is interesting. Be warned, if you are the inquisitive geek, it opens the door to a sinuous. deep rabbit hole! :p :oops:
 

SomeWhereOverTheRainBow

Part of the Furniture
Mine is still on xxx.xxx.xx.3


Sent from my iPhone using Tapatalk
I am using Option Lan Blocking IP with pixelserv-tls on RPI. (No real noticeable difference)
If any one is interested in trying out Lan blocking IP option, if you have a RPI with latest Rasbian( Debian 10) on it you can incorporate the latest pixelserv-tls 2.3.1 on it using instructions provided here:
https://github.com/jumpsmm7/pixelserv-tls_2.3.1-1_armhf.deb
As I will be trying to continuously maintain a Raspbian branch for Pixelserv-tls. An issue tracker is found here https://github.com/kvic-z/pixelserv-tls/issues/32 if any one tries it and wants to report issues.

I have ran Lan blocking IP option for over a month, first built with @jackyaz fork and now with 2.3.1 and have no issues to report.
 

SwarleyAUS

New Around Here
Hi guys,

Complete novice with this methodology of adblocking, looking for some help with Diversion. I seem to have two separate issues:

1) Using custom DNS Servers (in WAN DNS Settings pane) seems to break the adblocking somewhat (some sites ads are blocked, some are still shown) despite following the instructions on the Diversion website for using Google's DNSs. Is this a known issue? Would like to be able to use a Google DNS but not a big deal if I can't.
2) When ads are blocked, as you can see in the attached picture (Capture.png), the banners are not hidden/1 pixel in size (or white space on mobile). Is there any way to fix this? I assume this is a pixelserv-tls issues so have attached its stats after a few minutes (Capture1) and nslookup results (Capture2).

Capture.PNG Capture1.PNG Capture2.PNG

Any help is much appreciated. Cheers.

Taylor
 

Treadler

Very Senior Member
Hi guys,

Complete novice with this methodology of adblocking, looking for some help with Diversion. I seem to have two separate issues:

1) Using custom DNS Servers (in WAN DNS Settings pane) seems to break the adblocking somewhat (some sites ads are blocked, some are still shown) despite following the instructions on the Diversion website for using Google's DNSs. Is this a known issue? Would like to be able to use a Google DNS but not a big deal if I can't.
2) When ads are blocked, as you can see in the attached picture (Capture.png), the banners are not hidden/1 pixel in size (or white space on mobile). Is there any way to fix this? I assume this is a pixelserv-tls issues so have attached its stats after a few minutes (Capture1) and nslookup results (Capture2).

View attachment 20339 View attachment 20340 View attachment 20341

Any help is much appreciated. Cheers.

Taylor


Welcome to the forum!

Set the DNS of your choice, Google, Cleanbrowsing, Quad9, whatever. Set under Wan, (& IPv6 if applicable).
Or, via Dns privacy - DoT, use the preset/s of your choice.

Then go to,

LAN> DNS Filter > Enable dns based filtering. Global Filter Mode = Router. All Custom user defined dns fields set to ‘blank’.
This will ensure what you have set as Wan dns (or DoT) is enforced.

Pixelserv 2.3.0 set up detail here:
https://www.snbforums.com/threads/diversion-the-router-ad-blocker.48538/page-186#post-516424

This should hopefully turn your router into an ad blocking machine!
 

loady

Senior Member
Still getting ads on laptop but not on handset, i have ovpn running on my router and can access it remotley from both, diversion works on the handset but not on the laptop, both connected via ovpn, i have installed the crt many times in the correct location for local machine, any ideas why this is ? Tested using okla speedtest, loads of ads on it, when using my handset, no ads at all, when on the laptop all the Ad choices ads show
 

unclebuk

Senior Member
Welcome
This is Diversion - the Router Ad-Blocker for Asuswrt-Merlin


All install and update info are on the Diversion website.

November 16, 2019
Diversion 4.1.6 is now available
See the Diversion website or this post for the change log.

Diversion is free to use under the GNU General Public License version 3 (GPL-3.0).
If you like Diversion and find it useful, you can help it's further development with a donation.
Thank you!

Diversion is interactive. To start the Diversion UI after installation, use
Code:
diversion
For quick operation options without starting the UI, use
Code:
diversion help
to make yourself familiar with the available options.

Welcome
This is Diversion - the Router Ad-Blocker for Asuswrt-Merlin


All install and update info are on the Diversion website.

November 16, 2019
Diversion 4.1.6 is now available
See the Diversion website or this post for the change log.

Diversion is free to use under the GNU General Public License version 3 (GPL-3.0).
If you like Diversion and find it useful, you can help it's further development with a donation.
Thank you!

Diversion is interactive. To start the Diversion UI after installation, use
Code:
diversion
For quick operation options without starting the UI, use
Code:
diversion help
to make yourself familiar with the available options.

Hello,

I am tring to add many domains to the blacklist, is there a way to copy/paste a long list of domains to the blacklist or must all blacklist entries be done one by one?

Thanks,
bUk
 

SomeWhereOverTheRainBow

Part of the Furniture
Hello,

I am tring to add many domains to the blacklist, is there a way to copy/paste a long list of domains to the blacklist or must all blacklist entries be done one by one?

Thanks,
bUk
if you have Winscp and gpedit
or
if you ssh into the terminal and /cd to the blacklist location
you can always copy and paste the list straight to it, but then you have to access diversion menu and process the new list.
you can only add a thousand.
 

unclebuk

Senior Member
if you have Winscp and gpedit
or
if you ssh into the terminal and /cd to the blacklist location
you can always copy and paste the list straight to it, but then you have to access diversion menu and process the new list.
you can only add a thousand.
Ok...thanks.
I need to cd to a "location" as in a file with all the domains? And, what is the "process" Item 3-"process blacklist"?
Also, How can I make a backup of the blacklist and where is it stored?

1. Add domain
2. Delete domain
3. Process blacklist
4. Sort and verify blacklist
5. Restore blacklist from backup
6. Set domain active / inactive (#! )
7. Use hosted blacklist

Much obliged, regards,
Buk
 

SwarleyAUS

New Around Here
Welcome to the forum!

Set the DNS of your choice, Google, Cleanbrowsing, Quad9, whatever. Set under Wan, (& IPv6 if applicable).
Or, via Dns privacy - DoT, use the preset/s of your choice.

Then go to,

LAN> DNS Filter > Enable dns based filtering. Global Filter Mode = Router. All Custom user defined dns fields set to ‘blank’.
This will ensure what you have set as Wan dns (or DoT) is enforced.

Pixelserv 2.3.0 set up detail here:
https://www.snbforums.com/threads/diversion-the-router-ad-blocker.48538/page-186#post-516424

This should hopefully turn your router into an ad blocking machine!

Thanks for the quick response. Checked those settings and updated to 2.3.0 but no change. Ads are still greyed out or whitespace still exists where they should be. Do my Diversion stats look nominal?

Capture.PNG


Cheers,

Taylor
 

Treadler

Very Senior Member
Thanks for the quick response. Checked those settings and updated to 2.3.0 but no change. Ads are still greyed out or whitespace still exists where they should be. Do my Diversion stats look nominal?

View attachment 20359

Cheers,

Taylor

Were you able to import & save a certificate in each client device ok?

Re stats, I would give it a few days & see how they ramp up (or not).

For what it’s worth, depending on the site I get grey space/white space sometimes......
 

martinr

Part of the Furniture
Still getting ads on laptop but not on handset, i have ovpn running on my router and can access it remotley from both, diversion works on the handset but not on the laptop, both connected via ovpn, i have installed the crt many times in the correct location for local machine, any ideas why this is ? Tested using okla speedtest, loads of ads on it, when using my handset, no ads at all, when on the laptop all the Ad choices ads show
Have you set global filter mode to Router as in the post above yours?


https://www.snbforums.com/threads/diversion-the-router-ad-blocker.48538/page-223#post-533586
 

SwarleyAUS

New Around Here
Were you able to import & save a certificate in each client device ok?

Ok after a bit of googling as to what you meant, yes I believe I have done this (installed ca.crt from 192.168.1.2) on my PC and android phone. No change. Guess I'll have to live with white space *shrugs*

Just so I'm clear, pixelserv should be 'hiding' these ads/banners completely right?

Cheers
 

Treadler

Very Senior Member
Ok after a bit of googling as to what you meant, yes I believe I have done this (installed ca.crt from 192.168.1.2) on my PC and android phone. No change. Guess I'll have to live with white space *shrugs*

Just so I'm clear, pixelserv should be 'hiding' these ads/banners completely right?

Cheers

Re certificates: yes, import, & save in the client device’s certificate store/repository.

Ads should pretty much all be blocked by Diversion/Pixelserv.
With some sites, you will see where the blocked ads would have been if they weren’t blocked. (Placeholders?).
Other sites are just pristine ad free. YMMV.:)
 

SwarleyAUS

New Around Here
Re certificates: yes, import, & save in the client device’s certificate store/repository.

Ads should pretty much all be blocked by Diversion/Pixelserv.
With some sites, you will see where the blocked ads would have been if they weren’t blocked. (Placeholders?).
Other sites are just pristine ad free. YMMV.:)

Cheers for the help mate.
 

loady

Senior Member
Last edited:

jrmwvu04

Very Senior Member
Ok after a bit of googling as to what you meant, yes I believe I have done this (installed ca.crt from 192.168.1.2) on my PC and android phone. No change. Guess I'll have to live with white space *shrugs*

Just so I'm clear, pixelserv should be 'hiding' these ads/banners completely right?

Cheers
Diversion/pixelserv will remove the banners, yes. Remove the white space, no. All they do is block connections to domains, they don’t modify the html inline. You’ll need a browser extension or similar to do that.
 

SwarleyAUS

New Around Here
Diversion/pixelserv will remove the banners, yes. Remove the white space, no. All they do is block connections to domains, they don’t modify the html inline. You’ll need a browser extension or similar to do that.

Ah dang. So basically a bespoke application on each device is the ideal solution for complete ad blocking?
 

donduck

Occasional Visitor
I'm a complete noob at this - I suppose you need some technical knowledge to get this going: I tried following the instructions on Diversion.ch but I don't know the smaller details on how to run the scripts in Notepad++. I suppose there are specific settings I need to make in the router to get the SSH Terminal running. I've made the following changes in the router:
1) Enable JFFS custom scripts and configs: Yes
2) Enable SSH: LAN + WAN

I want to format my USB stick using the script for the SSH Terminal first but I don't know how! :(
 

PeterR

Regular Contributor
I'm a complete noob at this - I suppose you need some technical knowledge to get this going: I tried following the instructions on Diversion.ch but I don't know the smaller details on how to run the scripts in Notepad++. I suppose there are specific settings I need to make in the router to get the SSH Terminal running. I've made the following changes in the router:
1) Enable JFFS custom scripts and configs: Yes
2) Enable SSH: LAN + WAN

I want to format my USB stick using the script for the SSH Terminal first but I don't know how! :(

I assume that you're using a Windows PC to access your router. You need a SSH client on your PC, PuTTY is a popular choice - https://www.chiark.greenend.org.uk/~sgtatham/putty/ . Download, install and run PuTTY. Enter the ip address of your router, PuTTY defaults to SSH on port 22. Click on the 'Open' button, your should get a window with a 'login as:' prompt, enter the user name/password you've set for router admin. Then follow the Diversion website instructions.

Also look at amtm on the diversion.ch website, it can install several scripts that will assist you to format a USB drive, create swap space, etc.
 

Mutzli

Very Senior Member
I'm a complete noob at this - I suppose you need some technical knowledge to get this going: I tried following the instructions on Diversion.ch but I don't know the smaller details on how to run the scripts in Notepad++. I suppose there are specific settings I need to make in the router to get the SSH Terminal running. I've made the following changes in the router:
1) Enable JFFS custom scripts and configs: Yes
2) Enable SSH: LAN + WAN

I want to format my USB stick using the script for the SSH Terminal first but I don't know how! :(
Get an SSH terminal first, Windows Terminal from the Windows 10 Store works great. Login to your router by using port 22 (unless you changed that which I recommend doing). Type the following line at the console prompt without the parenthesis: [[email protected] -p 22]

Start by installing AMTM first:
curl -Os https://diversion.ch/amtm/amtm && sh amtm
Type amtm at the console prompt to start the script
Now you can format the USB drive with command fd
choose any of the suggested file systems (read more about file systems over here https://github.com/RMerl/asuswrt-merlin/wiki/Disk-formatting)
After that's done you can install Diversion and Skynet by following the instruction posted when running the install scripts.

FYI for safety reasons don't turn SSH WAN access on. Just use LAN
 

Latest threads

Sign Up For SNBForums Daily Digest

Get an update of what's new every day delivered to your mailbox. Sign up here!
Top