Results 1 to 2 of 2

Thread: Urgent and imp. Making Squid 2.6 stable as tranpsarent proxy

  1. #1

    Urgent and imp. Making Squid 2.6 stable as tranpsarent proxy

    Dear All.
    I wanted to make a request to help from all of you guys.
    Actually i work for an organization, where Squid is used as Transparent proxy,
    Static Ip's have been assigned for the Clients, so here no need for Nating or Masquerading, but just Tranparent proxying is required,
    I have tested Squid 2.6 stable 2 as Tranparent proxy as testing on a single network and it works fine.
    with this configuration
    [http_port transparent
    iptables -t nat -A PREROUTING -i eth0 -p tcp --dport 80 -j REDIRECT --to-port 3128
    echo 1 > /proc/sys/net/ipv4/ip_forward]
    and this works for a single network as Tranparent proxy
    means all clients having Ips [192.168.254.x] use the as gateway and their request is fullfilled,
    but now the demand is that
    the client should use the 192.168.253.x and squid should use the , ie. different Networks [here again, no Nating is required simply tranparent proxy].
    I have created another virtual interface of squid server having ip and forwarded the user's requests to it.
    But it doesn't work , i think there is some problem with the iptalbes.
    [Remember that in the squid 2.5 the tranparent proxy features were
    httpd_accel_host virtual
    httpd_accel_port 80
    httpd_accel_with_proxy on
    httpd_accel_uses_host_header on]
    and these all have been deprecated in the Squid 2.6 stable 2.
    {in the private networks shown above, u can also consider to be subsituted the Real IP, i have replaced them. coz i m still testing it.}

    So, plz help me out for this task.

    Thanks a lot.
    Shoaib Akbar.
    JNE WOL Lahore.

  2. #2
    Try this Squid tutorial.

Similar Threads

  1. Replies: 2
    Last Post: 05-26-2014, 09:12 PM
  2. Help for Squid 3 Proxy
    By ddlinux in forum Linux - Hardware, Networking & Security
    Replies: 3
    Last Post: 04-26-2011, 09:15 PM
  3. need help about squid proxy
    By guozhang in forum Linux - General Topics
    Replies: 1
    Last Post: 12-06-2008, 09:45 PM
  4. Squid PROXY
    By brukutu in forum Windows - General Topics
    Replies: 1
    Last Post: 04-07-2008, 06:31 PM
  5. squid proxy question
    By nisha_kri in forum Linux - General Topics
    Replies: 2
    Last Post: 01-14-2007, 11:15 PM


Posting Permissions

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