Sunday, May 1, 2011

How to Install Squid as Transparent Proxy Server

1 comment:

  1. Dear Mr. Hafiz

    Sir

    Sir

    I have centos 5.4

    eth0 (no ip) connected to internet.
    eth1 192.168.3.1 connetec to lan

    I Have configured transparent proxy using

    http_port 3128 transparent

    and run command from shell

    #iptables -t nat -A PREROUTING -i eth1 -p tcp --dport 80 -j DNAT --to 192.168.3.1:3128

    from windows machine when I configure browser with proxy ip and port
    as 192.168.3.1 and 3128, I can browse, but ehn I configure 192.168.3.1 as gateway and set no proxy, I can not browse.

    please help.

    ReplyDelete