User Login

TipidPC.com is the largest online IT Community in the Philippines. Have something to sell or share? Sign up for an account now. It's absolutely free!

Forum Topic

Tomato flashed Dual wan Router from CD-R KING (CW-5356U/CW-5358U) Read Page1

  • guys may idea kung bakit ganito ==>> - 404 - Not Found

    pano ko ba gagamiting adsblock si squid?
  • Mga boss panu i acess yung router natin remotely??tia
  • mga sir need help pls,pano ko po b i-troubleshoot yung tomato ko?

    antaas po kasi ng cpu load,umabot ng 40.5
    nkadisable na usb support nsa 14 pa rin..
    rtorrent at rrd graph lng naman po nkainstall..
  • solution

    problem: - 404 - Not Found


    adblock using squid anyone knows that?
  • @icedbox

    create a acl block list configuration on squid then point it to a single file name it as ad_block
    then sa adblock file, just fill the file with the domains you want to block

    sample to add in congfiguration

    acl blocksite url_regex -i "/opt/etc/squid/url_blacklist"
    http_reply_access deny blocksite localnet
  • @polka

    That was hard! Heh
    First inside squid folder ill create ads_block.conf?
    Inside ads_block.conf that is the command?
    Papano ito dadaan kay squid?
    Can u make a quick tutorial of this? Please!

    -- edited by icedbox2002 on Nov 23 2014, 11:02 AM

    1. create a new file named "blacklisted" under /opt/etc/squid folder
    2. open the blacklisted file and insert the keywords/domains you want to block, each entry should be entered in new line.

    3. edit squid.conf and search "acl all src all" and below that put this line below.

    acl blocksites url_regex -i "/opt/etc/squid/ blacklisted"

    4. edit squid.conf search for "http_access deny manager" line and below that put this line below.

    http_access deny blacklisted

    5. save changes on the config and restart squid. it should be able to block sites you defined now.

    /opt/etc/init.d/S22squid restart

    OR download a pre configured bloclist file this will be saved under your squid folder

    wget -q -O/opt/etc/squid/blocklist 'http://pgl.yoyo.org/as/serverlist.php?hostformat=squid-dstdom-regex;showintro=0&nohtml=true&mimetype=plaintext' > /opt/etc/squid/blocklist

    then in squid.conf just put the lines below

    acl blocksites dstdom_regex "/opt/etc/squid/blocklist"
    http_access deny blocklist

    /opt/etc/init.d/S22squid restart
  • @gadget20

    thnx nakakuha ako ng info
    ginawa ko na BOTH kaso may problem nagloloko yung squid d makapag browse
    para maayos ulit tanggal lang yung 2 command na ininput ko sa squid.conf then restart

    thnx working

    -- edited by icedbox2002 on Nov 23 2014, 03:49 PM

Who's Online

776 active users within the last minute, 420 members, 356 guests.
Our newest member is PCSeller001
Click here to see online members.

Browse Items

More »

Search TipidPC

New Want to Buys

Active Items for Sale

Active Want to Buys