<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40"><head><meta http-equiv=Content-Type content="text/html; charset=us-ascii"><meta name=Generator content="Microsoft Word 15 (filtered medium)"><style><!--
/* Font Definitions */
@font-face
{font-family:"Cambria Math";
panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
{font-family:Calibri;
panose-1:2 15 5 2 2 2 4 3 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
{margin:0cm;
margin-bottom:.0001pt;
font-size:11.0pt;
font-family:"Calibri","sans-serif";
mso-fareast-language:EN-US;}
a:link, span.MsoHyperlink
{mso-style-priority:99;
color:#0563C1;
text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
{mso-style-priority:99;
color:#954F72;
text-decoration:underline;}
span.EstiloDeEmail17
{mso-style-type:personal-compose;
font-family:"Calibri","sans-serif";
color:windowtext;}
.MsoChpDefault
{mso-style-type:export-only;
font-family:"Calibri","sans-serif";
mso-fareast-language:EN-US;}
@page WordSection1
{size:612.0pt 792.0pt;
margin:70.85pt 3.0cm 70.85pt 3.0cm;}
div.WordSection1
{page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]--></head><body lang=PT-BR link="#0563C1" vlink="#954F72"><div class=WordSection1><p class=MsoNormal><span lang=EN-US>Hi folks,<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US>Great job you are doing on the Squid Project!!!<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US><o:p> </o:p></span></p><p class=MsoNormal><span lang=EN-US>I have a Squid setup I am using as proxy for over a year now all working just fine;)<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US><o:p> </o:p></span></p><p class=MsoNormal><span lang=EN-US>Now I am implementing IPV6 as outgoing_address. So a customer enters with an IPV4 and is routed out via IPV6 like below in squid.conf:<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US><o:p> </o:p></span></p><p class=MsoNormal><span lang=EN-US>http_port 182.XX.XX.97:4444 name=166<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US>acl ip166 myportname 166<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US>tcp_outgoing_address XXXX:XXXX:XXX::7bb<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US><o:p> </o:p></span></p><p class=MsoNormal><span lang=EN-US>The issue is when I verify IP leads to avoid proxy detection using websites like https://ipleak.net it shows both IPs, IPV4 and IPV6.<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US>I need it to show only IPV6.<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US>I am using this setup to access just one IPV6 service and in the future my plans are to access IPV4 websites too.<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US><o:p> </o:p></span></p><p class=MsoNormal><span lang=EN-US>I am using squid 4.8 on Ubuntu 18.04.3 recently upgraded from version 16.04.<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US>As the upgrade did not enabled netplan, I am still using the /etc/network/interfaces legacy as below:<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US><o:p> </o:p></span></p><p class=MsoNormal><span lang=EN-US><o:p> </o:p></span></p><p class=MsoNormal>auto lo<o:p></o:p></p><p class=MsoNormal>iface lo inet loopback<o:p></o:p></p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal><span lang=EN-US>auto eth0<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US>iface eth0 inet6 static<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US>address XXXX:XXXX:XXX::6CA<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US>netmask 64<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US>broadcast XXXX:XXXX:XXX::6CA<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US>gateway XXXX:XXXX:XXX::1<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US><o:p> </o:p></span></p><p class=MsoNormal><span lang=EN-US>dns-nameservers 2620:119:35::35 2606:4700:4700::1111<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US><o:p> </o:p></span></p><p class=MsoNormal><span lang=EN-US>#---------------------------------------------------------<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US><o:p> </o:p></span></p><p class=MsoNormal><span lang=EN-US>auto eth0:1<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US>iface eth0:1 inet static<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US>address 182.XX.XX.97<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US>netmask 255.255.255.0<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US>broadcast 182.XX.XX.97<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US>gateway 182.XX.XX.254<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US><o:p> </o:p></span></p><p class=MsoNormal><span lang=EN-US><o:p> </o:p></span></p><p class=MsoNormal><span lang=EN-US>auto eth0:2<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US>iface eth0:2 inet6 static<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US>address XXXX:XXXX:XXX::7BB<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US>netmask 64<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US>broadcast XXXX:XXXX:XXX::7BB<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US>gateway XXXX:XXXX:XXX::1<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US><o:p> </o:p></span></p><p class=MsoNormal><span lang=EN-US>Any ideas about how to make Squid shows only the IPV6 from tcp_outgoing_address?<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US><o:p> </o:p></span></p><p class=MsoNormal><span lang=EN-US>Thanks in advance for all the help!<o:p></o:p></span></p><p class=MsoNormal><span style='mso-fareast-language:PT-BR'>Marcelo Rodrigo<o:p></o:p></span></p></div></body></html>