mirror of
https://github.com/orbien-org/orbien.git
synced 2026-09-25 00:01:36 +00:00
1.2 KiB
1.2 KiB
sidebar_position, sidebar_label, title
| sidebar_position | sidebar_label | title |
|---|---|---|
| 4 | Bandwidth Limit | Bandwidth Limit |
Bandwidth Limit
Limit forwarded bandwidth per tunnel. Configure it under transport on [[tunnels]].
bandwidthLimitSide = "client": limit on the clientbandwidthLimitSide = "server": limit on the server
bandwidth is a number in Mbps (e.g. 2, 0.5). 0 means unlimited.
Example: Limit on the client
# orbien.toml
[[tunnels]]
name = "web"
protocol = "tcp"
service = "127.0.0.1:80"
remotePort = 9000
transport.bandwidth = 2
transport.bandwidthLimitSide = "client"
Example: Limit on the server
# orbien.toml
[[tunnels]]
name = "web"
protocol = "tcp"
service = "127.0.0.1:80"
remotePort = 9000
transport.bandwidth = 0.5
transport.bandwidthLimitSide = "server"
Parameters
| Parameter | Required | Default | Description |
|---|---|---|---|
transport.bandwidth |
No | 0 |
Bandwidth cap (Mbps); 0 means unlimited |
transport.bandwidthLimitSide |
No | client |
Limit side: client / server |