Search squid archive

tcp_outgoing_address with user authentication

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hiya,

I am attempting to setup Squid to be able to use a specific IP address on
our system depending on their authentication file.

For example we have 5 IP Addresses:

10.0.0.1
10.0.0.2
10.0.0.3
10.0.0.4
10.0.0.5

And each IP will have its own basic authentication password file (NCSA?). So
how can I set it up so if you are authenticated by a particular file it will
let you use the specific IP (or at least allow/disallow specific users from
a specific IP?)

For Example:

acl authentication_1 /usr/etc/passwords/squid/group1passwds
acl authentication_2 /usr/etc/passwords/squid/group2passwds
acl authentication_3 /usr/etc/passwords/squid/group3passwds
acl authentication_4 /usr/etc/passwords/squid/group4passwds
acl authentication_5 /usr/etc/passwords/squid/group5passwds
tcp_outgoing_address 10.0.0.1 authentication_1
tcp_outgoing_address 10.0.0.2 authentication_2
tcp_outgoing_address 10.0.0.3 authentication_3
tcp_outgoing_address 10.0.0.4 authentication_4
tcp_outgoing_address 10.0.0.5 authentication_5

Am not sure of the correct syntax or if this is even possible.  Any help
would be greatly appreciated.  If this particular method is not possible can
someone suggest a possible way in which to route certain users to a specific
tcp_outgoing_address without using an IP range from which they came from?

Regards,

Shadi Almosri


[Index of Archives]     [Linux Audio Users]     [Samba]     [Big List of Linux Books]     [Linux USB]     [Yosemite News]

  Powered by Linux