Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions doc/examples/mlvpn.conf.in
Original file line number Diff line number Diff line change
Expand Up @@ -95,6 +95,8 @@ bindport = 5080
#bindfib = 0
#remotehost = "10.2.3.4"
#remoteport = 5080
## Bandwidth of this link, in bytes/s. If not specified, each link will only
## receive as much traffic as the slowest link can handle.
#bandwidth_upload = 61440
#timeout = 25

Expand Down
4 changes: 4 additions & 0 deletions doc/source/what_is_mlvpn.rst
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,10 @@ Limitations

Non equivalent links (3G/4G and *DSL or WIFI and *DSL)
======================================================

Note: make sure you set the bandwidth_upload on each link, otherwise each link
will only receive as much traffic as the slowest link can handle.

mlvpn can aggregate very different links if reordering is enabled.

If you have a high latency 3G/4G link and a DSL connection, then
Expand Down
6 changes: 5 additions & 1 deletion man/mlvpn.conf.5.ronn
Original file line number Diff line number Diff line change
Expand Up @@ -122,7 +122,11 @@ The section name is mapped to the tunnel name. Example: "[adsl1]", "[adsl2]".
Bandwidth is specified in Bytes (1 KiB is 1024 Bytes).

This is used to setup the weighted round-robin balancing algorithm.
Set 0 if both links are similar. (client/server)

If not specified, each link will only receive as much traffic as the
slowest link can handle.

Set to 0 if both links have the same bandwidth. (client/server)

- _timeout_ = 25
Override **[general]** timeout for this link. (client/server)
Expand Down
2 changes: 1 addition & 1 deletion src/control.c
Original file line number Diff line number Diff line change
Expand Up @@ -425,7 +425,7 @@ void mlvpn_control_write_status(struct mlvpn_control *ctrl)
t->recvpackets,
t->sentbytes,
t->recvbytes,
0,
t->bandwidth,
(uint32_t)t->srtt,
mlvpn_loss_ratio(t),
t->disconnects,
Expand Down