What's new

Script question AIprotection

  • SNBForums Code of Conduct

    SNBForums is a community for everyone, no matter what their level of experience.

    Please be tolerant and patient of others, especially newcomers. We are all here to share and learn!

    The rules are simple: Be patient, be nice, be helpful or be gone!

BreakingDad

Very Senior Member
Regarding the script below the line that dugaduga wrote on another thread, would you have to change the ip (highlighted in bold below) 192.168.50.2 to your routers main ip (I use 192.168.1.1) ? for it to work?

I tried to message him direct, but conversations are off for him.

Also if I was to run this, would it stop the trend micro tracking, whilst still allowing AIProtect etc to still function?

Thanks in advance.

Matt


________________________________


Taken from https://www.snbforums.com/threads/384-6-now-sharing-data-to-trend-micro.48202/page-3


Login to the router, disable Trend Micro malicious websites blocking. Enable /jffs/ scripts under administration/system; winscp into your router

Create / Edit: /jffs/scripts/dnsmasq.postconf

Add:



#!/bin/sh

##########################
#### Block PTR & ARPA ####
##########################

CONFIG=$1
source /usr/sbin/helper.sh
sed -i '$a\ ' $CONFIG
sed -i '$a\################################' $CONFIG
sed -i '$a\#Block Calling home PTR Queries#' $CONFIG
sed -i '$a\################################' $CONFIG
sed -i '$a\ ' $CONFIG
sed -i '$a\##################################################' $CONFIG
sed -i '$a\#Can Speed up Browsing Considerably [UPON REBOOT]#' $CONFIG
sed -i '$a\##################################################' $CONFIG
sed -i '$a\ ' $CONFIG

sed -i '$a\#Success!: Disable all Arpa: https://www.iana.org/domains/arpa' $CONFIG
pc_append "bogus-priv" $CONFIG
pc_append "server=/arpa/" $CONFIG
pc_append "server=/url.trendmicro.com/" $CONFIG

Create/Edit /jffs/scripts/hosts.postconf

add:



#!/bin/sh

#############################################################
#### Block Trendmicro / Asus / Google / Unknown Entities ####
#############################################################

##########################################################
#### Block redundant NXDOMAIN dnsmasq querys and logs ####
##########################################################

# Blocks most repated 10-14 second querys to google
# Blocks All Querys to Asus / Trend Micro
# Blocks Redundant Logging for cleaner logs

#Be sure to ping google.com, and replace IP with what you see, in the first append line (I found the google entry necessary on earlier versions of the firmware, it may be redundant on 384.7-beta1

CONFIG=$1
source /usr/sbin/helper.sh
sed -i '$a\#' $CONFIG
sed -i '$a\## begin of silently block all redundant querys to Google, TrendMicro, and Asus ##' $CONFIG
pc_append "74.125.205.147 google.com" $CONFIG
pc_append "192.168.50.2 fbsv1.trendmicro.com" $CONFIG
pc_append "192.168.50.2 fbsv2.trendmicro.com" $CONFIG
pc_append "192.168.50.2 gslb1.fbs.trendmicro.com.akadns.net" $CONFIG
pc_append "192.168.50.2 rgom10-en.url.trendmicro.com" $CONFIG
 
I'm using the AI Protect full, Adaptive QOS and Parental controls. No issues so far. Loving this router.

I think my next project will be installing flex qos.
 

Similar threads

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