[squid-users] Question : Squid and iptables

2008-06-25 Thread Murat Ugur EMINOGLU

Dear all,

I have a linux server and 3 ethernet card installed and squid is working 
this server.
I m using two ADSL lines. I m sharing these ADSL lines with iproute. But 
i have a problem.
ADSL1 and ADSL2 users has a same real ip address. All 80 port request 
exit the one ADSL line.

What kind of routing am i making this protocols (iptables and squid)?

Thanks, regards.
--
#!/bin/bash

Murat Ugur EMINOGLU

www.fedoraturkiye.com
www.murat.ws
liste[at]fedoraturkiye.com



Re: [squid-users] Question : Squid and iptables

2008-06-25 Thread Indunil Jayasooriya

 I have a linux server and 3 ethernet card installed and squid is working
 this server.
 I m using two ADSL lines. I m sharing these ADSL lines with iproute. But i
 have a problem.
 ADSL1 and ADSL2 users has a same real ip address. All 80 port request exit
 the one ADSL line.
 What kind of routing am i making this protocols (iptables and squid)?

Do you want to route port 80 (web) traffic via one ADSL line?

the rest of traffcie via the other?

if so, iptables and ip route2 can do it.

then, you nerd policy routing.


-- 
Thank you
Indunil Jayasooriya