Take the 2-minute tour ×
Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

I am looking for some policy routing script for linux that isn't a part of a firewall, there are tools like shorewall and others but I prefer something more simple.

I only need a script that can set a per-service preference on one of my two upstream connections, and failover nicely when one of the connections is down.

So far I could only find a script called netsane that can be found at google code (http://code.google.com/p/netsane/) and it's more or less what I need but it looks a bit abandoned. The script is largely based on this tutorial from Larc Does anyone know about more alternatives for this?

share|improve this question
    
For anyone interested into this, I jumped into the code and made some contributions to the original source, it should work better with recent systems (I am trying it with debian squeeze) –  Aseques Feb 9 '12 at 10:20

1 Answer 1

You may take a look at IGNWTools, which has some routing-policy for Chinese users, including ISP-based routes and anti-censorship routes, may help you as examples :)

share|improve this answer
    
After reading about that tool, it seems to me that it'd be complicated to adapt to my environment. –  Aseques Feb 6 '12 at 13:41
    
:( so hope you'll find something more appropriate –  Felix Yan Feb 6 '12 at 15:35

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.