Results 1 to 4 of 4

Thread: Transparent Proxy squid 2.6

  1. #1
    Juan L. Mera NNTP User

    Default Transparent Proxy squid 2.6

    Good day,

    Squid it's ok with proxy setting, but i need transparent proxy, with http_port 3128 transparent. and iptable - t nat -A PREROUTING -i eth1 -p tcp --dport 80 -j REDIRECT --to-port 3128
    What it's wrong?



    Thanks for your time

    Regards
    Juan L. Mera

  2. #2
    Join Date
    Jun 2008
    Location
    UTC+10
    Posts
    9,683
    Blog Entries
    4

    Default Re: Transparent Proxy squid 2.6

    There are a couple of assumptions in that iptables rule:

    1. The requests are coming in on eth1. So if the browser is on the machine itself, this won't work.

    2. The machine is on the path to the outside world, i.e. it's a router.

  3. #3
    PARN963 NNTP User

    Default Re: Transparent Proxy squid 2.6

    HI !

    And sorry for my english :

    A howto for a squid transparent proxy :

    Linux: Setup a transparent proxy with Squid in three easy steps

    For the firewall you can use SuSEfirewall script and add something like this :

    /etc/sysconfig/SuSEfirewall2

    At 15.)

    FW_REDIRECT="10.0.0.0/8,0/0,tcp,80,3128"

    Tcho !

  4. #4
    carlossg NNTP User

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •