Protocol: TCP Source IP: LAN Source port: ANY Destination IP: ANY Destination port: 80 Action: DNAT to serverip:port, or alternatively REDIRECT to porxy port You can find iptables rule templates in the Squid FAQ. I can not help you with the GUI tool you are using as I have never seen it or used it, and from what I have read Guarddog DOES NOT support NAT or even port forwarding. Regards Henrik On fre, 2008-06-06 at 11:42 +0530, Kirtimaan wrote: > Henrik, > > Thanks for reply, can you please provide me the rule which I have to add > at (NAT:s). > > Regards, > Kirtimaan > > Henrik Nordstrom wrote: > > On tor, 2008-06-05 at 11:37 +0530, Kirtimaan wrote: > >> On squid box, there is a utility Guarddog used for port forwarding. So > >> it forward all traffic on port 80 to Squid port 3128. > > > > I'd say your problem is here. You have port forwarded port 80 on the > > server itself to port 3128 on the server itself. Same as configuring > > Squid to listen on port 80 directly. > > > > What you need is a rule which intercepts (NAT:s)any outgoing traffic to > > port 80 on servers out on the Internet and redirect these to Squid. This > > is different from port 80 on the server itself. > > > > Regards > > Henrik > > > > > >