Find the answer to your Linux question:
Results 1 to 2 of 2
guys i installed and configured squid and it's working fine only if i define the proxy and port in every client i have but i want to make transpaent proxy, ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Just Joined!
    Join Date
    Mar 2003
    Posts
    84

    transparent proxy


    guys i installed and configured squid and it's working fine only if i define the proxy and port in every client i have

    but i want to make transpaent proxy, i tryed to implement some solutions that i found n the ent but nothig worked, i added the squid trnasparent settings as mentioned and worked with my firewall rules but it didn't work
    can anyone help me on this issue i will appreciate it thank you

  2. #2
    Just Joined!
    Join Date
    Jun 2006
    Posts
    1

    transparent squid

    in squid.conf write this

    httpd_accel host virtual
    httpd_accel_port 80
    httpd_accel_with_proxy on
    httpd_accel_uses_host_header on
    httpd_accel_single_host off

    and save squid.conf file.

    write these lines in rc.local

    iptables -t nat -A PREROUTING -i eth0 -m tcp -p tcp --dport 80 -j REDIRECT--to-port 3128

    iptables -t nat -A POSTROUTING -o eth1 -j MASQUERADE

    save rc.local file and write

    iptables -F
    iptables -t nat -F
    cd /etc
    ./rc.local


    Regards
    adnan allauddin
    Network Engineer

Posting Permissions

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