[squid-users] squid ipv6 outgoing addresses from ipv4 incoming traffic
Amos Jeffries
squid3 at treenet.co.nz
Tue Oct 7 02:40:24 UTC 2014
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
On 7/10/2014 9:53 p.m., Ahmed Allzaeem wrote:
> Hi ,
>
> I have 1 single ipv4 ip and have many ipv6 ips
>
> I need to listen on the ipv4 on many ports
>
> As an example
>
> 1.1.1.1:40000
>
> 1.1.1.1:40001
>
> 1.1.1.1:40002
>
>
>
> In corresponding I need each ipv4:port to be tcp_outgoing to
> different ipv6 address
>
> I have about 3 ips.
>
>
>
> Can I know why the config below is wrong ???
The myportname is the string value of the http_port first parameter by
default.
>
> http_port 241.xxx.xxx.101:40001
default name: 241.xxx.xxx.101:40001
> http_port 241.xxx.xxx.101:40002
>
> http_port 241.xxx.xxx.101:40003
>
>
So you need:
acl user1 myportname 241.xxx.xxx.101:40001
acl user2 myportname 241.xxx.xxx.101:40002
acl user3 myportname 241.xxx.xxx.101:40003
Amos
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.22 (MingW32)
iQEcBAEBAgAGBQJUM1KXAAoJELJo5wb/XPRjOKYIAMPO5rrXnhkrQXS6yi8hX2eX
3RPxOAPal6cdXq3H0+c1EUXanO5gr6rbGl+fXOtx1hypl52eLKORHf+Ct+UyVK2x
BRtKi9pkDzXwqnK8WbEUVEuCyV1mBg40jjcwsCUFOzukile8R6cRG3ytHMzjXTjI
b+SDgW+4y2BszCUMSdnu39TsaEgxxnWCHSdA46F2S2H6xYDHjJJokuXjqM6Bo4lg
X5ySficDEv2dFSrOjehw7As7uj0pX/e+2G3qI9RciNCH+rJrPJ0xd2m38/FZ/wdV
pHOhm/osmrHApWTpTFHBU9onUwPiKg3HO9yDbprteZ7KyLFu5hh2UDNFveAABn4=
=gWb4
-----END PGP SIGNATURE-----
More information about the squid-users
mailing list