Search squid archive

external IP from DB

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

 



Hello guys! 
Thank you for your support. 

Could you explain me one more  things:

Case1: 
1. I have a squid 6.2 and a lot of IP addresses on the server (assigned on the virtual dummy interfaces)
2. I use the specific acl policy rules to pass the users with  different  external IP to the internet

For example this is acl like :
                "acl 1.2.3.4  localip 1.2.3.4" 
 and then 
                tcp_outgoing_address 1.2.3.4 1.2.3.4 
That means if to connect to proxy on the  1.2.3.4  you will be passed to the internet with source ip like 1.2.3.4

A Question:  Is the way to transfer these policy to DB ?  Something like this: 
        user connects to the 1.2.3.4 by proxy request, then squid looks to DB (by ext_acl ) if there is ip 1.2.3.4 there and if it does  - that this acl will be triggered and ip will be used as outgoing_ip for this transaction.


Case2: 
Also I use the random mechanism of squid to rotate the external IP of the users. This works well. But I would to transfer this policy to the DB also. May be somehow to use the ext_acl that will get the answer like an IP address and use this IP in the tcp_ougoing address option. 
Is there way to implement that?  

Thank you 

Alex Gru


         
_______________________________________________
squid-users mailing list
squid-users@xxxxxxxxxxxxxxxxxxxxx
https://lists.squid-cache.org/listinfo/squid-users

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

  Powered by Linux