<font color='black' size='2' face='Arial, Helvetica, sans-serif'>I just tried the same configuration on my Windows machine and it works fine. Must be some Linux networking getting in the way. <br>
I tried a few things, if I use another interface's IP address for tcp_outgoing_address on my Linux machine then web pages don't load. If I use the same IP as I connect to Squid then it works.
<div><br>
</div>

<div>But on Windows, I can connect to one ip and have an IP of another interface for tcp_outgoing_address and the outgoing traffic works as expected<br>
<br>

<div style="font-family:arial,helvetica;font-size:10pt;color:black">-----Original Message-----<br>
From: Alex Rousskov <rousskov@measurement-factory.com><br>
To: davidjesse091 <davidjesse091@aol.com>; squid-users <squid-users@lists.squid-cache.org><br>
Sent: Fri, Jun 15, 2018 7:01 pm<br>
Subject: Re: [squid-users] iptables setup for tcp_outgoing_address<br>
<br>
On 06/15/2018 04:42 PM, <a href="mailto:davidjesse091@aol.com">davidjesse091@aol.com</a> wrote:<br>
<br>
> I want to connect to Squid proxy using 192.168.1.212 and if I am<br>
> connecting using port 11000, <br>
<br>
I assume you meant "connecting to port 11000" (there is also the client<br>
source port, but it should not matter here).<br>
<br>
<br>
> I want squid to have the traffic go out of the 172.16.11.107 IP<br>
<br>
<br>
> http_port 11000 name=port_11000<br>
> acl port_11000_acl myportname port_11000<br>
> tcp_outgoing_address 172.16.11.107 port_11000_acl<br>
<br>
Looks good to me, provided all your outgoing traffic goes to IPv4<br>
addresses (no IPv6).<br>
<br>
<br>
> What would I need to do with iptables to make this work?<br>
<br>
Why do you think you need iptables? What does not work if you do not use<br>
IP tables?<br>
<br>
<br>
Alex.<br>
</div>
</div>
</font>