I'm trying to setup a squid proxy that will accept multiple inbound
connections on one IPv4 across a range of ports, and for each port
connection to connect out on a unique IPv6 address.
I've named each port connection, and designated an ACL based on the
connection name, and then I've tried to define an outgoing IPv6 for each
name. The script below works, in that it accepts connections on the
different ports and routes out via IPv6 however, all outbound connections
use the same IPv6 (user5) regardless of the inbound port used, even though
there are different ipv6 defined per port/user - the wierd bit is that even
if I comment-out that user5 IPv6 from squid.conf, it still gets used for
outbound connections.
Can anyone see what I've done wrong here? (using Squid 3.1.1 on Centos 6
64bit)
## declare an acl that is true for all ipv6 destinations
acl to_ipv6 dst ipv6
##tell Squid to listen on sequential ports and to designate a name for each
inbound connection.
http_port 241.xxx.xxx.101:3128 name=3128
http_port 241.xxx.xxx.101:3129 name=3129
http_port 241.xxx.xxx.101:3130 name=3130
http_port 241.xxx.xxx.101:3131 name=3131
http_port 241.xxx.xxx.101:3132 name=3132
## 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 [2001:::::::ipv61] user1
tcp_outgoing_address [2001:::::::ipv62] user2
tcp_outgoing_address [2001:::::::ipv63] user3
tcp_outgoing_address [2001:::::::ipv64] user4
##tcp_outgoing_address [2001:::::ipv65] user5
##this last IPv6 always gets used for all outbound connections, even if
commented out
-- View this message in context: http://squid-web-proxy-cache.1019090.n4.nabble.com/Squid-how-to-link-inbound-IPv4-multiple-port-connections-to-unique-outbound-IPv6-s-tp4660190.html Sent from the Squid - Users mailing list archive at Nabble.com.Received on Wed May 22 2013 - 08:47:51 MDT
This archive was generated by hypermail 2.2.0 : Wed May 22 2013 - 12:00:07 MDT