SmallNetBuilder Forums
Go Back   SmallNetBuilder Forums > Wireless Networking > ASUS Wireless > Asuswrt-Merlin

Reply
 
Thread Tools Search this Thread Display Modes
  #61  
Old 11-29-2014, 08:26 PM
waffles waffles is offline
Member
 
Join Date: Mar 2013
Posts: 44
Thanks: 12
Thanked 0 Times in 0 Posts
waffles is just starting out
Default

Quote:
Originally Posted by ryzhov_al View Post
.....
6. Add web traffic interception rule to iptables.

Quote:
Quote:
echo \#!/bin/sh > /jffs/scripts/firewall-start
echo iptables -t nat -A PREROUTING --source 192.168.0.101 -p tcp -m tcp --dport 80 -j REDIRECT --to-ports 3128 >> /jffs/scripts/firewall-start
chmod +x /jffs/scripts/firewall-start
where 192.168.0.101 is an IP address from step above.

Reboot router and check web surfing on chosen device.

If you want to change AdBlock subscriptions, please remove old ones first:

then repeat step #4 only.
I cannot seem to get past this point 6. I am not clear what I need to do. I see the file called 'firewall-start'. It only contains one line:
Quote:
#!/bin/sh
I replaced it with the entire part from what is in quotes above (and updated the IP address to the one for my device).
However after rebooting the router, adblocking still does not work and the the 'firewall-start' file has changed back to the one line from above.

What am I doing wrong??
Reply With Quote
  #62  
Old 11-29-2014, 11:34 PM
waffles waffles is offline
Member
 
Join Date: Mar 2013
Posts: 44
Thanks: 12
Thanked 0 Times in 0 Posts
waffles is just starting out
Default

never mind - I got it to work. Not sure what I did differently though.
Reply With Quote
  #63  
Old 12-02-2014, 03:14 PM
aph aph is offline
New Member
 
Join Date: Nov 2013
Posts: 15
Thanks: 0
Thanked 3 Times in 3 Posts
aph is just starting out
Default

Quote:
Originally Posted by ryzhov_al View Post
Shell script can be used on any platform. You need to find privoxy package for ARM platform.
That was my assumption last time I tried it on optware. I believe there was a syntax error in one of the parsing commands (possibly sed). I will try again and post back with detailed results
Reply With Quote
Reply

Tags
adblock, howto, privoxy, tutorial

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off


All times are GMT -4. The time now is 08:55 AM.


Top 10 Stats
Top Posters* Top Thanked
RMerlin  365
jegesq  117
L&LD  113
john9527  97
huotg01  88
stevech  87
azazel1024  82
htismaqe  75
watusi  65
ColinTaylor  51
RMerlin  6553
john9527  526
stevech  358
ryzhov_al  298
TeHashX  263
L&LD  256
RogerSC  207
sinshiva  150
sfx2000  138
hggomes  137
Most Viewed Threads* Hottest Threads*
Old Asuswrt-Merli...  20995
Old Why not...  9292
Old ASUS RT-N66U...  7214
Old Why ASUS?  2694
Old Remote...  1852
Old OpenVPN...  1839
Old Whats going...  1558
Old The future...  1555
Old Trouble...  1443
Old ASUS RT-N66U...  1356
Old Asuswrt-Merli...  158
Old Why not...  81
Old Remote...  50
Old Whats going...  37
Old CUSTOM/FORK...  27
Old ASUS RT-N66U...  26
Old Extension...  26
Old RT-N66U...  26
Old The future...  26
Old What are the...  25


Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
© 2006-2014 Pudai LLC All Rights Reserved.