On 10/7/2013 6:08 PM, Nico Pagliaro wrote:
> Tom that's the problem, I don't know how to solve this and I don't know if I 
> can do it. 

If you don't try, then it is certain that you will not do it.

You *cannot* use PREROUTING marking rules for QOS if you have more than
one provider. I recommend that you use POSTROUTING.

One more time:

Put this in shorewall.conf

        PROVIDER_OFFSET=8

In your providers file, put this:

#NAME   NUMBER     MARK     DUPLICATE   INTERFACE       GATEWAY
ISP1         1     0x100    main        eth0            xxx.xxx..x..
ISP2         2     0x200    main        eth5            xxx.xxx.x.x.x.

Now, configure traffic shaping avoiding any rules in PREROUTING.

-Tom
-- 
Tom Eastep        \ When I die, I want to go like my Grandfather who
Shoreline,         \ died peacefully in his sleep. Not screaming like
Washington, USA     \ all of the passengers in his car
http://shorewall.net \________________________________________________

Attachment: signature.asc
Description: OpenPGP digital signature

------------------------------------------------------------------------------
October Webinars: Code for Performance
Free Intel webinars can help you accelerate application performance.
Explore tips for MPI, OpenMP, advanced profiling, and more. Get the most from 
the latest Intel processors and coprocessors. See abstracts and register >
http://pubads.g.doubleclick.net/gampad/clk?id=60134071&iu=/4140/ostg.clktrk
_______________________________________________
Shorewall-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/shorewall-users

Reply via email to