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

Ahmed Allzaeem ahmed.zaeem at netstream.ps
Tue Oct 7 20:53:54 UTC 2014


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
===============================

-----Original Message-----
From: squid-users [mailto:squid-users-bounces at lists.squid-cache.org] On Behalf Of Ahmed Allzaeem
Sent: Tuesday, October 7, 2014 1:48 PM
To: 'Amos Jeffries'
Cc: squid-users at lists.squid-cache.org
Subject: Re: [squid-users] squid ipv6 outgoing addresses from ipv4 incoming traffic

Hi Amos , thank you so much for help ......its working with me now !!!

I just added http_port directive for the other ports and its okay now 

Thanks a lot for your time
regards
:)


regards

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

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On 8/10/2014 8:28 a.m., Ahmed Allzaeem wrote:
> Hi AMOS , I think there were an issue with brackets of ipv6 and I 
> removed it.

Good. Yes, brackets are only valid if it is potentially an ip:port pair.

(When I get time I will look into why squid is not accepting them anyway.)


> The squid.conf file is as : ======================================
> http_port 64000 http_port 40001 http_port 40002 acl user1 myportname
> xxx.41.9:40001 acl user2 myportname xxxx.41.9:40002 
> tcp_outgoing_address 2a01:7e00:e000:eb::aaaa user1 
> tcp_outgoing_address 2a01:7e00:e000:eb::bbbb user2 
> ============================================
> 
> 
> 
> But I still cant access the ipv6 with the correct tcp_out addfresss ??


Look back at what I said.

> The myportname is the string value of the http_port first parameter
by default.
> 


Amos
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.22 (MingW32)

iQEcBAEBAgAGBQJUM8RkAAoJELJo5wb/XPRjkwkIAJ6IeFn+xs9O1run4Rd63aSO
buQW9JwZmW+JwbcuF4RnPXihvUfBm4ZxiYFAuvaixJmexR6pcI5oCuHGROGnLMvQ
E6i7WFiDMhJZreqi5AoRfZfxFyyeAVMbET4FXKnSpctfm9LlvoIRB4v0J/fXg8dT
xI1MWw7yqOopwebEza8K/ci7VZ+EuQFyLHsKUF3gm1yJeNL0X0qoUH6vlZLXq9HE
bNmKIveIeZontNcxiKiSH7Oo0m+4MJAMDkOOuEUFESS6meZi21ZkokepR6nr17KS
y2LF0we7yH87q60o12SGWSASM/TzLLRqja50F0Gv7MRQl2SAAOgRa1TOf9zfO3M=
=6WS4
-----END PGP SIGNATURE-----

_______________________________________________
squid-users mailing list
squid-users at lists.squid-cache.org
http://lists.squid-cache.org/listinfo/squid-users



More information about the squid-users mailing list