Re: Traffic prioritization inside VPN

2020-01-02 Thread Jordan Geoghegan
On 2020-01-02 11:13, Radek wrote: what about working directly on rsync side, specifying the maximum transfer rate? (--bwlimit option) Setting the hard transfer rate/limit on the rsync side is not what I need. I want my boxes to be able to use whole available bandwidth anytime. I mean if oth

Re: Traffic prioritization inside VPN

2020-01-02 Thread Radek
> what about working directly on rsync side, specifying the maximum > transfer rate? (--bwlimit option) Setting the hard transfer rate/limit on the rsync side is not what I need. I want my boxes to be able to use whole available bandwidth anytime. I mean if other services need some bandwitdh the

Re: Traffic prioritization inside VPN

2020-01-02 Thread fRANz
On Thu, Jan 2, 2020 at 3:51 PM radek wrote: > I tried to do it by "catching" this traffic on [fw_rac]/[fw_krz] by specific > rules [1] and setting the lowest priority fot it. > Unfortunately it doesn't seem to work as expected. Bandwidth seems to be > shared roughly equally with other traffic (

Re: Traffic prioritization inside VPN

2020-01-02 Thread infoomatic
I can recommend using queues in pf ... very simple and effective. https://man.openbsd.org/pf.conf#QUEUEING Am 02.01.20 um 15:12 schrieb radek: Hello, I have the following scenario: [box_rac][fw_rac] <--iked site-to-site--> [fw_krz]--[box_krz] [box_rac] pulls (rsync) "big data" from [box

Traffic prioritization inside VPN

2020-01-02 Thread radek
Hello, I have the following scenario: [box_rac][fw_rac] <--iked site-to-site--> [fw_krz]--[box_krz] [box_rac] pulls (rsync) "big data" from [box_krz] through VPN. I need to put this traffic to the total background, making way for any other packets going through VPN, NICs, from/to any other b