Configure squid to listen on any IP address with port 80


 
Thread Tools Search this Thread
Special Forums IP Networking Configure squid to listen on any IP address with port 80
# 1  
Old 11-08-2011
Configure squid to listen on any IP address with port 80

Hi,

I am trying to configure a transparent squid cache. When I try to use the below option in squid.conf, squid listens on port 80 only for the IP address configured on the system's interface.

http_port 80 transparent

But I want squid to accept connections for any IP address on port 80.
I don't want to bind any specific IP address. It should listen to all IP addresses.

Could anyone let me know how this can be done?
# 2  
Old 11-08-2011
Even if you could configure squid to listen to all addresses it wouldn't work, as only that traffic directed at it would reach it anyways. That's what routers and switches do. A transparent proxy is usually done by redirecting, on the firewall, all client traffic to the proxy. The client still doesn't see it.
# 3  
Old 11-08-2011
Thanks for your reply.

I am actually redirecting all the traffic to the squid cache without changing the Destination IP to achieve full transparency. But the squid doesn't respond to the traffic since it is listening on the IP s configured on the interface.

So I would like to know how to make the squid listen on any IP.
# 4  
Old 11-08-2011
Internet Protocol doesn't work that way. If you want them to connect to SQUID, redirect them into SQUID.

You won't get "full transparency" anyway because squid remains the only thing making outgoing connections to the destination server, not the client.

Last edited by Corona688; 11-08-2011 at 02:48 PM..
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. HP-UX

What is the Listen Address of my process ?

Hi, We cant set the listen address of my java process to the IP address or any of the DNS names listen in the hosts file of the server. We can access the resources of the pid in the web browser through http://<IP / DNS>:port/console Based on the pid, how can we find what is the listen... (6 Replies)
Discussion started by: mohtashims
6 Replies

2. Solaris

Listen given port

Good morning! I would like to test a particular port in Solaris, to see if the firewall rules are ok. Should I install an application, but as yet I have not, have to force solaris to keep an open door, and put any application listening to port 1099, and will test a terminal connectivity via... (5 Replies)
Discussion started by: poyato
5 Replies

3. Linux

how to configure Squid with ONE Network Card for cache and proxy

hello all, how i can configure Squid with ONE Network Card for cache and proxy as shown in image attached. (1 Reply)
Discussion started by: jazaib92
1 Replies

4. Solaris

to configure ip address

i have installed solaris 10 on my vmware..please tell me how i can configure ip addres and other things so that i can use internet (2 Replies)
Discussion started by: shekhar_4_u
2 Replies

5. Shell Programming and Scripting

configure from address in mailx command

Hi, I need to configure customized from address in mailx command. Can you pls tell me the option for configuring from address. Thanks Latika (9 Replies)
Discussion started by: latika
9 Replies

6. Emergency UNIX and Linux Support

Configure Squid to use LDAP group auth to deny internet access

Hi all We have squid-2.5.STABLE11-3.FC4 running in our environment. LDAP authentication works fine. Active Directory 2003 Users are prompted to enter credentials every time they access the net. The system works perfectly, but I need to configure Squid to block users in a specific AD group.... (1 Reply)
Discussion started by: wbdevilliers
1 Replies

7. Shell Programming and Scripting

Program to listen a port

I need to launch a script as soon as a file comes via a specified port on my system from another system. Program should work as a dameon and should invoke only when port start/stop accepting file. Any idea how to program/script it... Please no suggestions for cron. Thanks in advance. (1 Reply)
Discussion started by: sumitwa
1 Replies

8. Solaris

How to Configure a Static Ip Address

Hello friend, I am new in UNIX, but I want to learn a lot Well I have a problem to try to configure my PC with a static IP Address (IP 192.168.1.39, Mask 255.255.255.0, gateway 192.168.1.1) (DNS 200.48.225.130 and 200.48.225.146). where are the file that I must be change? The SO is Sun Solaris... (15 Replies)
Discussion started by: andresguillen
15 Replies

9. UNIX for Advanced & Expert Users

How to configure squid completely anonymous?

Hello, I have installed squid manually , it works fine, I can able to brows internet via SSH tunnel . but I have a problem : when I check my IP via this SSH tunnel with Geolocation IP Address to Country City Region Latitude Longitude ZIP Code ISP Domain Name Database for Developers |... (0 Replies)
Discussion started by: globalvpn
0 Replies

10. IP Networking

trying to configure DNS address in Solaris

hi to all. I'm trying to use the sendmail command to generate some reports and I cant use it. The mails i try to send simply won't go out, instead I receive a response from the system sayng that the host is unknown. I think the problem is in the DNS configuration (or the IMAP/SMTP servers). ... (3 Replies)
Discussion started by: ldrojasm
3 Replies
Login or Register to Ask a Question