[prev in list] [next in list] [prev in thread] [next in thread]
List: lartc
Subject: Re: [LARTC] Cant get transparent proxy to route out new ISP.
From: "Andrei Sandu" <sandu.andrei () gmail ! com>
Date: 2006-10-13 7:04:36
Message-ID: c0f5026d0610130004m2a38c2b0g95a8672215ba9d4d () mail ! gmail ! com
[Download RAW message or body]
[Attachment #2 (multipart/alternative)]
You can do that by inserting this into your squid.conf configuration file:
tcp_outgoing_address IP
Note, that the IP you put there is the IP assigned by the ISP you want to
route the proxy traffic through.
You should also have :
ip rule from IP table DSL_ISP_TABLE_NAME
to route packets from that IP by looking up this table:
ip r a default via XX.XX.XX.XX table DSL_ISP_TABLE_NAME
where you specify the default gateway provided by your second ISP.
Hope this will help you,
Andrei Sandu.
On 10/3/06, Brent Clark <bclark@eccotours.co.za> wrote:
>
> Hi all
>
> Could someone please me with my current setup.
>
> I just got another DSL line and I have my routing and marking the packets
> etc so that I can decided the fate as to which ISP I would like to route my
> traffic out of etc.
>
> 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
> send traffic out the new ISP.
>
> 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.
>
> 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.
>
> Kinds Regards and thank you in advance.
>
> Brent Clark
>
>
> _______________________________________________
> LARTC mailing list
> LARTC@mailman.ds9a.nl
> http://mailman.ds9a.nl/cgi-bin/mailman/listinfo/lartc
>
[Attachment #5 (text/html)]
<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> \
<<a href="mailto:bclark@eccotours.co.za">bclark@eccotours.co.za</a>> 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 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>
_______________________________________________
LARTC mailing list
LARTC@mailman.ds9a.nl
http://mailman.ds9a.nl/cgi-bin/mailman/listinfo/lartc
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic