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
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 > mailman.ds9a.nl/cgi-bin/mailman/listinfo/lartc >_______________________________________________ LARTC mailing list LARTC@mailman.ds9a.nl mailman.ds9a.nl/cgi-bin/mailman/listinfo/lartc