netbalancer with connbytes

This topic contains 1 reply, has 0 voices, and was last updated by  sgala 5 years, 5 months ago.

Viewing 1 post (of 1 total)
  • Author
    Posts
  • #43680

    sgala
    Member

    Hi!
    I have two upstream links
    A – HDSL 2Mbit with 10ms of latency
    B – Satellite 20Mbit with 600ms of latency
    (I’m doing NAT on A and B interfaces on zeroshell.)

    I would like to balance the traffic between two link with a latency/bandwidth logic.

    Force the latency greedy traffic like ssh/voip/mynetworks is simple by creating the correct rules on link A.

    and…I would like to route the heavy usage bandiwidth traffic like youtube, videos, downloads, etc.. over the link B.

    I thought to create a rule like this:
    MARK all opt — in * out * 0.0.0.0/0 -> 0.0.0.0/0 connbytes 102400 connbytes mode bytes connbytes direction both MARK set 0x66

    so every connection of more of 100K should be forwarded over the link B.

    This is not working as expected, what do you think?

    Should I use a different strategy to reach my goal?

    Thanks!

    Have a nice day,

    Matteo

Viewing 1 post (of 1 total)

You must be logged in to reply to this topic.