<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title><![CDATA[Squid tcp_outgoing_address]]></title><description><![CDATA[<p dir="auto">hello every1,</p>
<p dir="auto">i am using squid 2.7.9 on pfsense 2.1 with multiple WANs.</p>
<p dir="auto">i want squid to use not the default gateway but a different wan.<br />
using the squid custom-configuration:```<br />
tcp_outgoing_address "WAN2 IP"</p>
<pre><code class="language-works">but my problem is, that the ip of WAN2 changes every 24 hours.
is there any opportunity of telling squid to use a specific interface instead of IP - address?

i appreciate any help!</code></pre>
]]></description><link>https://forum.netgate.com/topic/67367/squid-tcp_outgoing_address</link><generator>RSS for Node</generator><lastBuildDate>Tue, 17 Nov 2026 11:11:51 GMT</lastBuildDate><atom:link href="https://forum.netgate.com/topic/67367.rss" rel="self" type="application/rss+xml"/><pubDate>Wed, 02 Apr 2014 12:31:24 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Squid tcp_outgoing_address on Thu, 24 Apr 2014 11:29:51 GMT]]></title><description><![CDATA[<p dir="auto">@user1378:</p>
<blockquote>
<p dir="auto">hello every1,</p>
<p dir="auto">i am using squid 2.7.9 on pfsense 2.1 with multiple WANs.</p>
<p dir="auto">i want squid to use not the default gateway but a different wan.<br />
using the squid custom-configuration:```<br />
tcp_outgoing_address "WAN2 IP"</p>
<pre><code class="language-works">but my problem is, that the ip of WAN2 changes every 24 hours.
is there any opportunity of telling squid to use a specific interface instead of IP - address?

i appreciate any help!
</code></pre>
</blockquote>
<p dir="auto">Hello,</p>
<p dir="auto">have you set some particular setting on squid to get this working?<br />
I have done lots of tests, but i always see that squid only uses the default router, and ignores the secondary wan…unless you set the "allow default gateway switching" on the advanced tab.<br />
If that box is checked, and the default gateway is down, the traffic is correctly routed to the second wan.</p>
<p dir="auto">I would like to be able to route a specific client/subnet through the secondary link, even if the primary is up (active/active configuration).</p>
<p dir="auto">Is there any way to get this working?</p>
<p dir="auto">Edoardo</p>
]]></description><link>https://forum.netgate.com/post/457670</link><guid isPermaLink="true">https://forum.netgate.com/post/457670</guid><dc:creator><![CDATA[edosselio]]></dc:creator><pubDate>Thu, 24 Apr 2014 11:29:51 GMT</pubDate></item><item><title><![CDATA[Reply to Squid tcp_outgoing_address on Tue, 15 Apr 2014 12:15:03 GMT]]></title><description><![CDATA[<p dir="auto">no :-(</p>
<p dir="auto">i did the following workaround:</p>
<p dir="auto">set the default gateway to the interface, which u want squid to use. after that, i forwarded all other traffic over the other wan thru firewalls rules.</p>
<p dir="auto">works for me.</p>
]]></description><link>https://forum.netgate.com/post/455525</link><guid isPermaLink="true">https://forum.netgate.com/post/455525</guid><dc:creator><![CDATA[[[global:former-user]]]]></dc:creator><pubDate>Tue, 15 Apr 2014 12:15:03 GMT</pubDate></item><item><title><![CDATA[Reply to Squid tcp_outgoing_address on Fri, 11 Apr 2014 06:33:08 GMT]]></title><description><![CDATA[<p dir="auto">Did you have any solution for this? Facing the same problem at the moment.</p>
]]></description><link>https://forum.netgate.com/post/454500</link><guid isPermaLink="true">https://forum.netgate.com/post/454500</guid><dc:creator><![CDATA[Verfriemelt]]></dc:creator><pubDate>Fri, 11 Apr 2014 06:33:08 GMT</pubDate></item></channel></rss>