<br>You can do that by inserting this into your squid.conf configuration file:<br><br>tcp_outgoing_address IP<br><br>Note, that the IP you put there is the IP assigned by the ISP you want to route the proxy traffic through.
<br>You should also have : <br><br>ip rule from IP table DSL_ISP_TABLE_NAME<br><br>to route packets from that IP by looking up this table:<br><br>ip r a default via XX.XX.XX.XX table DSL_ISP_TABLE_NAME<br><br>where you specify the default gateway provided by your second ISP.
<br><br>Hope this will help you,<br>Andrei Sandu.<br><br><div><span class="gmail_quote"><br>On 10/3/06, <b class="gmail_sendername">Brent Clark</b> &lt;<a href="mailto:bclark@eccotours.co.za">bclark@eccotours.co.za</a>&gt; wrote:
</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">Hi all<br><br>Could someone please me with my current setup.<br><br>I just got another DSL line and I have my routing&nbsp;&nbsp;and marking the packets etc so that I can decided the fate as to which ISP I would like to route my
<br>traffic out of etc.<br><br>I managed to get squid to be used as a trasparent proxy, but im forced to use the default gw of the machine and for the likes of my I cant figure out to<br>send traffic out the new ISP.<br><br>
So my question / request for help is, Would anyone please advise me as to how I can choose what ISP I can route my transparent proxy.<br><br>I was thinking that maybe it is a POSTROUTING marking that I need to do, and the the routing tables will take care of the rest.
<br><br>Kinds Regards and thank you in advance.<br><br>Brent Clark<br><br><br>_______________________________________________<br>LARTC mailing list<br><a href="mailto:LARTC@mailman.ds9a.nl">LARTC@mailman.ds9a.nl</a><br><a href="http://mailman.ds9a.nl/cgi-bin/mailman/listinfo/lartc">
http://mailman.ds9a.nl/cgi-bin/mailman/listinfo/lartc</a><br></blockquote></div><br>