This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

Source route work, but how with proxy?

Hy everybody!
I have found an interesting HOWTO: Linux Advanced Routing & Traffic Control Howto, based on iproute2 used by ASL.
Here it is where you can find it: http://lartc.org/#download

With it I was been able to configure my ASL sò that I can decide, using only one external Nic and two internet provider, which pc of my internal LAN can use one link and which one can use the other. 

I wrote in  /sbin/init.d/ the file routes.local with this commands:
# My pc 192.168.100.223 must use rule set on table 200:
ip rule add from 192.168.100.223 table 200
# Now I set the default gw for table 200 that is my second provider (no the default one for eth1).
ip route add default via 192.168.101.2 dev eth1 table 200
ip route flush cache

Sò I tried traceroute from my pc and...Wow!!!! it worked!

But there is still a little problem....
We use http proxy server for user authentication.
And when I use the the proxy it will work only on the first internet provider!!!   
I tried with and without NAT...

Anyone have a good idea?
Thanks guys!
Anty. 
    


This thread was automatically locked due to age.
Parents
  • Hey guys!
    No one can help me?

    I can do the tricks without the proxy if someone need help...

    But wiht proxy no! 

    No idea?
    Anty.  
  • Hi,
    if i understand you correct than you have set for your pc to use a special route, but if you use the proxy its the proxy wich connects to the internet so you must set sourcerouting options for the proxy to, or connect  directly to the internet if you dont want every user of the proxy to use your second internetconnection.

    firebear   
Reply
  • Hi,
    if i understand you correct than you have set for your pc to use a special route, but if you use the proxy its the proxy wich connects to the internet so you must set sourcerouting options for the proxy to, or connect  directly to the internet if you dont want every user of the proxy to use your second internetconnection.

    firebear   
Children