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?
10 More Discussions You Might Find Interesting
1. IP Networking
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
2. UNIX for Advanced & Expert Users
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
3. Solaris
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
4. Shell Programming and Scripting
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
5. Emergency UNIX and Linux Support
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
6. Shell Programming and Scripting
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
7. Solaris
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
8. Linux
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
9. Solaris
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
10. HP-UX
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
LEARN ABOUT DEBIAN
squid3_pam_auth
pam_auth(8) System Manager's Manual pam_auth(8)
NAME
pam_auth - Squid PAM authentication helper
SYNOPSIS
squid_pam_auth [-n "service name"] [-t TTL] [-o] [-1]
DESCRIPTION
This helper allows Squid to connect to a mostly any available PAM database to validate the user name and password of Basic HTTP authentica-
tion.
-s service-name
Specifies the PAM service name Squid uses, defaults to "squid"
-t TTL Enables persistent PAM connections where the connection to the PAM database is kept open and reused for new logins. The TTL speci-
fies how long the connection will be kept open (in seconds). Default is to not keep PAM connections open. Please note that the use
of persistent PAM connections is slightly outside the PAM specification and may not work with all PAM configurations.
-o Do not perform the PAM account management group (account expiration etc)
CONFIGURATION
The program needs a PAM service to be configured in /etc/pam.conf or /etc/pam.d/<servicename>
The default service name is "squid", and the program makes use of the 'auth' and 'account' management groups to verify the password and the
accounts validity.
For details on how to configure PAM services, see the PAM documentation for your system. This manual does not cover PAM configuration
details.
NOTES
When used for authenticating to local UNIX shadow password databases the program must be running as root or else it won't have sufficient
permissions to access the user password database. Such use of this program is not recommended, but if you absolutely need to then make the
program setuid root
chown root pam_auth
chmod u+s pam_auth
Please note that in such configurations it is also strongly recommended that the program is moved into a directory where normal users can-
not access it, as this mode of operation will allow any local user to brute-force other users passwords. Also note the program has not been
fully audited and the author cannot be held responsible for any security issues due to such installations.
AUTHOR
Squid pam_auth and this manual is written by Henrik Nordstrom <hno@squid-cache.org>
COPYRIGHT
Squid pam_auth and this manual is Copyright 1999,2002,2003 Henrik Nordstrom <hno@squid-cache.org>
QUESTIONS
Questions on the usage of this program can be sent to the Squid Users <squid-users@squid-cache.org> mailing list.
REPORTING BUGS
Report bugs or bug-fixes to Squid Bugs <squid-bugs@squid-cache.org> or ideas for new improvements to Squid Developers <squid-dev@squid-
cache.org>
SEE ALSO
pam(8), PAM Systems Administrator Guide
Squid PAM Auth 5 Sep 2003 pam_auth(8)