Using Tomato to redirect to my internal squid server

Discussion in 'Tomato Firmware' started by SL83, Feb 19, 2010.

  1. SL83

    SL83 Addicted to LI Member

    I've got a squid server running transparently behind my router. Everything works great with it.

    I now want Tomato to forward all requests for unspecified MAC addresses to my squid server.

    I'm running Tomato 1.25.8515 - Victek RAF.

    I've tried following this post to get it to work.

    using these lines:

    iptables -t nat -A PREROUTING -m mac --mac-source YY:YY:YY:YY:YY:YY -p tcp -j ACCEPT

    iptables -t nat -A PREROUTING -p tcp -j DNAT --to-destination ZZZ.ZZZ.ZZZ.ZZZ

    (zzzzzzzzzzzzzzzzz) being my squid server. It doesn't work.

    Setting the squid server manually as a proxy in my web browser settings works - but I want Tomato to handle redirects.

    Any ideas?
  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