[squid-users] squid ipv6 outgoing addresses from ipv4 incoming traffic

Ahmed Allzaeem ahmed.zaeem at netstream.ps
Wed Oct 8 16:14:22 UTC 2014


Hi Amos ,
Im using 3.4.3

The below config with me didn’t work.
The config that worked was using the directive :

acl drx proxy_auth [-i] drx


this directive could match the user name with acl that I need,

then I can use the acl drx in the outgoing address.

All other solutins has failed.

Again , thanks you for helping

regards

-----Original Message-----
From: Amos Jeffries [mailto:squid3 at treenet.co.nz] 
Sent: Tuesday, October 7, 2014 10:51 PM
To: Ahmed Allzaeem; squid-users at lists.squid-cache.org
Subject: Re: [squid-users] squid ipv6 outgoing addresses from ipv4 incoming traffic

I should work, I recently used exactly that type of config with a client.

Can you try to use the latest stable (3.4.8) please, and add "debug_options, 28,3" to your squid.conf for a trace of what ACLs are being checked.

Amos

On 8/10/2014 9:53 a.m., Ahmed Allzaeem wrote:
> I just have one final question , I want to use tcp outgoing ipv6 based 
> on user authentication I mean if user A ==>ipv61 If user B ==<ipv62
> 
> And so on ,
> Actually I had treid but no luck , I have two users (Drvirus) & (drx) 
> all the time they go  out from
> 
> I have configured ACL user access but not sure if im wrong !
> 
> Thos user are stored in etc/squid/squid_user I created two of them here !
> 
> So now I use port 64000 and enter users drvirusx & drx but both go out 
> from 2a01:7e00:e000:eb::dddd I belkive they dhould go out from
> 2a01:7e00:e000:eb::1111 & 2a01:7e00:e000:eb::2222
> 
> Can u have a look when u have time ???
> 
> Here is my last config
> =============
> 
> 
> auth_param basic children 20
> auth_param basic realm Linux Class
> auth_param basic program /lib/squid/basic_ncsa_auth 
> /etc/squid/squid_user auth_param basic credentialsttl 2 hours 
> auth_param basic casesensitive off ### acl classx proxy_auth REQUIRED
> 
> http_access allow classx
> # Recommended minimum configurat
> 
> # Squid normally listens to port 3128
> http_port xxx:64000
> #######################users acls########### acl drvirus note user 
> drvirus acl drx note user drx # Uncomment and adjust th;e following to 
> add a disk cache directory.
> #cache_dir ufs /var/cache/squid 100 16 256
> 
> # Leave coredumps in the first cache dir tcp_outgoing_address 
> 2a01:7e00:e000:eb::1111 drvirus tcp_outgoing_address 
> 2a01:7e00:e000:eb::2222 drx ===============================
> 



More information about the squid-users mailing list