<html>
  <head>
    <meta content="text/html; charset=UTF-8" http-equiv="Content-Type">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    On 19.08.2017 04:03, <a class="moz-txt-link-abbreviated" href="mailto:davidjesse091@aol.com">davidjesse091@aol.com</a> wrote:
    <blockquote
      cite="mid:15df83ab028-c03-1f46@webjas-vaa154.srv.aolmail.net"
      type="cite">
      <meta http-equiv="Context-Type" content="text/html; charset=utf-8">
      <span>I'm trying to connect to Squid with one IPv4 IP and based on
        the port I'm connecting with, I want Squid to use a different
        IPv6 IP for the connection.</span>
      <div><br>
      </div>
      <div><span>Below is my config file</span></div>
      <div><span><br>
        </span></div>
      <div>
        <pre><code>acl SSL_ports port 443
acl Safe_ports port 80
acl Safe_ports port 21
acl Safe_ports port 443
acl Safe_ports port 70
acl Safe_ports port 210
acl Safe_ports port 1025-65535
acl Safe_ports port 280
acl Safe_ports port 488
acl Safe_ports port 591
acl Safe_ports port 777
acl CONNECT method CONNECT
http_access deny !Safe_ports
http_access deny CONNECT !SSL_ports
http_access allow localhost manager
http_access deny manager
http_access allow localhost
#http_access deny all
http_port 3128
coredump_dir /var/spool/squid
refresh_pattern ^ftp:           1440    20%     10080
refresh_pattern ^gopher:        1440    0%      1440
refresh_pattern -i (/cgi-bin/|\?) 0     0%      0
refresh_pattern .               0       20%     4320

# Allow all machines to all sites
http_access allow all

#Privacy Things
via off
forwarded_for off
follow_x_forwarded_for deny all


## designate acl based on inbound connection name
acl user1 myportname 3128
acl user2 myportname 3129
acl user3 myportname 3130
acl user4 myportname 3131
acl user5 myportname 3132

## define outgoing IPv6 per user
tcp_outgoing_address 2000:3c03:e000:25f::1:0 user1
tcp_outgoing_address 2000:3c03:e000:25f::1:1 user2
tcp_outgoing_address 2000:3c03:e000:25f::1:2 user3
tcp_outgoing_address 2000:3c03:e000:25f::1:3 user4
tcp_outgoing_address 2000:3c03:e000:25f::1:4 user5</code></pre>
      </div>
      <div><span><br>
        </span></div>
      <div><span><br>
        </span></div>
      <div><span>The issue I'm facing is that I can only use the proxy
          with port 3128, and it does proxy it to
          "2000:3c03:e000:25f::1:0" as it should. But if I use port 3129
          then I can not connect to the proxy.</span><span><br>
        </span></div>
    </blockquote>
    because you only have <br>
    http_port 3128<br>
    you also need <br>
    http_port 3129<br>
    http_port 3130<br>
    http_port 3131<br>
    http_port 3132<br>
    and in case there is a firewall, these ports must be open, too ...<br>
    <br>
    by the way this setting only makes sense, when there is a
    restriction, that only a specific IP can use port 3128,<br>
    a specific IP can use port 3129, ....<br>
    need not be IPv4 can also be IPv6 ...<br>
    <br>
    Walter<br>
  </body>
</html>