Change referer headers and block cookies in a script

Discussion in 'Tomato Firmware' started by brav, Dec 5, 2017.

  1. brav

    brav Addicted to LI Member

    I use this paywall chrome extension https://github.com/njuljsong/wsjUnblock over multiple devices and was wondering if there would be an way to use a firewall script instead so I can have it applied over all devices within my LAN.

    Basically, I need to change the referer headers and block cookies for certain sites. Thanks for all your help!
     
  2. Sean B.

    Sean B. LI Guru Member

    While the firewall ( iptables ) would be used to redirect web traffic, a proxy server is what would handle altering the HTTP traffic itself. I run squid as a transparent proxy for my LAN, although I've compiled a newer version tailored to what I need, there's a package version in the opt/entware repo that would get you up an going.
     
  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice