Home
Help
Search
Login
Register
OPNsense Forum
»
English Forums
»
General Discussion
»
Traffic Shaper - Limit download per destination IP
« previous
next »
Print
Pages: [
1
]
Author
Topic: Traffic Shaper - Limit download per destination IP (Read 2016 times)
masgo
Newbie
Posts: 3
Karma: 0
Traffic Shaper - Limit download per destination IP
«
on:
August 22, 2019, 11:01:35 am »
I am using OPNsense 19.7.2 and would like to limit the traffic of one specific host (192.168.200.50) within my LAN. This host connects to multiple destinations via WEB or VPN and downloads things from there. I want to limit the traffic it produces at each destination to 250 kbit/s. The reason is that otherwise the host could saturate the available bandwidth at the destination and I can not enforce the limit at the destination.
Example:
if it connects to 192.168.1.1, 192.168.1.2, 192.168.2.1 and 192.168.2.2 the traffic at each of these nodes should be 250 kbit/s for a total traffic of 1000 kbit/s at 192.168.200.50.
Bonus:
This host shares the internet connection with other hosts. It would be great if it's traffic could get the lowest priority possible (whild still enforcing the limit above).
Logged
masgo
Newbie
Posts: 3
Karma: 0
Re: Traffic Shaper - Limit download per destination IP
«
Reply #1 on:
August 22, 2019, 09:39:12 pm »
I found a solution.
a) create a pipe.
bw: 250 kbit/s
Mask: source
b) create a rule
interface: the corresponding interface
source: any.
destication: the host (192.168.200.50)
target: the pipe from (a)
Since there are multiple VLANs locally, where BW is not an issue, I actually used an inverted entry for "source" to exclude all local networks.
Logged
Print
Pages: [
1
]
« previous
next »
OPNsense Forum
»
English Forums
»
General Discussion
»
Traffic Shaper - Limit download per destination IP